In 2004 Scotland implemented a new coding and naming policy for Scottish statistical geographies aimed at geographies that are required for government administrative functions, legislation or publication of official statistics.
At the heart of this policy is the concept of a Government Statistical Service (GSS) nine digit alpha-numeric code which is divided into three elements:
| Element | Code | Description |
|---|---|---|
| Country | Letter | S (for Scotland) T, U and V have also been reserved for Scotland |
| Entity | 2 numbers | Geographic area type |
| Instance | 6 numbers | Geographic area |
Some geographies do not respect the border between Scotland and England i.e. the Travel to Work Areas of Berwick-upon-Tweed and Carlisle. These geographies are given a cross-border status country letter of ‘K’.
The principles of the coding and naming system are:
1. The coding is not hierarchical and does not contain embedded intelligence
2. A code can not be re-used
3. A new instance of a geographic area will be created with a new code only when a change occurs to it’s boundary. Not when a name changes.
Scottish register of geographic codes
The GSS codes are published in the Scottish Register of Geographic Codes by Scottish Government’s Digital Directorate. Current geographic area types and instances as of December 2020 are summarised below.
Na h-Eileanan Siar
The coding and naming policy points out that it has been common practice to refer to Na h-Eileanan Siar as Eilean Siar and that this should be stopped as it is not grammatically correct.
A further complication exists in that as of January 1st 1998 the formal legal name of Na h-Eileanan Siar is the similar Na h-Eileanan an Iar. This is used for the Scottish and UK Parliamentary Constituencies.
Code history database
The Office for National Statistics (ONS) holds a UK wide database of changes to the GSS codes in their GSS Code History Database (CHD).
UK context
In 2011 the ONS adopted a similar policy to Scotland called the Coding and Naming Policy for UK Statistical Geographies. They have a useful beginners guide to UK geography and a pack of UK guidance and FAQs.

