Skip to content
Find my county

County FIPS codes

A county FIPS code is a 5-digit ID: 2 digits for the state, 3 for the county. State codes, how counties are numbered, recent code changes and a free CSV of all 3,144.

Updated · Data: U.S. Census Bureau · By the CountyFinder editorial desk

A county FIPS code is a 5-digit number that identifies one US county: the first 2 digits are the state, the last 3 the county within it [1]. Harris County, Texas is 48201 (48 = Texas, 201 = Harris). The 2024 Census county file has 3,144 codes for the 50 states and DC [2]; all of them are in the free CSV below.

FIPS codes are how government datasets, mapping tools and spreadsheets agree on which county a row is about, without fighting over spelling (St. Louis or Saint Louis?) or the 31 county-level areas named Washington. If you are joining two datasets, filling in a federal form or building a map, this page explains how the code works, lists every state code, covers the changes that break old files, and gives you the full list.

Key points

  • County FIPS = 2-digit state code + 3-digit county code; 48201 is Harris County, Texas [1].
  • State codes run from 01 (Alabama) to 56 (Wyoming) with gaps: 03, 07, 14, 43, 52 are unused by any state [2].
  • County code 001 is used in 48 states, so the 3-digit part alone is never unique [2].
  • In 40 of 51 states and DC every county code is odd [2].
  • Codes change: Shannon County, SD (46113) became Oglala Lakota County (46102) in 2015 [5].
  • The FIPS 6-4 standard was withdrawn in 2008 (now INCITS 31), but the codes are still called FIPS [3].

What a FIPS code is

FIPS stands for Federal Information Processing Standards, a series of standards the federal government published for data processing. One of them, FIPS 6-4, defined numeric codes for counties and county equivalents [3]. The county code is the number most people mean when they say "FIPS code": it is printed in Census tables, used as the join key in mapping software and asked for on some federal and insurance forms.

The point of the code is that it does not depend on spelling. County names repeat across states and are written in different ways, but a FIPS code names one county and only one.

How the 5 digits are built

The first two digits are the state code and the last three are the county code within that state [1]. Harris County, Texas is 48201: 48 is Texas and 201 is Harris. Because the state prefix is part of it, the 5-digit code is unique in the whole country, while the 3-digit county part is not: county 001 exists in 48 different states [2].

48201State: TexasCounty: Harris= 48201
Anatomy of a county FIPS code [1].

The Census Bureau's county file stores the two parts in fields named STATEFP and COUNTYFP and the joined 5-digit code as GEOID. The same file also has COUNTYNS, an 8-digit ANSI feature code that is a different number (for Harris County, 01383886), and GEOIDFQ, a longer form with a summary-level prefix (0500000US48201) [4]. When a dataset says "county FIPS", it means the 5-digit GEOID.

State FIPS codes

State codes are two digits. They follow the alphabetical order of state names, with DC sorted as "District of Columbia". They run from 01 to 56, but 5 numbers in that range are not used by any state: 03, 07, 14, 43, 52 [2][1]. So a loop from 1 to 51 misses states.

StateCodeCountiesCounty codes
Alabama016701001 to 01133
Alaska023002013 to 02290
Arizona041504001 to 04027
Arkansas057505001 to 05149
California065806001 to 06115
Colorado086408001 to 08125
Connecticut09909110 to 09190
Delaware10310001 to 10005
District of Columbia11111001 to 11001
Florida126712001 to 12133
Georgia1315913001 to 13321
Hawaii15515001 to 15009
Idaho164416001 to 16087
Illinois1710217001 to 17203
Indiana189218001 to 18183
Iowa199919001 to 19197
Kansas2010520001 to 20209
Kentucky2112021001 to 21239
Louisiana226422001 to 22127
Maine231623001 to 23031
Maryland242424001 to 24510
Massachusetts251425001 to 25027
Michigan268326001 to 26165
Minnesota278727001 to 27173
Mississippi288228001 to 28163
Missouri2911529001 to 29510
Montana305630001 to 30111
Nebraska319331001 to 31185
Nevada321732001 to 32510
New Hampshire331033001 to 33019
New Jersey342134001 to 34041
New Mexico353335001 to 35061
New York366236001 to 36123
North Carolina3710037001 to 37199
North Dakota385338001 to 38105
Ohio398839001 to 39175
Oklahoma407740001 to 40153
Oregon413641001 to 41071
Pennsylvania426742001 to 42133
Rhode Island44544001 to 44009
South Carolina454645001 to 45091
South Dakota466646003 to 46137
Tennessee479547001 to 47189
Texas4825448001 to 48507
Utah492949001 to 49057
Vermont501450001 to 50027
Virginia5113351001 to 51840
Washington533953001 to 53077
West Virginia545554001 to 54109
Wisconsin557255001 to 55141
Wyoming562356001 to 56045

Counts are counties and county equivalents in the 2024 file [2]. Puerto Rico and the island areas have their own codes in Census files but are not part of this list.

How county codes are numbered

Within a state, county codes often follow a simple pattern: odd numbers in alphabetical order of county name. In 40 of the 51 states and DC every county code is odd, and in 21 the codes also still run in strict alphabetical order [2]. Elsewhere renamed and newer counties break the pattern: Oglala Lakota County, renamed in 2015, got the even code 46102 [5], which sits between Moody County and Pennington County [2].

Every code odd40Odd and alphabetical21Some even codes11
States and DC by county code pattern (independent cities excluded). Source: Census TIGER/Line 2024 county file, counted by CountyFinder [2].

Two states use blocks of their own. Virginia's 38 independent cities, which are not part of any county, are numbered from 51510 to 51840, after all of the state's counties [2]. Connecticut's nine planning regions use 09110 to 09190, in steps of ten (see below).

Codes that changed

FIPS codes are stable but not permanent. When a county is renamed, split or merged, it can get a new code, and old files keep the old one. The Census Bureau lists these changes [5][6]. Every code change on its lists since 2010 (renames that kept the old code, such as LaSalle Parish, are left out):

Old codeNew codeWhat happened
4611346102Shannon County, South Dakota renamed Oglala Lakota County (May 1, 2015)
0227002158Wade Hampton Census Area, Alaska renamed Kusilvak Census Area (July 1, 2015)
0226102063, 02066Valdez-Cordova Census Area, Alaska split into Chugach and Copper River census areas (January 2, 2019)
5151551019Bedford city, Virginia became a town and joined Bedford County (July 1, 2013)
09001 to 0901509110 to 09190Connecticut's 8 counties replaced by nine planning regions as county equivalents (2020s change list)

Sources: Census Bureau county change lists and the Connecticut crosswalk [5][6][7]. The new codes are all in the 2024 file and the old ones are not [2].

Connecticut's planning regions

Connecticut is the change most likely to trip you up, because it touches every row for the state. Current Census files use nine planning regions, coded 09110 to 09190 (Capitol Planning Region, Greater Bridgeport Planning Region, Lower Connecticut River Valley Planning Region, Naugatuck Valley Planning Region, Northeastern Connecticut Planning Region, Northwest Hills Planning Region, South Central Connecticut Planning Region, Southeastern Connecticut Planning Region, Western Connecticut Planning Region), instead of the 8 old counties, coded 09001 to 09015 [6][2][7]. A dataset built before the switch will not join to a current one by code, and there is no one-to-one match: the regions are groups of towns, and 7 of the 8 old counties have towns in more than one region [7].

The Census Bureau publishes a town-level crosswalk for this [7]. Our Connecticut page lists the nine regions.

Common pitfalls

  • Lost leading zeros. Spreadsheets turn 06037 (Los Angeles County) into 6037 and 01001 into 1001. Format the column as text before pasting, or set the column type to text when you import the CSV.
  • The county part without the state. County 001 is in 48 states [2]. Always keep all five digits.
  • Old codes in old files. Check for 46113, 02270, 02261, 51515 and Connecticut's old county codes before joining an older dataset to a current one [5][6].
  • Mixing up ANSI feature codes. The 8-digit COUNTYNS is not the FIPS code [4].
  • ZIP code to FIPS. A ZIP code can cross county lines, so a ZIP-to-FIPS table has to pick one county or list several. Read ZIP code vs ZCTA before you rely on one.

How to find the FIPS code for an address

For a single place, the coordinates lookup and the county finder show the county's FIPS code with the result; the check runs in your browser and your location is never sent anywhere. For a list of codes, each state page has a sortable table with every county's FIPS code, and the CSV below has all of them.

Download the CSV

One row per county or county equivalent: 5-digit FIPS code, state code, county code, state, county name, type (county, parish, borough and so on), county seat and ACS 2019-2023 population [2][8]. Codes are quoted text so leading zeros survive. The data is public domain (Census) and CC0 (Wikidata county seats); reuse it freely. A link back is appreciated.

Download all 3,144 county FIPS codes (CSV)

Texas only? The Texas county FIPS list has all 254 on one page.

Honest limits

This list follows the Census Bureau's 2024 county file [2]. County seats come from Wikidata and can lag a local change; the county's own website is authoritative. Codes for Puerto Rico and the island areas are not included. For official work, check the current Census code list [1].

Sources

  1. U.S. Census Bureau, ANSI and FIPS codes.
  2. U.S. Census Bureau, TIGER/Line Shapefiles 2024, county layer (counts and LSAD codes computed by CountyFinder).
  3. National Institute of Standards and Technology, Replacement standards for withdrawn FIPS geographic codes (FIPS 6-4 withdrawn September 2, 2008; replaced by INCITS 31).
  4. U.S. Census Bureau, TIGER/Line Shapefiles 2024, national county file tl_2024_us_county (fields STATEFP, COUNTYFP, COUNTYNS, GEOID, GEOIDFQ).
  5. U.S. Census Bureau, Substantial Changes to Counties and County Equivalent Entities: 2010s (Alaska, South Dakota and Virginia entries).
  6. U.S. Census Bureau, Substantial Changes to Counties and County Equivalent Entities (Connecticut, January 2020 entry).
  7. U.S. Census Bureau, Connecticut county to county subdivision crosswalk (old county and new planning region code for every town; counted by CountyFinder).
  8. U.S. Census Bureau, American Community Survey 2019-2023 5-year estimates, table B01003, place and place-within-county (summary level 155).

Method: CountyFinder figures are computed from the files above; see our methodology. This guide is general information, not legal or tax advice.

Keep reading

FAQ

Frequently asked questions

What is a FIPS code?
A numeric code from the Federal Information Processing Standards. For counties it is 5 digits: 2 for the state and 3 for the county [3][1].
What is my county's FIPS code?
Use the county finder or the coordinates lookup: the result includes the FIPS code. Or find your county in the CSV or on your state page.
How many county FIPS codes are there?
3,144 for the 50 states and DC in the 2024 Census county file [2].
Why does my FIPS code start with 0?
States with codes below 10, such as Alabama (01) and California (06), start with a zero. Keep the code as text so the zero is not dropped.
Are FIPS codes still used?
Yes. FIPS 6-4 was withdrawn in 2008 and replaced by INCITS 31, but the same codes are still published and widely called FIPS [3][1].
What happened to FIPS code 46113?
Shannon County, South Dakota was renamed Oglala Lakota County on May 1, 2015 and given code 46102 [5].
What are Connecticut's county FIPS codes now?
Current Census files use nine planning regions, 09110 to 09190, instead of the old county codes 09001 to 09015 [6][2][7].
Can I reuse this list?
Yes. It is built from public-domain Census data and CC0 Wikidata.

Free · No signup · Private

Find your county now

Use your location, a city or a ZIP code. The check runs on your device; your location is never sent or stored.