FIPS codes — U.S. states and counties

Public domain3k rowsReport an issue

Meridian maintains this dataset from the U.S. Census Bureau’s public files, and holds the census namespace until the U.S. Census Bureau claims it.

Codes are text, so a leading zero is kept: two digits for a state (01 for Alabama), five for a county, the state's two and the county's three (01001 for Autauga County). Join other data on code.

The base is Census's 2020 ANSI code lists, the latest Census publishes. Census's 2026 Gazetteer county file adds Connecticut's nine planning regions (09110 to 09190), which replaced its eight counties as county-equivalents in 2022. The eight old counties are kept with current = false, since data from before 2022 uses them.

current is NULL for the Island Areas and the U.S. Minor Outlying Islands, which the Gazetteer does not cover. The Gazetteer's land and water areas and its coordinates are not included.

Meridian's table holds the U.S. Census Bureau's codes for US states and counties, one row per state or state-equivalent and per county or county-equivalent.[1] A county's full code has five digits: the two digits of its state's code, then three digits that identify the county within the state.[2]

0101state0AlabamaAlabamaANSI 2020, Gazetteer 2026census_ansi01AL01779775true
0100101001county101Autauga CountyAlabama › Autauga CountyANSI 2020, Gazetteer 2026census_ansi01001AL00161526H1Atrue
0100301003county101Baldwin CountyAlabama › Baldwin CountyANSI 2020, Gazetteer 2026census_ansi01003AL00161527H1Atrue
0100501005county101Barbour CountyAlabama › Barbour CountyANSI 2020, Gazetteer 2026census_ansi01005AL00161528H1Atrue
0100701007county101Bibb CountyAlabama › Bibb CountyANSI 2020, Gazetteer 2026census_ansi01007AL00161529H1Atrue
0100901009county101Blount CountyAlabama › Blount CountyANSI 2020, Gazetteer 2026census_ansi01009AL00161530H1Atrue
0101101011county101Bullock CountyAlabama › Bullock CountyANSI 2020, Gazetteer 2026census_ansi01011AL00161531H1Atrue
0101301013county101Butler CountyAlabama › Butler CountyANSI 2020, Gazetteer 2026census_ansi01013AL00161532H1Atrue
0101501015county101Calhoun CountyAlabama › Calhoun CountyANSI 2020, Gazetteer 2026census_ansi01015AL00161533H1Atrue
0101701017county101Chambers CountyAlabama › Chambers CountyANSI 2020, Gazetteer 2026census_ansi01017AL00161534H1Atrue
0101901019county101Cherokee CountyAlabama › Cherokee CountyANSI 2020, Gazetteer 2026census_ansi01019AL00161535H1Atrue
0102101021county101Chilton CountyAlabama › Chilton CountyANSI 2020, Gazetteer 2026census_ansi01021AL00161536H1Atrue
0102301023county101Choctaw CountyAlabama › Choctaw CountyANSI 2020, Gazetteer 2026census_ansi01023AL00161537H1Atrue
0102501025county101Clarke CountyAlabama › Clarke CountyANSI 2020, Gazetteer 2026census_ansi01025AL00161538H1Atrue
0102701027county101Clay CountyAlabama › Clay CountyANSI 2020, Gazetteer 2026census_ansi01027AL00161539H1Atrue
0102901029county101Cleburne CountyAlabama › Cleburne CountyANSI 2020, Gazetteer 2026census_ansi01029AL00161540H1Atrue
0103101031county101Coffee CountyAlabama › Coffee CountyANSI 2020, Gazetteer 2026census_ansi01031AL00161541H1Atrue
0103301033county101Colbert CountyAlabama › Colbert CountyANSI 2020, Gazetteer 2026census_ansi01033AL00161542H1Atrue
0103501035county101Conecuh CountyAlabama › Conecuh CountyANSI 2020, Gazetteer 2026census_ansi01035AL00161543H1Atrue
0103701037county101Coosa CountyAlabama › Coosa CountyANSI 2020, Gazetteer 2026census_ansi01037AL00161544H1Atrue
0103901039county101Covington CountyAlabama › Covington CountyANSI 2020, Gazetteer 2026census_ansi01039AL00161545H1Atrue
0104101041county101Crenshaw CountyAlabama › Crenshaw CountyANSI 2020, Gazetteer 2026census_ansi01041AL00161546H1Atrue
0104301043county101Cullman CountyAlabama › Cullman CountyANSI 2020, Gazetteer 2026census_ansi01043AL00161547H1Atrue
0104501045county101Dale CountyAlabama › Dale CountyANSI 2020, Gazetteer 2026census_ansi01045AL00161548H1Atrue
0104701047county101Dallas CountyAlabama › Dallas CountyANSI 2020, Gazetteer 2026census_ansi01047AL00161549H1Atrue
0104901049county101DeKalb CountyAlabama › DeKalb CountyANSI 2020, Gazetteer 2026census_ansi01049AL00161550H1Atrue
0105101051county101Elmore CountyAlabama › Elmore CountyANSI 2020, Gazetteer 2026census_ansi01051AL00161551H1Atrue
0105301053county101Escambia CountyAlabama › Escambia CountyANSI 2020, Gazetteer 2026census_ansi01053AL00161552H1Atrue
0105501055county101Etowah CountyAlabama › Etowah CountyANSI 2020, Gazetteer 2026census_ansi01055AL00161553H1Atrue
0105701057county101Fayette CountyAlabama › Fayette CountyANSI 2020, Gazetteer 2026census_ansi01057AL00161554H1Atrue
0105901059county101Franklin CountyAlabama › Franklin CountyANSI 2020, Gazetteer 2026census_ansi01059AL00161555H1Atrue
0106101061county101Geneva CountyAlabama › Geneva CountyANSI 2020, Gazetteer 2026census_ansi01061AL00161556H1Atrue
0106301063county101Greene CountyAlabama › Greene CountyANSI 2020, Gazetteer 2026census_ansi01063AL00161557H1Atrue
0106501065county101Hale CountyAlabama › Hale CountyANSI 2020, Gazetteer 2026census_ansi01065AL00161558H1Atrue
0106701067county101Henry CountyAlabama › Henry CountyANSI 2020, Gazetteer 2026census_ansi01067AL00161559H1Atrue
0106901069county101Houston CountyAlabama › Houston CountyANSI 2020, Gazetteer 2026census_ansi01069AL00161560H1Atrue
0107101071county101Jackson CountyAlabama › Jackson CountyANSI 2020, Gazetteer 2026census_ansi01071AL00161561H1Atrue
0107301073county101Jefferson CountyAlabama › Jefferson CountyANSI 2020, Gazetteer 2026census_ansi01073AL00161562H1Atrue
0107501075county101Lamar CountyAlabama › Lamar CountyANSI 2020, Gazetteer 2026census_ansi01075AL00161563H1Atrue
0107701077county101Lauderdale CountyAlabama › Lauderdale CountyANSI 2020, Gazetteer 2026census_ansi01077AL00161564H1Atrue
0107901079county101Lawrence CountyAlabama › Lawrence CountyANSI 2020, Gazetteer 2026census_ansi01079AL00161565H1Atrue
0108101081county101Lee CountyAlabama › Lee CountyANSI 2020, Gazetteer 2026census_ansi01081AL00161566H1Atrue
0108301083county101Limestone CountyAlabama › Limestone CountyANSI 2020, Gazetteer 2026census_ansi01083AL00161567H1Atrue
0108501085county101Lowndes CountyAlabama › Lowndes CountyANSI 2020, Gazetteer 2026census_ansi01085AL00161568H1Atrue
0108701087county101Macon CountyAlabama › Macon CountyANSI 2020, Gazetteer 2026census_ansi01087AL00161569H1Atrue
0108901089county101Madison CountyAlabama › Madison CountyANSI 2020, Gazetteer 2026census_ansi01089AL00161570H1Atrue
0109101091county101Marengo CountyAlabama › Marengo CountyANSI 2020, Gazetteer 2026census_ansi01091AL00161572H1Atrue
0109301093county101Marion CountyAlabama › Marion CountyANSI 2020, Gazetteer 2026census_ansi01093AL00161573H1Atrue
0109501095county101Marshall CountyAlabama › Marshall CountyANSI 2020, Gazetteer 2026census_ansi01095AL00161574H1Atrue
0109701097county101Mobile CountyAlabama › Mobile CountyANSI 2020, Gazetteer 2026census_ansi01097AL00161575H1Atrue

Summary

Counted from every row of this dataset, from the snapshot published on 16 November 2026.

Codes at each level

How many codes sit at each level, from the snapshot published on 16 November 2026. A state's code is two digits and a county's five, its state's two and its own three.

LevelCodes
State or state-equivalent57
County or county-equivalent3,244

Whether each code is current

Codes by their current column, from the snapshot published on 16 November 2026. Census's 2026 Gazetteer decides it: the codes it no longer lists are Connecticut's eight old counties, replaced by its nine planning regions in 2022, and it does not cover the Island Areas or the U.S. Minor Outlying Islands.

CurrentStatesCounties
In Census's current vintage523,222
No longer in Census's current vintage08
Not covered by the Gazetteer514

Counties in each state

The counties and county-equivalents under each state, in code order, from the snapshot published on 16 November 2026, counted by parent_code. Connecticut's count takes in both its old counties and its planning regions.

CodeStateUSPSCounties
01AlabamaAL67
02AlaskaAK30
04ArizonaAZ15
05ArkansasAR75
06CaliforniaCA58
08ColoradoCO64
09ConnecticutCT17
10DelawareDE3
11District of ColumbiaDC1
12FloridaFL67
13GeorgiaGA159
15HawaiiHI5
16IdahoID44
17IllinoisIL102
18IndianaIN92
19IowaIA99
20KansasKS105
21KentuckyKY120
22LouisianaLA64
23MaineME16
24MarylandMD24
25MassachusettsMA14
26MichiganMI83
27MinnesotaMN87
28MississippiMS82
29MissouriMO115
30MontanaMT56
31NebraskaNE93
32NevadaNV17
33New HampshireNH10
34New JerseyNJ21
35New MexicoNM33
36New YorkNY62
37North CarolinaNC100
38North DakotaND53
39OhioOH88
40OklahomaOK77
41OregonOR36
42PennsylvaniaPA67
44Rhode IslandRI5
45South CarolinaSC46
46South DakotaSD66
47TennesseeTN95
48TexasTX254
49UtahUT29
50VermontVT14
51VirginiaVA133
53WashingtonWA39
54West VirginiaWV55
55WisconsinWI72
56WyomingWY23
60American SamoaAS5
66GuamGU1
69Commonwealth of the Northern Mariana IslandsMP4
72Puerto RicoPR78
74U.S. Minor Outlying IslandsUM1
78United States Virgin IslandsVI3

Background

What a FIPS code is

The Federal Information Processing Standards (FIPS) are standards that the National Institute of Standards and Technology (NIST) developed for use in the computer systems of non-military US government agencies and contractors.[3] FIPS 5-2 was titled Codes for the Identification of the States, the District of Columbia and the Outlying Areas of the United States, and Associated Areas, and FIPS 6-4 was titled Counties and Equivalent Entities of the U.S., Its Possessions, and Associated Areas.[4] FIPS 5-2 defined numeric and two-letter alphabetic codes to identify the US states and certain other associated areas.[5] The five-digit codes of FIPS 6-4 used the two-digit state code of FIPS 5-2, followed by the three digits of the county code within the state or possession.[6]

A FIPS state code is unique within the nation, and a FIPS county code is unique within its state.[2] Because counties nest within states, the state code is put in front of each county code to make it unique, so the first two digits name the state and the last three the county.[2] Only the states and the District of Columbia had FIPS state codes in the range 01 through 56.[5] The FIPS alphabetic code for each state and the District of Columbia is the same as its abbreviation from the United States Postal Service (USPS).[5] FIPS codes for states, counties and several other kinds of area are assigned alphabetically by geographic name.[2] County FIPS codes are usually, but not always, odd numbers, so that a new or changed county name can be fitted into its alphabetical slot.[6]

On September 2, 2008, NIST withdrew FIPS 5-2 and FIPS 6-4, two of ten standards withdrawn that day.[5][6] The Secretary of Commerce approved the withdrawal of the ten FIPS because they were obsolete, or had not been updated to adopt current voluntary industry standards, federal specifications, federal data standards, or current good practices for information security.[4] The American National Standards Institute (ANSI) oversees the issuance of the International Committee for Information Technology Standards (INCITS) codes the Census Bureau uses, which were formerly known as FIPS codes.[7] FIPS 5-2 was superseded by the ANSI standard INCITS 38:2009.[5] NIST replaced FIPS 6-4 with the codes of INCITS 31 – 2009.[6] A three-digit INCITS 31 county code is made nationally unique by putting the two-digit INCITS 38 state code in front of it as a prefix.[8] The Census Bureau decided to keep the FIPS name for its updated codes, with FIPS standing for Federal Information Processing Series, since there was no longer an official standard.[6]

Geographic Names Information System (GNIS) codes, referred to as National Standards (NS) codes, were established by the United States Geological Survey (USGS), which assigns them with INCITS and ANSI oversight.[7] When a geographic name changes, the GNIS code stays the same.[2]

Who uses it

FIPS codes and GNIS codes are used by a wide audience, across many private and public datasets, to identify geographic features uniquely.[2] Data users rely on geographic identifiers to join demographic data from censuses and surveys, such as the American Community Survey (ACS), to levels of geography for analysis, interpretation and mapping.[2]

The U.S. Bureau of Labor Statistics (BLS) Quarterly Census of Employment and Wages (QCEW) holds a five-character area code in its data files that identifies the geographic area the data represents.[9] The QCEW lists Autauga County, Alabama, under the area code 01001.[9] In 1994 the National Oceanic and Atmospheric Administration (NOAA) began broadcasting FIPS codes along with its weather broadcasts, to identify the type of emergency and the area affected, such as a county.[3] The Emergency Alert System (EAS) and NOAA Weather Radio still use FIPS county codes for their alerts, adding a 0 as the first digit to make a six-digit code.[6]

The Census Bureau adopted Connecticut's nine planning regions as county-equivalents for its statistical data, replacing the eight counties, which ceased to function as governmental and administrative entities in 1960.[8] Each Connecticut planning region was given a new three-digit INCITS 31 code, starting with 110 and continuing in alphanumeric order by name.[8] The Census Bureau set the codes of Connecticut's eight counties to be retired from its current and future products and used only with data referencing the counties as published before 2022.[8] The QCEW uses Connecticut's new county codes starting with its 2024 data, and its data before 2024 uses the old Connecticut county codes.[9]

What we found building it

Meridian builds the table from the Census Bureau's ANSI state and county code lists and adds any county those lists lack from the Census Bureau's Gazetteer county file, which adds Connecticut's nine planning regions.[1]

Where it comes from

FIPS publications are issued by NIST after approval by the Secretary of Commerce.[10] FIPS 5-1, published on June 15, 1970, was superseded by FIPS 5-2 on May 28, 1987.[5] FIPS 5-1 reserved codes for possible future use for American Samoa (03), the Canal Zone (07), Guam (14), Puerto Rico (43) and the Virgin Islands (52), but FIPS 5-2 omitted them without comment.[5] The Census Bureau has published FIPS codes in census products for more than 30 years.[2]

The Census Bureau's notice of the change to county-equivalents in Connecticut was published in the Federal Register on June 6, 2022.[8]