Guide · updated 2026-09-30
FIPS codes explained
Short answer
How the codes are built
The codes began as Federal Information Processing Standards. Census now publishes them as ANSI codes and calls the combined value a GEOID, but most people still say FIPS. The 5 digit county code is the key that joins Census, BLS, CDC, and many other county tables.
There are 51 state-level codes for the 50 states and DC, and 3,144 county-level codes in the 2024 data. State codes run from 01 to 56 with gaps, so a state's code is not its position in the alphabet.
| Code | State | Abbr. | County-equivalents |
|---|---|---|---|
| 01 | Alabama | AL | 67 |
| 02 | Alaska | AK | 30 |
| 04 | Arizona | AZ | 15 |
| 05 | Arkansas | AR | 75 |
| 06 | California | CA | 58 |
| 08 | Colorado | CO | 64 |
| 09 | Connecticut | CT | 9 |
| 10 | Delaware | DE | 3 |
| 11 | District of Columbia | DC | 1 |
| 12 | Florida | FL | 67 |
| 13 | Georgia | GA | 159 |
| 15 | Hawaii | HI | 5 |
| 16 | Idaho | ID | 44 |
| 17 | Illinois | IL | 102 |
| 18 | Indiana | IN | 92 |
| 19 | Iowa | IA | 99 |
| 20 | Kansas | KS | 105 |
| 21 | Kentucky | KY | 120 |
| 22 | Louisiana | LA | 64 |
| 23 | Maine | ME | 16 |
| 24 | Maryland | MD | 24 |
| 25 | Massachusetts | MA | 14 |
| 26 | Michigan | MI | 83 |
| 27 | Minnesota | MN | 87 |
| 28 | Mississippi | MS | 82 |
| 29 | Missouri | MO | 115 |
| 30 | Montana | MT | 56 |
| 31 | Nebraska | NE | 93 |
| 32 | Nevada | NV | 17 |
| 33 | New Hampshire | NH | 10 |
| 34 | New Jersey | NJ | 21 |
| 35 | New Mexico | NM | 33 |
| 36 | New York | NY | 62 |
| 37 | North Carolina | NC | 100 |
| 38 | North Dakota | ND | 53 |
| 39 | Ohio | OH | 88 |
| 40 | Oklahoma | OK | 77 |
| 41 | Oregon | OR | 36 |
| 42 | Pennsylvania | PA | 67 |
| 44 | Rhode Island | RI | 5 |
| 45 | South Carolina | SC | 46 |
| 46 | South Dakota | SD | 66 |
| 47 | Tennessee | TN | 95 |
| 48 | Texas | TX | 254 |
| 49 | Utah | UT | 29 |
| 50 | Vermont | VT | 14 |
| 51 | Virginia | VA | 133 |
| 53 | Washington | WA | 39 |
| 54 | West Virginia | WV | 55 |
| 55 | Wisconsin | WI | 72 |
| 56 | Wyoming | WY | 23 |
How county numbers are ordered
County codes are mostly odd numbers that roughly follow the alphabetical order of the county names. The data shows how far that pattern holds today. Of 3,093 county-level codes outside independent cities, Connecticut and DC, 3,060 (98.9%) are odd.
In 24 of the 49 states with more than one county and no planning regions, sorting by code gives exactly the alphabetical order of the names. In the rest, at least one county is out of order, so never guess a code from a name; look it up.
Codes of the ten most populous counties
| County | State code | County code | Full FIPS |
|---|---|---|---|
| Los Angeles County, CA | 06 | 037 | 06037 |
| Cook County, IL | 17 | 031 | 17031 |
| Harris County, TX | 48 | 201 | 48201 |
| Maricopa County, AZ | 04 | 013 | 04013 |
| San Diego County, CA | 06 | 073 | 06073 |
| Orange County, CA | 06 | 059 | 06059 |
| Miami-Dade County, FL | 12 | 086 | 12086 |
| Dallas County, TX | 48 | 113 | 48113 |
| Kings County, NY | 36 | 047 | 36047 |
| Riverside County, CA | 06 | 065 | 06065 |
Independent cities, Alaska, and Connecticut
Independent cities have county-level codes of 500 and above, for example Richmond city, Virginia (51760), distinct from Richmond County (51159). In Alaska, the Census Bureau split the Valdez-Cordova Census Area (02261) into Chugach (02063) and Copper River (02066) effective January 2, 2019.
Connecticut's former counties used 09001 to 09015. In 2022 the Census Bureau adopted the state's nine councils of governments as county-equivalents, and current data uses planning region codes 09110 to 09190. Files from before and after the change will not join on county codes.
Joining spreadsheets on FIPS
Store codes as text so leading zeros survive: Alabama's Autauga County is 01001. In Excel use =TEXT(A2,"00000") to repair a column that lost its zeros. Match on the 5 digit code, not the name, since names repeat within a state and vary in spelling. The common county names guide shows how often names repeat across states.
Checking a column of codes
A few rules catch most bad codes. Every county code is five digits. The first two digits must be a valid state code, and in this data every county code starts with its own state's code. The last three are between 001 and 840, and codes of 500 or more mark independent cities in the four states that have them. Texas also uses codes above 500 for ordinary counties, because it has so many.
If a column has four digit values, it lost a leading zero: the seven states coded 01 to 09, Alabama to Connecticut, are affected, and 318 county codes begin with a zero. If a code does not appear in the current list at all, it may be an older code that changed, such as the Connecticut and Alaska cases below.
Finding a code
The lookup tool below searches all 3,144 codes by county name, state or code. If you know where you are but not the county, the what county am I in tool finds the county from your location and shows its code. Every county page on this site also lists its code in the header.
Try it
County FIPS code lookup
Search 3,144 counties and county-equivalents by name, or paste a 2 or 5 digit code to find the place it belongs to.
| FIPS | County-equivalent | State | 2024 population | |
|---|---|---|---|---|
| 06037 | Los Angeles County | CA | 9,757,179 | |
| 17031 | Cook County | IL | 5,182,617 | |
| 48201 | Harris County | TX | 5,009,302 | |
| 04013 | Maricopa County | AZ | 4,673,096 | |
| 06073 | San Diego County | CA | 3,298,799 | |
| 06059 | Orange County | CA | 3,170,435 | |
| 12086 | Miami-Dade County | FL | 2,838,461 | |
| 48113 | Dallas County | TX | 2,656,028 | |
| 36047 | Kings County | NY | 2,617,631 | |
| 06065 | Riverside County | CA | 2,529,933 | |
| 32003 | Clark County | NV | 2,398,871 | |
| 53033 | King County | WA | 2,340,211 | |
| 36081 | Queens County | NY | 2,316,841 | |
| 48439 | Tarrant County | TX | 2,230,708 | |
| 06071 | San Bernardino County | CA | 2,214,281 | |
| 48029 | Bexar County | TX | 2,127,737 | |
| 12011 | Broward County | FL | 2,037,472 | |
| 06085 | Santa Clara County | CA | 1,926,325 | |
| 26163 | Wayne County | MI | 1,771,063 | |
| 25017 | Middlesex County | MA | 1,668,956 | |
| 36061 | New York County | NY | 1,660,664 | |
| 06001 | Alameda County | CA | 1,649,060 | |
| 06067 | Sacramento County | CA | 1,611,231 | |
| 12099 | Palm Beach County | FL | 1,582,055 | |
| 12057 | Hillsborough County | FL | 1,581,426 | |
| 42101 | Philadelphia County | PA | 1,573,916 | |
| 36103 | Suffolk County | NY | 1,535,909 | |
| 12095 | Orange County | FL | 1,533,646 | |
| 36059 | Nassau County | NY | 1,392,438 | |
| 36005 | Bronx County | NY | 1,384,724 | |
| 48453 | Travis County | TX | 1,363,767 | |
| 39049 | Franklin County | OH | 1,356,303 | |
| 26125 | Oakland County | MI | 1,296,888 | |
| 27053 | Hennepin County | MN | 1,273,334 | |
| 48085 | Collin County | TX | 1,254,658 | |
| 39035 | Cuyahoga County | OH | 1,240,594 | |
| 37183 | Wake County | NC | 1,232,444 | |
| 42003 | Allegheny County | PA | 1,231,814 | |
| 49035 | Salt Lake County | UT | 1,216,274 | |
| 37119 | Mecklenburg County | NC | 1,206,285 |
Questions people ask
Is a FIPS code the same as a GEOID?
For states and counties, yes. GEOID is the Census name for the full identifier, which for a county is the 2 digit state code plus the 3 digit county code.
How many county FIPS codes start with zero?
318 of 3,144, all in states whose code is below 10.
What is a FIPS code?
A numeric code for a US state (2 digits) or county (5 digits, state plus county) used across federal statistical data.
What is my county's FIPS code?
Use the county FIPS lookup on this site, or the What county am I in tool to find it from your location.
Are FIPS codes the same as ZIP codes?
No. ZIP codes are postal delivery routes and do not follow county lines. FIPS codes identify counties and states.
Why are most county codes odd?
Codes mostly run through the alphabet in steps of two from 001, which keeps them odd. 99% of county codes outside independent cities, Connecticut and DC are still odd.
Sources and data as of
Data as of: Census Vintage 2024 population estimates, 2024 Gazetteer land area and internal points, SAIPE 2023 median household income.
- 01Census ANSI and FIPS code lists (last verified 2026-09-30)
- 02Census 2024 Gazetteer, counties
- 03Census Bureau substantial changes to counties (last verified 2026-09-30)
- 04Census Bureau county changes, 2010s (last verified 2026-09-30)
How every number is computed: methodology. Spotted a wrong figure? Report an error.