ISO 3166-2 is part of the ISO 3166 standard published by the International Organization for Standardization (ISO), and defines codes for identifying the principal subdivisions (e.g., provinces or states) of all countries coded in ISO 3166-1. The official name of the standard is Codes for the representation of names of countries and their subdivisions – Part 2: Country subdivision code. It was first published in 1998.
The purpose of ISO 3166-2 is to establish an international standard of short and unique alphanumeric codes to represent the relevant administrative divisions and dependent territories of all countries in a more convenient and less ambiguous form than their full names. Each complete ISO 3166-2 code consists of two parts, separated by a hyphen:
- The first part is the ISO 3166-1 alpha-2 code of the country;
- The second part is a string of up to three alphanumeric characters, which is usually obtained from national sources and stems from coding systems already in use in the country concerned, but may also be developed by the ISO itself.
Each complete ISO 3166-2 code can then be used to uniquely identify a country subdivision in a global context.
Currently more than 4000 codes are defined in ISO 3166-2. For some countries, codes are defined for more than one level of subdivisions.
Current codes 
The following table can be used to access the current ISO 3166-2 codes of each country, and comprises three columns:
- Entry — ISO 3166-1 alpha-2 code, click to view the ISO 3166-2 codes of the country
- Country name — English short country name officially used by the ISO 3166 Maintenance Agency (ISO 3166/MA)
- Subdivisions assigned codes — Name and number of subdivisions assigned codes in ISO 3166-2; if there are more than one level of subdivisions, the first-level subdivisions are shown in italics
Subdivisions included in ISO 3166-1 
For the following countries, a number of their subdivisions in ISO 3166-2, most of them dependent territories, are also officially assigned their own country codes in ISO 3166-1:
|Entry||Country name||Subdivisions included in ISO 3166-1 (alpha-2 code)|
|CN||China||CN-71 Taiwan (TW) [note 2]
CN-91 Hong Kong (HK)
CN-92 Macao (MO)
|FI||Finland||FI-01 Åland (AX)|
|FR||France||FR-BL Saint Barthélemy (BL)
FR-GF French Guiana (GF)
FR-GP Guadeloupe (GP)
FR-MF Saint Martin (MF)
FR-MQ Martinique (MQ)
FR-NC New Caledonia (NC)
FR-PF French Polynesia (PF)
FR-PM Saint Pierre and Miquelon (PM)
FR-RE Réunion (RE)
FR-TF French Southern Territories (TF)
FR-WF Wallis and Futuna (WF)
FR-YT Mayotte (YT)
|NL||Netherlands[note 1]||NL-AW Aruba (AW)
NL-BQ1 Bonaire (BQ) [note 3]
NL-BQ2 Saba (BQ) [note 3]
NL-BQ3 Sint Eustatius (BQ) [note 3]
NL-CW Curaçao (CW)
NL-SX Sint Maarten (SX)
|NO||Norway||NO-21 Svalbard (SJ) [note 4]
NO-22 Jan Mayen (SJ) [note 4]
|US||United States||US-AS American Samoa (AS)
US-GU Guam (GU)
US-MP Northern Mariana Islands (MP)
US-PR Puerto Rico (PR)
US-UM United States Minor Outlying Islands (UM)
US-VI Virgin Islands, U.S. (VI)
- In ISO 3166-1, three countries are listed as subdivisions of the Netherlands. However, the mentioned Netherlands is a country on its own with the three other countries being its dependent territories. The four countries together constitute the Kingdom of the Netherlands.
- Taiwan is included as a subdivision of China because of its political status within the United Nations, as, even though it is de facto under the jurisdiction of the Republic of China instead of the People's Republic of China, the United Nations does not recognize the Republic of China and considers Taiwan as part of China. In ISO 3166-1, Taiwan is listed as "Taiwan, Province of China".
- Collectively Bonaire, Sint Eustatius and Saba are officially assigned their own country codes in ISO 3166-1.
- Collectively Svalbard and Jan Mayen are officially assigned their own country codes in ISO 3166-1.
The format of the ISO 3166-2 codes is different for each country. The codes may be alphabetic, numeric, or alphanumeric, and they may also be of constant or variable length. The following is a table of the ISO 3166-2 codes of each country (those with codes defined), grouped by their format:
|Number of characters (second part)||Alphabetic||Numeric||Alphanumeric|
|1||AR, BO, FJ, GM, KI, KM, LS, LU, MG, SL, ST, TG, TM, VE
First-level subdivisions only: BD, CV, FR, GN, GQ, GR, GW, KN, MH, MW, NZ, UG
|AT, GA, IS, NE
First-level subdivisions only: LK, NP
|2||AE, AM, BI, BJ, BN, BQ, BR, BS, BW, BY, CA, CD, CH, CL, CM, DE, DJ, ER, ET, GE, GH, GL, GT, GY, HN, HT, HU, ID, IN, IQ, JO, KW, LA, LB, LR, LT, LY, MC, MD, MU, NA, NG, NI, OM, PK, PL, QA, SB, SD, SH, SK, SN, SO, SR, SS, SV, SY, SZ, TD, TJ, TL, US, UY, UZ, WS, YE, ZA, ZW
First-level subdivisions only: CZ, RS
Second-level subdivisions only: AL, CV, GN, GQ, GW, IT, MW, NP
|AD, AG, BB, BG, BH, CI, CN, CU, CY, DK, DM, DO, DZ, EE, FI, GD, HR, IR, JM, JP, KP, KR, LC, LI, ME, MK, MM, MT, MY, NO, NR, PT, RW, SA, SC, SG, SM, TN, TO, TR, TZ, UA, UM, VC, ZM
First-level subdivisions only: AL, BF, IT, MA, PH
Second-level subdivisions only: BA, BD, KN, LK, RS
|BT, MV, VN
Second-level subdivisions only: FR, GR
|3||AF, AO, BE, FM, GB, KZ, MX, PE, PG, PS, TT, TV, TW, VU
First-level subdivisions only: BA
Second-level subdivisions only: BF, MA, MH, NZ, PH
|KE, PW, SI
Second-level subdivisions only: UG
|Second-level subdivisions only: CZ|
|1 or 2||CR, EC, ES, IE, IL, KG, RO, SE||KH||PA, TH|
|1 or 3||MZ||MN||ML|
|2 or 3||AU, AZ, BZ, CF, CO, RU||LV, MR, NL|
|1, 2, or 3||EG||CG, PY|
The ISO 3166/MA updates ISO 3166-2 when necessary, by announcing changes in newsletters which update the currently valid standard, and releasing new editions which comprise a consolidation of newsletter changes. Changes in ISO 3166-2 consist mostly of spelling corrections, addition and deletion of subdivisions, and modification of the administrative structure.
|Edition/Newsletter||Date issued||Affected entries|
|ISO 3166-2:1998||1998-12-20||First edition of ISO 3166-2|
|Newsletter I-1||2000-06-21||BY, CA, DO, ER, ES, IT, KR, NG, PL, RO, RU, TR, VN, YU|
|Newsletter I-2||2002-05-21||AE, AL, AO, AZ, BD, BG, BJ, CA, CD, CN, CV, CZ, ES, FR, GB, GE, GN, GT, HR, ID, IN, IR, KZ, LA, MA, MD, MW, NI, PH, TR, UZ, VN|
|Newsletter I-3||2002-08-20||AE, CZ, IN, KZ, MD, MO, PS (new entry), TP (changed to TL), UG|
|Newsletter I-4||2002-12-10||BI, CA, EC, ES, ET, GE, ID, IN, KG, KH, KP, KZ, LA, MD, MU, RO, SI, TJ, TL, TM, TW, UZ, VE, YE|
|Newsletter I-5||2003-09-05||BW, CH, CZ, LY, MY, SN, TN, TZ, UG, VE, YU (changed to CS)|
|Newsletter I-6||2004-03-08||AF, AL, AU, CN, CO, ID, KP, MA, TN, ZA|
|Newsletter I-7||2005-09-13||AF, DJ, ID, RU, SI, VN|
|Newsletter I-8||2007-04-17||AD, AG, BB, BH, CI, CS (deleted), DM, GB, GD, GG (new entry), IM (new entry), IR, IT, JE (new entry), KN, LI, ME (new entry), MK, NR, PW, RS (new entry), RU, RW, SB, SC, SM, TD, TO, TV, VC|
|Newsletter I-9||2007-11-28||BG, BL (new entry), CZ, FR, GB, GE, LB, MF (new entry), MK, MT, RU, SD, SG, UG, ZA|
|ISO 3166-2:2007||2007-12-13||Second edition of ISO 3166-2 (these changes were not announced in a newsletter)
BA, DK, DO, EG, GN, HT, KE, KW, LC, LR, TV, YE, ZA
|AL, BO, CZ, ES, FR, GN, GR, GW, ID, IE, IT, KN, KP, LK, MA, MH, NP, RS, UG, VE|
|Newsletter II-2||2010-06-30||AG, AR, BA, BF, BI, BS, BY, CF, CL, CV, EC, EG, GB, GL, HU, IT, KE, KM, LY, MD, MW, NG, NZ, OM, PA, PE, PH, RU, SC, SH, SI, SN, TD, TM, YE|
|AF, AN (deleted), AW, AZ, BD, BE, BG, BQ (new entry), BS, CV, CW (new entry), DJ, DK, ER, FI, FR, GB, GQ, HN, HR, HT, ID, IE, IN, JO, KW, LS, LV, MC, ME, MK, MM, MV, NL, NO, NP, NR, PG, PK, PL, PS, QA, SA, SD, SE, SH, SS (new entry), SX (new entry), TL, TN, TR, VN|
See also 
- Table of administrative divisions by country
- UN/LOCODE — United Nations Code for Trade and Transport Locations
- List of FIPS region codes in FIPS 10-4, part of the Federal Information Processing Standard (FIPS)
- Nomenclature of Territorial Units for Statistics (NUTS), which covers the subdivisions of the members of the European Union
- "ISO 3166-2". International Organization for Standardization (ISO).
- "Country names and code elements". ISO.
- "Updates on ISO 3166". ISO.
- "Statoid Newsletter January 2008". Statoids.com.
- ISO 3166 Maintenance Agency, International Organization for Standardization (ISO)
- Administrative Divisions of Countries ("Statoids"), Statoids.com
Other lists of ISO 3166-2 codes (not necessarily up-to-date) 
Many of the lists below are based on outdated versions of ISO 3166-2 codes. For the latest version, please contact the ISO 3166/MA.
- ISO 3166-2 State Codes, CommonDataHub
- Country Subdivisions, eQuest
- Country sub-entity name code, GEFEG.FX
- Subdivision hierarchy, Unicode Consortium.
- "LLOW linklist", LanguageServer, AT: University of Graz.
- "Appendix A: Standard Codes used for ADAMS Import Files" (PDF), ADAMS User Guide, World Anti-Doping Agency.