Countries API - CountriesDB

Tanzania

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

About Tanzania codes

Need Tanzania (TZ) 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 Tanzania. These are the same codes CountriesDB serves through widgets and the Backend Data API.

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

ISO codes

  • Alpha-2TZ
  • Alpha-3TZA
  • Numeric834
  • Independenttrue
  • StatusOfficially assigned

Official subdivisions (31)

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

CodeNameType
TZ-01Arusharegion
TZ-19Coastregion
TZ-02Dar es Salaamregion
TZ-03Dodomaregion
TZ-27Geitaregion
TZ-04Iringaregion
TZ-05Kageraregion
TZ-28Kataviregion
TZ-08Kigomaregion
TZ-09Kilimanjaroregion
TZ-12Lindiregion
TZ-26Manyararegion
TZ-13Mararegion
TZ-14Mbeyaregion
TZ-16Morogororegion
TZ-17Mtwararegion
TZ-18Mwanzaregion
TZ-29Njomberegion
TZ-06Pemba Northregion
TZ-10Pemba Southregion
TZ-20Rukwaregion
TZ-21Ruvumaregion
TZ-22Shinyangaregion
TZ-30Simiyuregion
TZ-23Singidaregion
TZ-31Songweregion
TZ-24Taboraregion
TZ-25Tangaregion
TZ-07Zanzibar Northregion
TZ-11Zanzibar Southregion
TZ-15Zanzibar Westregion

Frequently asked questions

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

Use Tanzania in your app

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