Boundary-Line is a free digital dataset produced by Ordnance Survey that provides detailed mapping of administrative and electoral boundaries across Great Britain. It covers England, Scotland and Wales, and is updated annually to reflect changes resulting from local government reorganisations, boundary reviews and electoral ward alterations. The dataset is widely used by public sector organisations, businesses, researchers and anyone who needs to understand how the country is divided for governance, planning or statistical purposes.
What is Boundary-Line?
Boundary-Line contains the definitive digital representation of the boundaries that define the administrative and electoral geography of Great Britain. This includes boundaries for countries, regions, counties, unitary authorities, districts, metropolitan boroughs, London boroughs, wards, civil parishes, and community councils, as well as electoral boundaries for Westminster constituencies, Scottish Parliament constituencies and regions, Welsh Assembly constituencies and electoral regions, and European electoral regions prior to Brexit. The data is supplied in a range of formats including shapefile and GeoPackage, and is available under the Open Government Licence, making it free to use for both commercial and non-commercial purposes. Ordnance Survey maintains Boundary-Line in conjunction with the Office for National Statistics, local authorities and electoral boundary commissions to ensure it remains accurate and current.
Where it sits in the UK postcode and geography system
In the context of the UK's geographic hierarchy, Boundary-Line provides the spatial framework that links postcodes to larger administrative areas. While postcodes themselves are managed by Royal Mail and grouped into postcode areas, districts and sectors, Boundary-Line allows you to determine which local authority, ward, constituency or region a given postcode falls within. This is achieved by performing point-in-polygon analysis: each postcode has a grid reference, and that point can be matched against the boundary polygons in Boundary-Line to assign the relevant administrative codes. The Office for National Statistics publishes a lookup table called the National Statistics Postcode Lookup (NSPL) that directly links postcodes to many of the boundaries in Boundary-Line, but the dataset itself is the authoritative source for the geometry of those boundaries.
How Boundary-Line relates to postcodes and addresses specifically
For anyone working with postcodes or addresses, Boundary-Line is essential for answering questions such as: which local authority is responsible for a particular street? Which parliamentary constituency covers that postcode? Which ward is it in for local elections? It is also used to assign geographic identifiers like the local authority district code (LAD), ward code (WD), and parliamentary constituency code (PCON) to address records. Many geocoding services and address databases rely on Boundary-Line to enrich address data with administrative and electoral information. Without this dataset, it would be impossible to map postcodes accurately to the correct local government or electoral boundaries, especially as those boundaries change over time.
Why Boundary-Line matters to someone researching an area
Researchers analysing a specific location or region benefit from Boundary-Line because it provides the official, consistent set of boundaries needed to aggregate data or compare areas. For example, if you are studying demographic trends, you might want to see how population changes differ between wards. Boundary-Line ensures that the ward boundaries you use match the ones used by the census and other official statistics. It also helps with planning applications, property searches, and local services analysis. By overlaying postcode data on Boundary-Line polygons, you can see precisely which areas fall within a new parliamentary constituency or a proposed neighbourhood plan. The dataset is also crucial for electoral purposes, such as determining which polling district a household belongs to.
In summary, Boundary-Line is the foundational geographic layer for understanding how Great Britain is organised administratively and electorally, and it forms a vital link between postcodes, addresses and the official areas that govern public services, representation and statistics.



