US State Codes Table

–USPS abbr + FIPS code
StateUSPSFIPS
AlabamaAL01
AlaskaAK02
ArizonaAZ04
ArkansasAR05
CaliforniaCA06
ColoradoCO08
ConnecticutCT09
DelawareDE10
District of ColumbiaDC11
FloridaFL12
GeorgiaGA13
HawaiiHI15
IdahoID16
IllinoisIL17
IndianaIN18
IowaIA19
KansasKS20
KentuckyKY21
LouisianaLA22
MaineME23
MarylandMD24
MassachusettsMA25
MichiganMI26
MinnesotaMN27
MississippiMS28
MissouriMO29
MontanaMT30
NebraskaNE31
NevadaNV32
New HampshireNH33
New JerseyNJ34
New MexicoNM35
New YorkNY36
North CarolinaNC37
North DakotaND38
OhioOH39
OklahomaOK40
OregonOR41
PennsylvaniaPA42
Rhode IslandRI44
South CarolinaSC45
South DakotaSD46
TennesseeTN47
TexasTX48
UtahUT49
VermontVT50
VirginiaVA51
WashingtonWA53
West VirginiaWV54
WisconsinWI55
WyomingWY56
TerritoryUSPSFIPS
American SamoaAS60
GuamGU66
Commonwealth of the Northern Mariana IslandsMP69
Puerto RicoPR72
United States Virgin IslandsVI78
Codes from the Census Bureau ANSI/FIPS reference list (national_state2020.txt): FIPS 01-56 alphabetical for the states, 11 = DC, 60-78 the territories. The leading zero is part of the code - most government formats read FIPS as text.

Every US state carries two standard identifiers: the two-letter USPS abbreviation used on mail and forms since 1963 (and everywhere online since dropdowns became a way of life), and the FIPS code - a Federal Information Processing Standard number the Census Bureau and most government databases use internally. They disagree in annoying ways: FIPS numbers run alphabetically (Alabama is 01, Wyoming 56), DC jumps to 11 because of a century-old renumbering, and the territories pick up where the states end.

The table below lists all fifty states plus the District of Columbia with both codes, and the six inhabited territories in a second table. Type any state name or abbreviation to look up its pair instantly. The source is the Census Bureau's own ANSI/FIPS reference list - the same file state agencies and data pipelines sync against - so these are the codes that match government records, not a mailing-house shorthand.

How to use

  1. Type a state name (Michigan) or abbreviation (MI) to see both codes - the lookup is case-insensitive and accepts either side.
  2. Read the FIPS column as text, not a number: 01 means 01, and the leading zero is required in most government file formats.
  3. For territories, use the second table - American Samoa, Guam, Northern Mariana Islands, Puerto Rico and the Virgin Islands carry 60-78, and their mail abbreviations are two letters too.

Frequently asked questions

What is a FIPS code and who uses it?

FIPS stands for Federal Information Processing Standards - numbers NIST maintains so every federal database means the same state by the same code. The Census Bureau publishes the current list and tags every geographic entity with one: states are 01-56, DC is 11, and counties add two digits (Alaska's boroughs run 01001 up). If a form, dataset or API asks for a 'state FIPS', the value in this table is the answer.

Why do FIPS codes skip around instead of running 1 to 51?

They mostly do not: assigned alphabetically in 1970s renumbering, they run 01 (Alabama) through 56 (Wyoming). The famous gaps - no 03, 07 through 09, and so on - are retired numbers from older schemes, and DC's 11 slots in after the original ten. The codes are frozen now precisely because thousands of files depend on them; a 'missing' number is a ghost, not an error.

Are USPS and FIPS abbreviations the same thing?

No - USPS abbreviations are two letters for mail and forms (CA, NY, TX), while FIPS codes are two digits for databases (06, 36, 48). A third system, AP style abbreviations used in old news copy (Calif., N.Y., Tex.), still floats around published tables. This table keeps the two official ones side by side so a mail address and a data file can be reconciled without a third lookup.

Do the territories have standard codes too?

Yes - American Samoa (AS, 60), Guam (GU, 66), the Northern Mariana Islands (MP, 69), Puerto Rico (PR, 72) and the US Virgin Islands (VI, 78) all appear in the Census Bureau's list with USPS abbreviations and FIPS codes, though they are not states and keep their own postal conventions. Online forms that reject 'PR' in the state dropdown are using a states-only list, not the federal one.

Related tools