Pennsylvania county FIPS codes
Every Pennsylvania county FIPS code with name, type, area, centre point and ZIP count, as CSV, Excel or JSON. Updated 19 November 2026.
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
| FIPS | Name | Type | Area km² | Latitude | Longitude | ZIP codes |
|---|---|---|---|---|---|---|
| 42001 | Adams County | County | 1,343 | 39.873879 | -77.217794 | 18 |
| 42003 | Allegheny County | County | 1,920 | 40.473631 | -79.975441 | 142 |
| 42005 | Armstrong County | County | 1,715 | 40.792099 | -79.467683 | 27 |
| 42007 | Beaver County | County | 1,154 | 40.684267 | -80.350147 | 20 |
| 42009 | Bedford County | County | 2,637 | 40.00101 | -78.497027 | 24 |
| 42011 | Berks County | County | 2,240 | 40.406708 | -75.881762 | 53 |
| 42013 | Blair County | County | 1,359 | 40.46508 | -78.345403 | 16 |
| 42015 | Bradford County | County | 2,993 | 41.781631 | -76.514807 | 25 |
| 42017 | Bucks County | County | 1,616 | 40.409483 | -75.195911 | 67 |
| 42019 | Butler County | County | 2,058 | 40.913179 | -79.925713 | 37 |
| 42021 | Cambria County | County | 1,788 | 40.500045 | -78.717504 | 52 |
| 42023 | Cameron County | County | 1,032 | 41.387588 | -78.135 | 3 |
| 42025 | Carbon County | County | 1,001 | 40.894755 | -75.708856 | 16 |
| 42027 | Centre County | County | 2,883 | 40.95223 | -77.871024 | 31 |
| 42029 | Chester County | County | 1,990 | 39.989808 | -75.746487 | 63 |
| 42031 | Clarion County | County | 1,575 | 41.171869 | -79.40019 | 29 |
| 42033 | Clearfield County | County | 2,995 | 40.985855 | -78.519251 | 48 |
| 42035 | Clinton County | County | 2,317 | 41.293073 | -77.676876 | 13 |
| 42037 | Columbia County | County | 1,269 | 41.052059 | -76.400757 | 11 |
| 42039 | Crawford County | County | 2,698 | 41.668132 | -80.106887 | 21 |
| 42041 | Cumberland County | County | 1,443 | 40.150605 | -77.254554 | 21 |
| 42043 | Dauphin County | County | 1,400 | 40.425539 | -76.801025 | 41 |
| 42045 | Delaware County | County | 466 | 39.936676 | -75.370081 | 54 |
| 42047 | Elk County | County | 2,155 | 41.440088 | -78.614387 | 14 |
| 42049 | Erie County | County | 2,082 | 42.012137 | -79.995881 | 46 |
| 42051 | Fayette County | County | 2,095 | 39.904363 | -79.64739 | 61 |
| 42053 | Forest County | County | 1,117 | 41.529295 | -79.235755 | 7 |
| 42055 | Franklin County | County | 2,004 | 39.929994 | -77.716592 | 31 |
| 42057 | Fulton County | County | 1,138 | 39.912686 | -78.109297 | 11 |
| 42059 | Greene County | County | 1,475 | 39.864481 | -80.227439 | 23 |
| 42061 | Huntingdon County | County | 2,316 | 40.304233 | -78.033802 | 27 |
| 42063 | Indiana County | County | 2,088 | 40.658436 | -79.055004 | 45 |
| 42065 | Jefferson County | County | 1,700 | 41.13356 | -79.004239 | 23 |
| 42067 | Juniata County | County | 1,022 | 40.558032 | -77.406021 | 11 |
| 42069 | Lackawanna County | County | 1,203 | 41.472825 | -75.608478 | 32 |
| 42071 | Lancaster County | County | 2,473 | 40.045759 | -76.204994 | 73 |
| 42073 | Lawrence County | County | 937 | 40.989973 | -80.334241 | 19 |
| 42075 | Lebanon County | County | 939 | 40.360956 | -76.483536 | 18 |
| 42077 | Lehigh County | County | 903 | 40.616216 | -75.597109 | 34 |
| 42079 | Luzerne County | County | 2,351 | 41.152607 | -75.988841 | 56 |
| 42081 | Lycoming County | County | 3,215 | 41.310101 | -77.104032 | 22 |
| 42083 | McKean County | County | 2,547 | 41.814112 | -78.568844 | 19 |
| 42085 | Mercer County | County | 1,768 | 41.305424 | -80.261375 | 20 |
| 42087 | Mifflin County | County | 1,068 | 40.642742 | -77.594269 | 11 |
| 42089 | Monroe County | County | 1,585 | 41.060292 | -75.336288 | 34 |
| 42091 | Montgomery County | County | 1,233 | 40.20661 | -75.367831 | 83 |
| 42093 | Montour County | County | 344 | 41.034048 | -76.679576 | 3 |
| 42095 | Northampton County | County | 978 | 40.7287 | -75.312849 | 29 |
| 42097 | Northumberland County | County | 1,177 | 40.818311 | -76.674125 | 25 |
| 42099 | Perry County | County | 1,439 | 40.405704 | -77.255931 | 14 |
| 42101 | Philadelphia County | County | 355 | 40.003111 | -75.169963 | 85 |
| 42103 | Pike County | County | 1,483 | 41.33077 | -74.998653 | 14 |
| 42105 | Potter County | County | 2,800 | 41.737468 | -77.895891 | 11 |
| 42107 | Schuylkill County | County | 2,025 | 40.74117 | -76.137411 | 58 |
| 42109 | Snyder County | County | 884 | 40.773898 | -77.063911 | 15 |
| 42111 | Somerset County | County | 2,814 | 39.959171 | -78.998565 | 40 |
| 42113 | Sullivan County | County | 1,173 | 41.425887 | -76.512007 | 9 |
| 42115 | Susquehanna County | County | 2,150 | 41.82045 | -75.800998 | 26 |
| 42117 | Tioga County | County | 2,939 | 41.771721 | -77.254229 | 21 |
| 42119 | Union County | County | 856 | 40.977395 | -77.050494 | 14 |
| 42121 | Venango County | County | 1,768 | 41.395971 | -79.783561 | 14 |
| 42123 | Warren County | County | 2,334 | 41.813539 | -79.273694 | 20 |
| 42125 | Washington County | County | 2,220 | 40.179985 | -80.258257 | 57 |
| 42127 | Wayne County | County | 1,985 | 41.662718 | -75.274489 | 26 |
| 42129 | Westmoreland County | County | 2,782 | 40.318544 | -79.461181 | 85 |
| 42131 | Wyoming County | County | 1,049 | 41.513948 | -76.021914 | 9 |
| 42133 | York County | County | 2,458 | 39.917016 | -76.758436 | 49 |
No row matches. Clear the filter to see all.
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
| 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 |