Platbookmapper County GIS Directory

County facts · Codes · November 17, 2026

County FIPS Codes: How the 5-Digit Code Works

How county FIPS codes work: the 2-digit state code, the 3-digit county code, why most are odd numbers, codes that changed, and a state-by-state table.

VIEW PLATBOOK MAPPER

A county FIPS code is the five-digit number that federal data uses to identify every county and county equivalent in the United States. The first two digits are the state and the last three are the county. Cook County, Illinois is 17031: state 17 (Illinois), county 031 (Cook).

You will see these codes in Census tables, FEMA flood data, election results, parcel data downloads and many county GIS layers. Knowing how they work makes it much easier to join data sets or to check that a record really belongs to the county you think it does.

How the codes are built

The odd-number pattern leaves gaps, and newer counties often fill them. Colorado's Broomfield County, created in 2001, is 08014, between Boulder (08013) and Chaffee (08015). Alaska is the main exception: 24 of its 30 boroughs and census areas have even codes, such as 02020 for Anchorage. Connecticut no longer has a 001 at all; the 9 planning regions that replaced its counties in Census data use 09110 through 09190. The states without a county code ending in 001 are Alaska, Connecticut, South Dakota.

Independent cities get county codes too

Virginia's independent cities are county equivalents with their own codes, all in the 500s and up: Alexandria is 51510 and Winchester is 51840. Virginia has 38 codes of 500 or higher. Baltimore city is 24510, St. Louis city 29510 and Carson City 32510. See our list of all 41 independent cities.

When county codes change

Codes are tied to names, so a rename can bring a new code. Old data keeps the old one, which can break a join between two files from different years. Examples from the Census Bureau's county change notes:

Our post on the newest counties in the US lists every county created or dissolved since 1990.

State FIPS codes and county code ranges

County counts and the first and last code in each state come from the Census Bureau's 2025 Gazetteer county file (3,144 counties and equivalents in the 50 states and DC).

StateAbbr.State FIPSCountiesFirst county codeLast county code
AlabamaAL016701001 Autauga County01133 Winston County
AlaskaAK023002013 Aleutians East Borough02290 Yukon-Koyukuk Census Area
ArizonaAZ041504001 Apache County04027 Yuma County
ArkansasAR057505001 Arkansas County05149 Yell County
CaliforniaCA065806001 Alameda County06115 Yuba County
ColoradoCO086408001 Adams County08125 Yuma County
ConnecticutCT09909110 Capitol Planning Region09190 Western Connecticut Planning Region
DelawareDE10310001 Kent County10005 Sussex County
District of ColumbiaDC11111001 District of Columbia11001 District of Columbia
FloridaFL126712001 Alachua County12133 Washington County
GeorgiaGA1315913001 Appling County13321 Worth County
HawaiiHI15515001 Hawaii County15009 Maui County
IdahoID164416001 Ada County16087 Washington County
IllinoisIL1710217001 Adams County17203 Woodford County
IndianaIN189218001 Adams County18183 Whitley County
IowaIA199919001 Adair County19197 Wright County
KansasKS2010520001 Allen County20209 Wyandotte County
KentuckyKY2112021001 Adair County21239 Woodford County
LouisianaLA226422001 Acadia Parish22127 Winn Parish
MaineME231623001 Androscoggin County23031 York County
MarylandMD242424001 Allegany County24510 Baltimore city
MassachusettsMA251425001 Barnstable County25027 Worcester County
MichiganMI268326001 Alcona County26165 Wexford County
MinnesotaMN278727001 Aitkin County27173 Yellow Medicine County
MississippiMS288228001 Adams County28163 Yazoo County
MissouriMO2911529001 Adair County29510 St. Louis city
MontanaMT305630001 Beaverhead County30111 Yellowstone County
NebraskaNE319331001 Adams County31185 York County
NevadaNV321732001 Churchill County32510 Carson City
New HampshireNH331033001 Belknap County33019 Sullivan County
New JerseyNJ342134001 Atlantic County34041 Warren County
New MexicoNM353335001 Bernalillo County35061 Valencia County
New YorkNY366236001 Albany County36123 Yates County
North CarolinaNC3710037001 Alamance County37199 Yancey County
North DakotaND385338001 Adams County38105 Williams County
OhioOH398839001 Adams County39175 Wyandot County
OklahomaOK407740001 Adair County40153 Woodward County
OregonOR413641001 Baker County41071 Yamhill County
PennsylvaniaPA426742001 Adams County42133 York County
Rhode IslandRI44544001 Bristol County44009 Washington County
South CarolinaSC454645001 Abbeville County45091 York County
South DakotaSD466646003 Aurora County46137 Ziebach County
TennesseeTN479547001 Anderson County47189 Wilson County
TexasTX4825448001 Anderson County48507 Zavala County
UtahUT492949001 Beaver County49057 Weber County
VermontVT501450001 Addison County50027 Windsor County
VirginiaVA5113351001 Accomack County51840 Winchester city
WashingtonWA533953001 Adams County53077 Yakima County
West VirginiaWV545554001 Barbour County54109 Wyoming County
WisconsinWI557255001 Adams County55141 Wood County
WyomingWY562356001 Albany County56045 Weston County

How to look up a county's FIPS code

  1. From an address: run it through the Census Geocoder with “Find Geographies”. The county result shows the state and county codes.
  2. From a county name: the Census Bureau's ANSI/FIPS code lists have every county by state.
  3. In GIS data: look for a field called GEOID, FIPS, CNTY_FIPS or COUNTYFP. If a file only has three digits, add the two-digit state code in front.
  4. Keep leading zeros. Spreadsheets often turn 01001 into 1001. Store FIPS codes as text.

Census ANSI/FIPS code lists County parcel maps by state

Open the Platbookmapper county map Browse the county GIS directory by state

Related guides

Sources

← All posts · Open the map