United States
ISO 3166-1 country codes and official ISO 3166-2 subdivisions for United States. Use them in forms, validation, and CountriesDB integrations.
About United States codes
Need United States (US) for a checkout form, shipping zone, or backend validation? This page summarizes the ISO 3166-1 country codes and official subdivisions developers use with CountriesDB.
This guide lists 57 official ISO 3166-2 subdivisions for United States. These are the same codes CountriesDB serves through widgets and the Backend Data API.
For production, use the CountriesDB country/subdivision widget or fetch United States from the Data API and validate codes server-side instead of copying values from this page.
ISO codes
Official subdivisions (57)
Official ISO 3166-2 codes for United States. Use these values in region/state selects and server-side validation, not informal or marketing region names.
| Code | Name | Type |
|---|---|---|
| US-AL | Alabama | state |
| US-AK | Alaska | state |
| US-AS | American Samoa | outlying area |
| US-AZ | Arizona | state |
| US-AR | Arkansas | state |
| US-CA | California | state |
| US-CO | Colorado | state |
| US-CT | Connecticut | state |
| US-DE | Delaware | state |
| US-DC | District of Columbia | district |
| US-FL | Florida | state |
| US-GA | Georgia | state |
| US-GU | Guam | outlying area |
| US-HI | Hawaii | state |
| US-ID | Idaho | state |
| US-IL | Illinois | state |
| US-IN | Indiana | state |
| US-IA | Iowa | state |
| US-KS | Kansas | state |
| US-KY | Kentucky | state |
| US-LA | Louisiana | state |
| US-ME | Maine | state |
| US-MD | Maryland | state |
| US-MA | Massachusetts | state |
| US-MI | Michigan | state |
| US-MN | Minnesota | state |
| US-MS | Mississippi | state |
| US-MO | Missouri | state |
| US-MT | Montana | state |
| US-NE | Nebraska | state |
| US-NV | Nevada | state |
| US-NH | New Hampshire | state |
| US-NJ | New Jersey | state |
| US-NM | New Mexico | state |
| US-NY | New York | state |
| US-NC | North Carolina | state |
| US-ND | North Dakota | state |
| US-MP | Northern Mariana Islands | outlying area |
| US-OH | Ohio | state |
| US-OK | Oklahoma | state |
| US-OR | Oregon | state |
| US-PA | Pennsylvania | state |
| US-PR | Puerto Rico | outlying area |
| US-RI | Rhode Island | state |
| US-SC | South Carolina | state |
| US-SD | South Dakota | state |
| US-TN | Tennessee | state |
| US-TX | Texas | state |
| US-UM | United States Minor Outlying Islands | outlying area |
| US-UT | Utah | state |
| US-VT | Vermont | state |
| US-VI | Virgin Islands, U.S. | outlying area |
| US-VA | Virginia | state |
| US-WA | Washington | state |
| US-WV | West Virginia | state |
| US-WI | Wisconsin | state |
| US-WY | Wyoming | state |
Frequently asked questions
- What is the ISO 3166-1 code for United States?
- United States uses ISO 3166-1 alpha-2 US, alpha-3 USA, and numeric 840. These codes show up in forms, shipping, banking, and APIs.
- How many official ISO 3166-2 subdivisions does United States have?
- CountriesDB lists 57 official ISO 3166-2 subdivisions for United States (states, provinces, regions, or equivalent). Use them when you validate region selects and shipping zones.
- How do I use United States country and subdivision data in a form?
- Use the CountriesDB widget or Data API to fill country and subdivision selects for United States, then validate submitted codes with the Validation API so alpha-2 and ISO 3166-2 values stay consistent.
Use United States in your app
Add CountriesDB country and subdivision selects with the widget docs, or call the Backend Data API for United States (US) and validate submissions with the Validation API. Guides stay in sync with the same dataset your project keys already use. widget docs.