Skip to content

National Statistics Postcode Products

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.

Product details

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, MS ACCESS 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.

MS ACCESS - 'mdb' file extension, compatible with all releases of MS ACCESS

DBF - Dbase IV format data, with column headings

Availability and cost

Products are available either on CD (zipped) or DVD (unzipped) via the Postcode Products Order Form (see Downloads) at a cost of £200 + VAT for 4 quarterly supplies, or as a download free of charge.

All files are zipped.

Choose format to download
ONSPD text (47.59 Mb ZIP) csv (52.59 Mb ZIP) MS Access (68.05 Mb ZIP) dbf (47.6 Mb ZIP)
NSPL text (72.68 Mb ZIP) csv (76.58 Mb ZIP) MS Access (105.93 Mb ZIP) dbf (72.58 Mb ZIP)
Content from the Office for National Statistics.
© Crown Copyright applies unless otherwise stated.