Home

Country Codes - ISO 3166

What is ISO 3166?

ISO 3166 is the International Standard for country codes and codes for their subdivisions. The purpose of ISO 3166 is to establish internationally recognised codes for the representation of names of countries, territories or areas of geographical interest, and their subdivisions. However, ISO 3166 does not establish the names of countries, only the codes that represent them.

The country names in ISO 3166 come from United Nations sources. New names and codes are added automatically when the United Nations publishes new names in either the Terminology Bulletin Country Names or in the Country and Region Codes for Statistical Use maintained by the United Nations Statistics Divisions. Names for subdivisions are taken from relevant official national information sources.

ISO 3166 was first published in 1974 as a single standard to establish the country codes. It was expanded into three parts in 1997 to include the codes for subdivisions and the codes for names of countries that are no longer in use. Of the three parts, Part 1, ISO 3166-1 is generally used the most often.

Who uses ISO 3166-1?

ISO 3166-1 has become one of the world’s most well known and widely used standards for coding country names. Using a code of letters and/or numbers to represent a country name can help save time and energy, and reduce the rate of error.

The country codes found in ISO 3166-1 are used by many organizations, businesses and governments. For example all national postal organizations throughout the world exchange international mail in containers bearing its country code for identification. In machine readable passports, the codes from ISO 3166-1 are used to determine the nationality of the user. In addition, internet domain name systems use the codes to define top level domain names such as 'fr' for France, 'au' for Australia and 'br' for Brazil.

How to use ISO 3166-1?

ISO 3166-1:2006, Codes for the representation of names of countries and their subdivisions – Part 1: Country codes is the most recent version of the standard.

Within the standard, names of countries are represented by a two-letter code (alpha-2) which is recommended as the general purpose code, a three-letter code (alpha-3) which is more closely related to the country name, and a three digit numeric code (numeric-3 - developed and assigned by the UN Statistics Division) which can be useful when codes need to be understood in countries that do not use Latin scripts.

ISO provides the alpha-2 country codes for free. The full standard containing the alpha-2, alpha-3 and numeric-3 codes as well as details of the administrative language can be purchased. (See table at top right - Resources for ISO 3166-1:2006.)

Resources for ISO 3166-1:2006

ISO ISO 3166-1 decoding table
The decoding table clearly illustrates the 676 code elements and the countries they have been assigned to.
View the ISO 3166-1 decoding table

HTML, Text and XML versions
ISO makes the list of alpha-2 country codes available for internal use and non-commercial purposes free of charge. Three formats are available:
Text
HTML
XML

Purchasing the full ISO 3166-1:2006
A database containing the alpha-2, alpha-3 and numeric-3 codes as well as details of the administrative language can be purchased from the ISO store. In addition the standard can be purchased in paper or pdf format.

ISO Focus+ article about ISO 3166
More information about the uses of ISO 3166 can be found in this ISO Focus+ article

Quick Links
Track updates to ISO 3166
Read more about ISO 3166-2
Read more about ISO 3166-3
Read more about how ISO 3166 is maintained

ISO 3166-2:2007

ISO 3166-2:2007 establishes codes for the names of the principal subdivisions (e.g provinces or states) of all countries coded in ISO 3166-1. This code is based on the two-letter code element from ISO 3166-1 followed by a separator and up to three alphanumeric characters. The characters after the separator cannot be used on their own to denote a subdivision, they must be preceded by the alpha-2 country code.

For example – ID-RI is the Riau province of Indonesia and NG-RI is the Rivers province in Nigeria.

The codes denoting the subdivision are usually obtained from national sources and stem from coding systems already in place in the country.

How to purchase ISO 3166-2:2007

ISO 3166-2:2007 is available as a database in the ISO store. In addition, the standard can be purchased in paper or pdf format.

Updates for ISO 3166

ISO 3166-2:2007 is constantly being updated. Read more about how to track these updates.

ISO 3166-3:1999

ISO 3166-3:1999 establishes codes for country names which have been deleted from ISO 3166-1 since its first publication in 1974. The code elements for formerly used country names have a length of four alphabetical characters (alpha-4 code) and their structure depends on the reason why the country name has been removed from ISO 3166-1.

Country names might be removed from ISO 3166-1 for various reasons

How to purchase ISO 3166-3:1999

ISO 3166-3:1999 can be purchased from the ISO store in pdf or paper format.

Updates to ISO 3166

ISO 3166-3: 1999 is often updated. Read more about how to track these updates.

How ISO 3166 is maintained

All three parts of ISO 3166 are maintained by a maintenance agency (ISO 3166/MA).The composition of the ISO 3166/MA reflects the two stakeholder groups which were primarily involved in the development of ISO 3166 in the early 1970s: national standards organizations, members of ISO, and United Nations agencies.

Of the ten experts with voting rights on the ISO 3166/MA five are representatives of the following national standards organizations:

The other five are representatives of major UN or other international organizations who are all users of ISO 3166-1:

The ISO 3166/MA has further associated members who do not participate in the votes but who - through their expertise - have significant influence on the decision taking procedure in the maintenance agency. The members can be contacted through the secretariat of the ISO 3166/MA.

Contact the ISO 3166 Maintenance Agency

The ISO 3166/MA should be contacted through its secretariat. Please use the following address:

ISO 3166 Maintenance Agency
c/o International Organization for Standardization
Case postale 56
CH-1211 Genève 20

Telephone: +41 22 749 01 11
Telefax: +41 22 733 34 30
E-mail: mbinfo@iso.org
Web: www.iso.org/iso/country_codes