National Records of Scotland

Preserving the past, Recording the present, Informing the future

Scottish Postcode Directory (SPD)

Scottish Postcode Directory (SPD)

The Scottish Postcode Directory (SPD) has been compiled for users by our Geography team. It relates both live and deleted postcodes in Scotland to a range of statutory, administrative, electoral and other area geographies. More information on postcodes is available on our Policies and Information Notes page.

The SPD is made up of two key files:

  • Postcode Index
    A file containing both live and deleted postcodes assigned to a variety of geographical areas in Scotland. This Index is accompanied by a database containing various look-up tables to higher geographical areas.
  • Postcode Boundaries
    A file containing a digital boundary for every live postcode corresponding with the Postcode Index.

Note – the version of the SPD provided online does not include Royal Mail information on Delivery Point Count (DPC), Delivery Point Count Non-Residential (DPCNR) or Household Count (HC). If you require this information please contact our Geography Customer Services at the e-mail address below.


The Postcode Index is freely available as CSV files or as an Access database. Postcode boundaries are available to all members of the Public Sector Geospatial Agreement (PGSA) (Ordnance Survey website) only. They are provided in Esri Shapefile format. The postcode data can be downloaded directly from our website or provided on CD from our Geography Customer Services.
E-mail: [email protected]

Scottish Postcode Directory files

The Scottish Postcode Directory files contains postcode boundaries, index files, metadata and guidance notes.

Latest 2024-1
Previous 2023-2
Archive 2012-2 onwards

Supporting Information