DataBrighten

    Maine county FIPS codes

    16counties · state FIPS 23

    Every Maine county FIPS code with name, type, area, centre point and ZIP count, as CSV, Excel or JSON. Updated 19 November 2026.

    textnumberdateyes/no
    State FIPS23Maine
    Counties16counties
    LargestAroostook17,767 km²
    LicencePublic domainNatural Earth

    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

    FIPSNameTypeArea km²LatitudeLongitudeZIP codes
    23001Androscoggin CountyCounty1,28744.137415-70.20263524
    23003Aroostook CountyCounty17,76746.837434-68.4390244
    23005Cumberland CountyCounty2,42943.819144-70.39956552
    23007Franklin CountyCounty4,58144.909144-70.41003220
    23009Hancock CountyCounty4,31944.71639-68.26469543
    23011Kennebec CountyCounty2,45644.37206-69.85081434
    23013Knox CountyCounty95344.168222-69.19599720
    23015Lincoln CountyCounty1,19444.141109-69.52968428
    23017Oxford CountyCounty5,65944.424527-70.75077832
    23019Penobscot CountyCounty9,22345.343132-68.54220647
    23021Piscataquis CountyCounty11,33145.85889-69.27407912
    23023Sagadahoc CountyCounty61044.033593-69.9406569
    23025Somerset CountyCounty10,68545.504072-70.13053226
    23027Waldo CountyCounty1,97144.478044-69.14559920
    23029Washington CountyCounty7,19544.970279-67.64521932
    23031York CountyCounty2,59643.485559-70.71443742

    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

    ColumnTypeMeaning
    fipstextFive-digit county FIPS code
    state_fipstextTwo-digit state FIPS code
    county_fipstextThree-digit county code within the state
    nametextShort name
    full_nametextName with its type, e.g. 'Kent County'
    typetextCounty, Parish, Borough, City, Census Area, Planning Region…
    statetextTwo-letter state code
    state_nametextState name
    area_sq_kmnumberArea in km² (Natural Earth; rounded)
    latitudenumberCentre point latitude (Natural Earth)
    longitudenumberCentre point longitude (Natural Earth)
    zip_codesnumberZIP codes assigned to it in the GeoNames postal list
    wikidata_idtextWikidata item, for linking to other data