Download UK Postcodes with Latitude and Longitude

Download a list of UK out code postcodes with their latitude and longitude coordinates.


UK and Northern Ireland Postcodes

The UK postal system uses postcodes to help with automating the sorting and delivery of mail. This is made up of a 2-part code, an out code and an in code. As the out code is the most significant part of the system, it can be used to obtain a rough area level break up of the UK. There are approximately 2971 out codes and approximately 1.74M full postcodes (out code + in code).


The uses of these out codes and lat/long values include mapping applications such as:

List Status

Outcode Postcodes Current List : 2974

Full UK Postcode Current List : 1741532

Non Geographic Postcodes

Non geographic postcodes are listed below. Note these will have a latitude and longitude of an empty string

AB99, BT58, CA99, CM92, CM98, CR44, CR90, GIR, IM99, IV99, JE5, M61, ME99, N1C, N81, NR99, NW26, PA80, PE99, RH77, SL60, SO97, SW95, SY99, WD99, WF90


Full UK Postcode Latitude Longitude Download

Outcode Area Postcodes (AB1,B2,BT7 etc..)

Contains Ordnance Survey data © Crown copyright and database right 2017

Contains Royal Mail data © Royal Mail copyright and database right 2017

Contains National Statistics data © Crown copyright and database right 2017

Using This Data

To import to a web based MySQL database we would recommend BigDump: Staggered MySQL Dump Importer

Relevant Links

Version History

Comments For This Page

Great resource! Just to let you know the latest versions of MYSQL have strict mode set as default. So the entries with latitude and longitude of an empty string will throw an error. My solution was to search and replace '' ----> '0' Before attempting an import.
By Gary on 3rd October 2019

Sorry ... we have been making updates to the data but failing to keep the Version History updated. Last update was 12th July this year.
By Free Map Tools on 24th September 2019

Hiya - there's a number of new postcodes now which don't exist in the database as it's a few years out of date. Any news on when a new update will come out?
On 24th September 2019

Hi Paul, L2 7XS appears to a terminated postcode. So used previously, but no longer in use.
By Free Map Tools on 19th September 2019

Hi, I'm finding a few postcodes which don't seem to exist in the dataset such as L2 7XS? Any idea why they maybe missing? Much appreciate your work on this!
By Paul on 19th September 2019

Hi Rich, Our current records show NP7 1AG is an inactive (old) postcode. Also Royal Mail Postcode finder doesn't list it. Do you know if it has been reissued / new?
By Free Map Tools on 23rd June 2019

Hi, It appears the NP71AG postcode is missing, is a new release due at any point? Thanks
By Rich on 23rd June 2019

Julia, we have just pushed an update. Dated November 2018. Please try again and if you still have some not found's can you give an example?
By Free Map Tools on 20th March 2019

Hi, is the postcode database up to date? There seems to be lots of new postcodes that are not included in the downloadable version.
By Julia on 20th March 2019

Hi David, can you confirm you are using the page : Find UK Postcodes Inside a Radius?
By Free Map Tools on 12th December 2018

how do you perform a post codes inside a radius search in the uk it was easy before now it seems much harder
By David on 12th December 2018

Hi there; the update says: "22nd October 2008 - Added some Isle of Man and Jersey Postcodes" However, I've just downloaded the latest (2017) CSV and can't seem to find any IMx postcode at all?
By Jonathan on 10th November 2018

L13 1* at id's starting 957753 (row 910161)
By Free Map Tools on 17th September 2018

G53 6* are found in ukpostcodes.csv starting at id 1149531 (row 1093414)
By Free Map Tools on 17th September 2018

The CSV download is missing postcodes in the G53 6* and L13 1* ranges
On 29th August 2018

How can I obtain a postcode for a property that no longer exists.
By Carol on 22nd June 2018

Would it be possible to include the Town name associated to the postcodes please ?
On 19th June 2018

Where do I find postcode -coordinates for Isle of Man, Gibraltar, Jersey etc?
By Jesper on 2nd June 2018

Could you include postcode town and county in the postcode table?
By Francis on 18th March 2018

Hi, great, many thanks
By Kate on 13th March 2018

Showing the most recent 20 out of 242 comments. Click to see all the comments.

Add your own comment below and let others know what you think:


Your Name (optional)