Maine county FIPS codes
Every Maine county FIPS code with name, type, area, centre point and ZIP count, as CSV, Excel or JSON. Updated 19 November 2026.
Maine counties and FIPS codes
Maine has state FIPS code 23, and this list has 16 counties and county equivalents: 16 counties. Each full FIPS code joins the state code and a three-digit county code, so Androscoggin County is 23001: 23 for Maine and 001 for the county.
By area the largest is Aroostook at about 17,767 km² (6,860 sq mi) and the smallest is Sagadahoc at about 610 km² (236 sq mi); the counties add up to about 84,256 km². Cumberland has the most ZIP codes assigned to it (52).
All 16 counties
| FIPS | Name | Type | Area km² | Latitude | Longitude | ZIP codes |
|---|---|---|---|---|---|---|
| 23001 | Androscoggin County | County | 1,287 | 44.137415 | -70.202635 | 24 |
| 23003 | Aroostook County | County | 17,767 | 46.837434 | -68.43902 | 44 |
| 23005 | Cumberland County | County | 2,429 | 43.819144 | -70.399565 | 52 |
| 23007 | Franklin County | County | 4,581 | 44.909144 | -70.410032 | 20 |
| 23009 | Hancock County | County | 4,319 | 44.71639 | -68.264695 | 43 |
| 23011 | Kennebec County | County | 2,456 | 44.37206 | -69.850814 | 34 |
| 23013 | Knox County | County | 953 | 44.168222 | -69.195997 | 20 |
| 23015 | Lincoln County | County | 1,194 | 44.141109 | -69.529684 | 28 |
| 23017 | Oxford County | County | 5,659 | 44.424527 | -70.750778 | 32 |
| 23019 | Penobscot County | County | 9,223 | 45.343132 | -68.542206 | 47 |
| 23021 | Piscataquis County | County | 11,331 | 45.85889 | -69.274079 | 12 |
| 23023 | Sagadahoc County | County | 610 | 44.033593 | -69.940656 | 9 |
| 23025 | Somerset County | County | 10,685 | 45.504072 | -70.130532 | 26 |
| 23027 | Waldo County | County | 1,971 | 44.478044 | -69.145599 | 20 |
| 23029 | Washington County | County | 7,195 | 44.970279 | -67.645219 | 32 |
| 23031 | York County | County | 2,596 | 43.485559 | -70.714437 | 42 |
No row matches. Clear the filter to see all.
File: maine-county-fips-codes.csv
Using FIPS codes
FIPS codes are the join key for most US county data, from Census population tables to election results and BLS unemployment files. Store them as five-character text even though Maine's codes start with 2: codes in states such as Alabama (01) and California (06) start with 0, and a number column drops that zero as soon as you combine states.
-- add county names to any table that has a 5-digit fips column
SELECT d.*, c.name AS county_name
FROM my_data d
LEFT JOIN county_fips c ON c.fips = d.fips
WHERE c.state = 'ME';In Excel, build the 5-digit code from two parts with =TEXT(A2,"00")&TEXT(B2,"000"), where A2 is the state code (23) and B2 the county code.
Where the data comes from
Names, types, areas and centre points come from Natural Earth's 1:10m admin-2 counties (version 5.1.1, public domain). We checked every FIPS code against the GeoNames admin-2 list: 16 of 16 match. ZIP counts come from the GeoNames postal code file on the Maine ZIP code page.
Data dictionary
| Column | Type | Meaning |
|---|---|---|
| fips | text | Five-digit county FIPS code |
| state_fips | text | Two-digit state FIPS code |
| county_fips | text | Three-digit county code within the state |
| name | text | Short name |
| full_name | text | Name with its type, e.g. 'Kent County' |
| type | text | County, Parish, Borough, City, Census Area, Planning Region… |
| state | text | Two-letter state code |
| state_name | text | State name |
| area_sq_km | number | Area in km² (Natural Earth; rounded) |
| latitude | number | Centre point latitude (Natural Earth) |
| longitude | number | Centre point longitude (Natural Earth) |
| zip_codes | number | ZIP codes assigned to it in the GeoNames postal list |
| wikidata_id | text | Wikidata item, for linking to other data |