The ONS Postcode Directory (ONSPD) is a key ONS Geography product and is used by a variety of customers, including central and local government, private industry and academia.
It links all current and terminated UK postcodes to the administrative, health and other geographic areas in which each postcode falls.
Users should note that postcodes that straddle two geographic areas will be assigned to the area where the mean grid reference of all the addresses within the postcode falls.
The ONSPD is a Gridlink® branded product that pulls together data from members of the Gridlink® Consortium (Royal Mail, Ordnance Survey, National Records of Scotland, Land & Property Services (Northern Ireland) and ONS).
The National Statistics Postcode Look-up (NSPL) should be used by producers of National Statistics to allocate their source statistics at postcode level to a wide range of higher geographies.
The NSPL does this by allocating UK postcodes to output areas (OA). These OAs are then referenced to a wide range of higher geographies, for example local authorities, by a best-fit methodology that uses census population data.
The methodology used within the NSPL to allocate postcodes to higher geographies is different from that used in the ONS Postcode Directory. See 'download' panel for further details.
Two NSPL versions are available - one based on 2001 output areas and one based on 2011 Census output areas. Both are included in the NSPL download.
Information on the latest postcode changes is available on the Royal Mail website.
The ONSPD and NSPL are available at 1 metre resolution with UK coverage.
Postcode products are released quarterly in February, May, August and November and are available to download (please see Availability and cost below).
ONS Intellectual Property in the postcode products is supplied under Open Government Licence terms (see Related Links). Please note that additional licence terms apply to Northern Ireland data contained in the products and this data is supplied under a Land & Property Services (LPS) End User Licence (Related Links). Customers wishing to use Northern Ireland data for commercial purposes should contact LPS directly to obtain the appropriate licence.
Postcode products are provided in all the following formats: TXT, CSV and DBF.
Version Notes and a User Guide, providing additional information about the products, are included with the data.
TXT - fixed record length with no text qualifiers and no column headings.
CSV - Variable record length with data items delimited by commas and qualified with double quotes. No column headings.
DBF - Dbase IV format data, with column headings
Availability and cost
Products are available either as a download free of charge, or on CD (zipped) or DVD (unzipped) via the Postcode Products Order Form (see Downloads) at a cost of £50 + VAT per CD / DVD in line with the ONS charging policy.
All download files are zipped.