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
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.
| Code | Name | Type |
|---|---|---|
| TZ-01 | Arusha | region |
| TZ-19 | Coast | region |
| TZ-02 | Dar es Salaam | region |
| TZ-03 | Dodoma | region |
| TZ-27 | Geita | region |
| TZ-04 | Iringa | region |
| TZ-05 | Kagera | region |
| TZ-28 | Katavi | region |
| TZ-08 | Kigoma | region |
| TZ-09 | Kilimanjaro | region |
| TZ-12 | Lindi | region |
| TZ-26 | Manyara | region |
| TZ-13 | Mara | region |
| TZ-14 | Mbeya | region |
| TZ-16 | Morogoro | region |
| TZ-17 | Mtwara | region |
| TZ-18 | Mwanza | region |
| TZ-29 | Njombe | region |
| TZ-06 | Pemba North | region |
| TZ-10 | Pemba South | region |
| TZ-20 | Rukwa | region |
| TZ-21 | Ruvuma | region |
| TZ-22 | Shinyanga | region |
| TZ-30 | Simiyu | region |
| TZ-23 | Singida | region |
| TZ-31 | Songwe | region |
| TZ-24 | Tabora | region |
| TZ-25 | Tanga | region |
| TZ-07 | Zanzibar North | region |
| TZ-11 | Zanzibar South | region |
| TZ-15 | Zanzibar West | region |
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.