DataBrighten

    Pennsylvania county FIPS codes

    67counties · state FIPS 42

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

    textnumberdateyes/no
    State FIPS42Pennsylvania
    Counties67counties
    LargestLycoming3,215 km²
    LicencePublic domainNatural Earth

    Pennsylvania counties and FIPS codes

    Pennsylvania has state FIPS code 42, and this list has 67 counties and county equivalents: 67 counties. Each full FIPS code joins the state code and a three-digit county code, so Adams County is 42001: 42 for Pennsylvania and 001 for the county.

    By area the largest is Lycoming at about 3,215 km² (1,241 sq mi) and the smallest is Montour at about 344 km² (133 sq mi); the counties add up to about 117,319 km². Allegheny has the most ZIP codes assigned to it (142).

    All 67 counties

    FIPSNameTypeArea km²LatitudeLongitudeZIP codes
    42001Adams CountyCounty1,34339.873879-77.21779418
    42003Allegheny CountyCounty1,92040.473631-79.975441142
    42005Armstrong CountyCounty1,71540.792099-79.46768327
    42007Beaver CountyCounty1,15440.684267-80.35014720
    42009Bedford CountyCounty2,63740.00101-78.49702724
    42011Berks CountyCounty2,24040.406708-75.88176253
    42013Blair CountyCounty1,35940.46508-78.34540316
    42015Bradford CountyCounty2,99341.781631-76.51480725
    42017Bucks CountyCounty1,61640.409483-75.19591167
    42019Butler CountyCounty2,05840.913179-79.92571337
    42021Cambria CountyCounty1,78840.500045-78.71750452
    42023Cameron CountyCounty1,03241.387588-78.1353
    42025Carbon CountyCounty1,00140.894755-75.70885616
    42027Centre CountyCounty2,88340.95223-77.87102431
    42029Chester CountyCounty1,99039.989808-75.74648763
    42031Clarion CountyCounty1,57541.171869-79.4001929
    42033Clearfield CountyCounty2,99540.985855-78.51925148
    42035Clinton CountyCounty2,31741.293073-77.67687613
    42037Columbia CountyCounty1,26941.052059-76.40075711
    42039Crawford CountyCounty2,69841.668132-80.10688721
    42041Cumberland CountyCounty1,44340.150605-77.25455421
    42043Dauphin CountyCounty1,40040.425539-76.80102541
    42045Delaware CountyCounty46639.936676-75.37008154
    42047Elk CountyCounty2,15541.440088-78.61438714
    42049Erie CountyCounty2,08242.012137-79.99588146
    42051Fayette CountyCounty2,09539.904363-79.6473961
    42053Forest CountyCounty1,11741.529295-79.2357557
    42055Franklin CountyCounty2,00439.929994-77.71659231
    42057Fulton CountyCounty1,13839.912686-78.10929711
    42059Greene CountyCounty1,47539.864481-80.22743923
    42061Huntingdon CountyCounty2,31640.304233-78.03380227
    42063Indiana CountyCounty2,08840.658436-79.05500445
    42065Jefferson CountyCounty1,70041.13356-79.00423923
    42067Juniata CountyCounty1,02240.558032-77.40602111
    42069Lackawanna CountyCounty1,20341.472825-75.60847832
    42071Lancaster CountyCounty2,47340.045759-76.20499473
    42073Lawrence CountyCounty93740.989973-80.33424119
    42075Lebanon CountyCounty93940.360956-76.48353618
    42077Lehigh CountyCounty90340.616216-75.59710934
    42079Luzerne CountyCounty2,35141.152607-75.98884156
    42081Lycoming CountyCounty3,21541.310101-77.10403222
    42083McKean CountyCounty2,54741.814112-78.56884419
    42085Mercer CountyCounty1,76841.305424-80.26137520
    42087Mifflin CountyCounty1,06840.642742-77.59426911
    42089Monroe CountyCounty1,58541.060292-75.33628834
    42091Montgomery CountyCounty1,23340.20661-75.36783183
    42093Montour CountyCounty34441.034048-76.6795763
    42095Northampton CountyCounty97840.7287-75.31284929
    42097Northumberland CountyCounty1,17740.818311-76.67412525
    42099Perry CountyCounty1,43940.405704-77.25593114
    42101Philadelphia CountyCounty35540.003111-75.16996385
    42103Pike CountyCounty1,48341.33077-74.99865314
    42105Potter CountyCounty2,80041.737468-77.89589111
    42107Schuylkill CountyCounty2,02540.74117-76.13741158
    42109Snyder CountyCounty88440.773898-77.06391115
    42111Somerset CountyCounty2,81439.959171-78.99856540
    42113Sullivan CountyCounty1,17341.425887-76.5120079
    42115Susquehanna CountyCounty2,15041.82045-75.80099826
    42117Tioga CountyCounty2,93941.771721-77.25422921
    42119Union CountyCounty85640.977395-77.05049414
    42121Venango CountyCounty1,76841.395971-79.78356114
    42123Warren CountyCounty2,33441.813539-79.27369420
    42125Washington CountyCounty2,22040.179985-80.25825757
    42127Wayne CountyCounty1,98541.662718-75.27448926
    42129Westmoreland CountyCounty2,78240.318544-79.46118185
    42131Wyoming CountyCounty1,04941.513948-76.0219149
    42133York CountyCounty2,45839.917016-76.75843649

    File: pennsylvania-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 Pennsylvania's codes start with 4: 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 = 'PA';

    In Excel, build the 5-digit code from two parts with =TEXT(A2,"00")&TEXT(B2,"000"), where A2 is the state code (42) 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: 67 of 67 match. ZIP counts come from the GeoNames postal code file on the Pennsylvania 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