A Table That Shows The UK Region For All Postcode Areas

Are you analysing a bunch of addresses, and want to quickly group them into UK regions? That’s what I was doing recently, and did not find it trivially easy.
A quick visit to your favourite search engine will reveal a list of UK post code areas, and their corresponding towns. But that’s not actually as useful as it might seem. Many large towns and cities take their postcode from another large town or city, often in a different county. Basingstoke (Hampshire) has RG postcodes (Reading, Berkshire), for example.
In London, the problem is reversed. The capital has eight of its own postcodes, but the outer London boroughs have their own. Sorting a diverse list of postcodes does not immediately reveal which are ‘London’.
Sometimes it’s better to group locations by broader UK regions. That’s what I wanted to do with a list of over a thousand UK addresses. Eventually I found a site that (in the hope of selling you a handy map) groups all the postcodes by region. I was able to create a lookup table from that information, which I could then use to sort and count the number of addresses in each region.
The table is below.
Meanwhile, I see that Chris ‘Doogal’ Bell has already created a list of all 3,107 postcode districts, along with geographic information for each.

Postcode prefixPostcode districtUK region
ABAberdeenScotland
ALSt. AlbansEast of England
BBirminghamWest Midlands
BABathSouth West
BBBlackburnNorth West
BDBradfordNorth West
BFBritish ForcesNon-geographic
BHBournemouthSouth West
BLBoltonNorth West
BNBrightonSouth East
BRBromleyGreater London
BSBristolSouth West
BTBelfastNorthern Ireland
BXNon-geographicNon-geographic
CACarlisleNorth West
CBCambridgeEast of England
CFCardiffWales
CHChesterNorth West
CMChelmsfordEast of England
COColchesterEast of England
CRCroydonGreater London
CTCanterburySouth East
CVCoventryWest Midlands
CWCreweNorth West
DADartfordGreater London
DDDundeeScotland
DEDerbyEast Midlands
DGDumfriesScotland
DHDurhamNorth East
DLDarlingtonNorth East
DNDoncasterEast Midlands
DTDorchesterSouth West
DYDudleyWest Midlands
ELondonGreater London
ECLondonGreater London
EHEdinburghScotland
ENEnfieldGreater London
EXExeterSouth West
FKFalkirkScotland
FYBlackpoolNorth West
GGlasgowScotland
GIRGirobank HQ, Bootle
Non-geographic
GLGloucesterSouth West
GUGuilfordSouth East
GYGuernseyChannel Islands
HAHarrowGreater London
HDHuddersfieldNorth West
HGHarrogateNorth East
HPHemelEast of England
HRHerefordWest Midlands
HSComhairle nan Eilean SiarScotland
HUHullNorth East
HXHalifaxNorth West
IGIlfordGreater London
IMIsle of ManIsle of Man
IPIpswichEast of England
IVInvernessScotland
JEJerseyChannel Islands
KAKilmarnockScotland
KTKingstonGreater London
KWKirkwallScotland
KYKirkaldyScotland
LLiverpoolNorth West
LALancasterNorth West
LDLlandrindodWales
LELeicesterEast Midlands
LLLlandudnoWales
LNLincolnEast Midlands
LSLeedsNorth East
LULutonEast of England
MManchesterNorth West
MEMedwaySouth East
MKMilton KeynesSouth East
MLMotherwellScotland
NLondonGreater London
NENewcastleNorth East
NGNottinghamEast Midlands
NNNorthamptonWest Midlands
NPNewportWales
NRNorwichEast of England
NWLondonGreater London
OLOldhamNorth West
OXOxfordSouth East
PAPaisleyScotland
PEPeterboroughEast England
PHPerthScotland
PLPlymouthSouth West
POPortsmouthSouth East
PRPrestonNorth West
QCAwarding BodiesNon-geographic
RGReadingSouth East
RHRedhillSouth East
RMRomfordGreater London
SSheffieldEast Midlands
SASwanseaWales
SELondonGreater London
SGStevenageEast of England
SKStockportNorth West
SLSloughSouth East
SMSuttonGreater London
SNSwindonSouth West
SOSouthamptonSouth East
SPSalisburySouth West
SRSunderlandNorth East
SSSouthendEast of England
STStoke on TrentWest Midlands
SWLondonGreater London
SYShrewsburyWales
TATauntonSouth West
TDGalashielsScotland
TFTelfordWest Midlands
TNTonbridgeSouth East
TQTorquaySouth West
TRTruroSouth West
TSClevelandNorth East
TWTwickenhamGreater London
UBSouthallGreater London
WLondonGreater London
WAWarringtonNorth West
WCLondonGreater London
WDWatfordGreater London
WFWakefieldNorth East
WNWiganNorth West
WRWorcesterWest Midlands
WSWalsallWest Midlands
WVWolverhamptonWest Midlands
XXAmazon.com returnsNon-geographic
YOYorkNorth East
ZEShetlandScotland

Update – December 2017

An earlier version of this post used the word ‘districts’ incorrectly. My thanks to commenter ‘Jack’ who writes:

One technical point of order: your mappings are not on postcode ‘districts’; they are post code ‘areas’.
In S40 4BU: Area =S, District = S40, Sector = S40 4, Unit = S40 4BU.
Remember ADSU (“Add Sue”).

Update 2 – April 2018

Per comments from Ruby and Bob I have added East of England as a region. And made the correction of the GIR postcode in response to Hermine’s comment. Following Jose’s comment, and a conversation with Doogal, I’ve actually removed the link to the CSV which assigned regions to each district. First because the link was incorrect, and second because it is possible for postcode districts in the same area to be assigned to different regions. That’s a ‘health warning’ that should accompany the above table.

23 Replies to “A Table That Shows The UK Region For All Postcode Areas”

  1. Thanks for this! However, the link “I’ve added the UK region information to his CSV spreadsheet” is just a .csv copy of the table on this page, not his CSV with your UK regions.
    Thanks for your time!

  2. Thanks very much for your help!
    For the one using the excel file, be aware of this tiny difference
    in the csv:
    GIR Bootle North West
    GIR Non-geographic Non-geographic
    on display:
    IR Non-geographic Non-geographic
    IR Bootle North West

  3. No, but in-day turnaround is unheard of.
    You’ve omitted ‘Yorkshire and the Humber’ in the v2 dataset, all lumped into the ‘North-East’ from the look of it.

  4. Hi. This is very helpful although Yorkshire and the Humber (one of the nine Government regions) appears to be missing? Harrogate (HG) is not typically North East, it’s Yorkshire and the Humber.

    1. Thanks for this. Clearly the ‘regions’ source I had was not up to date. I will correct when I have time. But anyone else wants to send me the corrected data in the meantime I will gladly update.

    1. Thanks for this. The error here is symptomatic of a wider issue, which is that some postcode areas straddle more than one region. So Shrewsbury is certainly in West Midlands but over half the postcode area is in Wales. What’s needed here is a more granular grid, with U.K. statistical regions listed or each postcode district. For now I’m afraid that’s beyond me but it is perhaps something that could be crowdsourced or scraped from reliable data. If anyone has ideas of good sources of data for this then please leave a comment.

  5. Hiya,
    Added in Yorkshire & Humberside as the map that Rob linked to:
    Postcode prefix Postcode district UK region
    AB Aberdeen Scotland
    AL St. Albans East of England
    B Birmingham West Midlands
    BA Bath South West
    BB Blackburn North West
    BD Bradford Yorkshire & Humberside
    BF British Forces Non-geographic
    BH Bournemouth South West
    BL Bolton North West
    BN Brighton South East
    BR Bromley Greater London
    BS Bristol South West
    BT Belfast Northern Ireland
    BX Non-geographic Non-geographic
    CA Carlisle North West
    CB Cambridge East of England
    CF Cardiff Wales
    CH Chester North West
    CM Chelmsford East of England
    CO Colchester East of England
    CR Croydon Greater London
    CT Canterbury South East
    CV Coventry West Midlands
    CW Crewe North West
    DA Dartford Greater London
    DD Dundee Scotland
    DE Derby East Midlands
    DG Dumfries Scotland
    DH Durham North East
    DL Darlington North East
    DN Doncaster Yorkshire & Humberside
    DT Dorchester South West
    DY Dudley West Midlands
    E London Greater London
    EC London Greater London
    EH Edinburgh Scotland
    EN Enfield Greater London
    EX Exeter South West
    FK Falkirk Scotland
    FY Blackpool North West
    G Glasgow Scotland
    GIR Girobank HQ, Bootle Non-geographic
    GL Gloucester South West
    GU Guilford South East
    GY Guernsey Channel Islands
    HA Harrow Greater London
    HD Huddersfield Yorkshire & Humberside
    HG Harrogate Yorkshire & Humberside
    HP Hemel East of England
    HR Hereford West Midlands
    HS Comhairle nan Eilean Siar Scotland
    HU Hull Yorkshire & Humberside
    HX Halifax North West
    IG Ilford Greater London
    IM Isle of Man Isle of Man
    IP Ipswich East of England
    IV Inverness Scotland
    JE Jersey Channel Islands
    KA Kilmarnock Scotland
    KT Kingston Greater London
    KW Kirkwall Scotland
    KY Kirkaldy Scotland
    L Liverpool North West
    LA Lancaster North West
    LD Llandrindod Wales
    LE Leicester East Midlands
    LL Llandudno Wales
    LN Lincoln East Midlands
    LS Leeds Yorkshire & Humberside
    LU Luton East of England
    M Manchester North West
    ME Medway South East
    MK Milton Keynes South East
    ML Motherwell Scotland
    N London Greater London
    NE Newcastle North East
    NG Nottingham East Midlands
    NN Northampton West Midlands
    NP Newport Wales
    NR Norwich East of England
    NW London Greater London
    OL Oldham North West
    OX Oxford South East
    PA Paisley Scotland
    PE Peterborough East of England
    PH Perth Scotland
    PL Plymouth South West
    PO Portsmouth South East
    PR Preston North West
    QC Awarding Bodies Non-geographic
    RG Reading South East
    RH Redhill South East
    RM Romford Greater London
    S Sheffield Yorkshire & Humberside
    SA Swansea Wales
    SE London Greater London
    SG Stevenage East of England
    SK Stockport North West
    SL Slough South East
    SM Sutton Greater London
    SN Swindon South West
    SO Southampton South East
    SP Salisbury South West
    SR Sunderland North East
    SS Southend East of England
    ST Stoke on Trent West Midlands
    SW London Greater London
    SY Shrewsbury Wales
    TA Taunton South West
    TD Galashiels Scotland
    TF Telford West Midlands
    TN Tonbridge South East
    TQ Torquay South West
    TR Truro South West
    TS Cleveland North East
    TW Twickenham Greater London
    UB Southall Greater London
    W London Greater London
    WA Warrington North West
    WC London Greater London
    WD Watford Greater London
    WF Wakefield Yorkshire & Humberside
    WN Wigan North West
    WR Worcester West Midlands
    WS Walsall West Midlands
    WV Wolverhampton West Midlands
    XX Amazon.com returns Non-geographic
    YO York Yorkshire & Humberside
    ZE Shetland Scotland

  6. A couple of comments on this: Halifax is in West Yorkshire (Yorkshire & Humber) and S isn’t all Sheffield or indeed all Yorkshire & Humber, e.g. S40 and S41 are Chesterfield which is Derbyshire (East Midlands)

  7. The website you got your information from has based it’s regions on CCG (clinical commissioning group) regions.
    It is more common to use the NUTS 1 regions, which includes Yorkshire and the Humber.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.