Address guide

US State Abbreviations: Full List of 50 States + DC (Two-Letter Codes)

Complete table of USPS two-letter state abbreviations: Texas is TX, California is CA, Washington State is WA. Covers all 50 states plus Washington, DC, with the pitfalls that break address forms.

Updated 2026-07-25

All 50 states + DC: two-letter abbreviations

StateCodeSample addresses
AlabamaAL
AlaskaAKAK address generator
ArizonaAZ
ArkansasAR
CaliforniaCACA address generator
ColoradoCO
ConnecticutCT
DelawareDEDE address generator
District of ColumbiaDCDC address generator
FloridaFLFL address generator
GeorgiaGAGA address generator
HawaiiHI
IdahoID
IllinoisILIL address generator
IndianaIN
IowaIAIA address generator
KansasKS
KentuckyKY
LouisianaLA
MaineME
MarylandMD
MassachusettsMA
MichiganMI
MinnesotaMN
MississippiMS
MissouriMO
MontanaMTMT address generator
NebraskaNE
NevadaNV
New HampshireNHNH address generator
New JerseyNJ
New MexicoNM
New YorkNYNY address generator
North CarolinaNCNC address generator
North DakotaND
OhioOHOH address generator
OklahomaOK
OregonOROR address generator
PennsylvaniaPAPA address generator
Rhode IslandRIRI address generator
South CarolinaSCSC address generator
South DakotaSD
TennesseeTN
TexasTXTX address generator
UtahUTUT address generator
VermontVT
VirginiaVA
WashingtonWAWA address generator
West VirginiaWV
WisconsinWI
WyomingWY

What the two-letter state codes are

Every US state has an official two-letter abbreviation defined by the United States Postal Service (USPS): Texas is TX, California is CA, New York is NY, Washington State is WA. The codes are always two uppercase letters, and they are what address forms, payment processors and shipping APIs expect in the State field.

Washington, DC (District of Columbia) is not a state, but nearly every address form treats it as one and uses the code DC. If your form's state dropdown has 50 entries instead of 51, DC is usually the one missing — and DC residents will not be able to check out.

Codes that are easy to mix up

WA is Washington State on the Pacific coast; DC is Washington, the capital city. They are different places with different ZIP ranges (WA: 98xxx–99xxx, DC: 20xxx), so mixing them up fails ZIP-state consistency checks.

New York needs care in two fields: State is NY, and only City takes the value New York. Other frequent confusions: MI is Michigan (not Mississippi, which is MS; Missouri is MO), AL is Alabama (Alaska is AK), and AR is Arkansas (Arizona is AZ).

How forms and APIs use these codes

Most checkout forms show the full state name in a dropdown but submit the two-letter code in the payload. When you test a form, assert on the submitted value, not the visible label — seeing California on screen does not guarantee the API received CA.

Payment (AVS), tax and shipping services generally require the two-letter code plus a ZIP code that actually belongs to that state. If you need format-correct sample data where the state, city and ZIP all match, generate it with the state pages linked in the table above, or call the free API.

Frequently asked questions

What is the abbreviation for Texas?

Texas is TX. It is the official USPS two-letter code used in the State field of US address forms.

What is the abbreviation for California?

California is CA. Do not put a city like Los Angeles or San Francisco in the State field.

Is Washington WA or DC?

Washington State is WA; Washington, DC (the capital, District of Columbia) is DC. They are different regions with different ZIP code ranges.

Do state abbreviations have to be uppercase?

USPS defines them as two uppercase letters. Many forms accept lowercase and normalize it, but APIs and databases conventionally store uppercase codes like CA or NY.

Is DC a state?

No. The District of Columbia is a federal district, but US address forms treat it as a state-level region with the code DC, so state dropdowns should include it (51 entries).

How many US state abbreviations are there?

50 state codes plus DC makes 51 entries in a typical address form. USPS also defines codes for territories such as PR (Puerto Rico) and GU (Guam).

Need matching sample addresses?

The generator keeps City, State and ZIP code consistent within one record, so region-consistency validation passes. Free, no sign-up, runs in your browser.