Countries API - CountriesDB

Iran

ISO 3166-1 country codes and official ISO 3166-2 subdivisions for Iran. Use them in forms, validation, and CountriesDB integrations.

About Iran codes

Need Iran (IR) 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 31 official ISO 3166-2 subdivisions for Iran. These are the same codes CountriesDB serves through widgets and the Backend Data API.

For production, use the CountriesDB country/subdivision widget or fetch Iran from the Data API and validate codes server-side instead of copying values from this page.

ISO codes

  • Alpha-2IR
  • Alpha-3IRN
  • Numeric364
  • Independenttrue
  • StatusOfficially assigned

Official subdivisions (31)

Official ISO 3166-2 codes for Iran. Use these values in region/state selects and server-side validation, not informal or marketing region names.

CodeNameType
IR-30Alborzprovince
IR-24Ardabīlprovince
IR-04Āz̄ārbāyjān-e Ghārbīprovince
IR-03Āz̄ārbāyjān-e Shārqīprovince
IR-18Būshehrprovince
IR-14Chahār Maḩāl va Bakhtīārīprovince
IR-10Eşfahānprovince
IR-07Fārsprovince
IR-01Gīlānprovince
IR-27Golestānprovince
IR-13Hamadānprovince
IR-22Hormozgānprovince
IR-16Īlāmprovince
IR-08Kermānprovince
IR-05Kermānshāhprovince
IR-29Khorāsān-e Jonūbīprovince
IR-09Khorāsān-e Raẕavīprovince
IR-28Khorāsān-e Shomālīprovince
IR-06Khūzestānprovince
IR-17Kohgīlūyeh va Bowyer Aḩmadprovince
IR-12Kordestānprovince
IR-15Lorestānprovince
IR-00Markazīprovince
IR-02Māzandarānprovince
IR-26Qazvīnprovince
IR-25Qomprovince
IR-20Semnānprovince
IR-11Sīstān va Balūchestānprovince
IR-23Tehrānprovince
IR-21Yazdprovince
IR-19Zanjānprovince

Frequently asked questions

What is the ISO 3166-1 code for Iran?
Iran uses ISO 3166-1 alpha-2 IR, alpha-3 IRN, and numeric 364. These codes show up in forms, shipping, banking, and APIs.
How many official ISO 3166-2 subdivisions does Iran have?
CountriesDB lists 31 official ISO 3166-2 subdivisions for Iran (states, provinces, regions, or equivalent). Use them when you validate region selects and shipping zones.
How do I use Iran country and subdivision data in a form?
Use the CountriesDB widget or Data API to fill country and subdivision selects for Iran, then validate submitted codes with the Validation API so alpha-2 and ISO 3166-2 values stay consistent.

Use Iran in your app

Add CountriesDB country and subdivision selects with the widget docs, or call the Backend Data API for Iran (IR) and validate submissions with the Validation API. Guides stay in sync with the same dataset your project keys already use. widget docs.