TZ Prefix and Three-Character Location Code
Tanzania, United Republic Of uses the ISO country prefix TZ. A UN/LOCODE normally combines this country prefix with a three-character location identifier, such as TZDAR for Dar Es Salaam.
Tanzania, United Republic Of has 18 ports and terminals indexed in the Ecer Freight database and serves as an important Indian Ocean gateway for East African trade and landlocked regional markets.
Explore port codes, cargo gateways, regional roles and indicative shipping routes for Tanzania, United Republic Of.
Tanzania, United Republic Of has a coastline on the western Indian Ocean, with Dar Es Salaam serving as the principal container and general-cargo gateway. Zanzibar, Tanga and Mtwara provide additional maritime access, while the country’s corridors connect coastal cargo with inland markets in East and Central Africa.
How many seaports does Tanzania, United Republic Of have?
Tanzania, United Republic Of has 18 seaports and terminals indexed by Ecer Freight as of the Nov 2026 database snapshot. This is an indexed-coverage figure, not a claim that all locations have the same commercial or container-port status.
What is the largest or busiest port in Tanzania, United Republic Of?
Dar Es Salaam, UN/LOCODE TZDAR, is generally the country’s principal seaport and container gateway. It handles a broad mix of containerized, general and project cargo and supports inland distribution corridors.
Which areas handle the main maritime cargo flows?
The central coast around Dar Es Salaam is the leading cargo concentration, while Tanga in the north and Mtwara in the south provide important regional and bulk-cargo capacity. Zanzibar also serves island and tourism-related supply chains.
The table below reflects the leading ports and terminals in the Ecer Freight country sample, ordered by operational relevance. Tanzania, United Republic Of does not have a consistently published, comparable 2025 global league table for every listed location; therefore, World rank, throughput and YoY fields are shown as unavailable rather than estimated.
Selected principal ports and cargo gateways; 2025 throughput figures require confirmation from the relevant port authority or carrier.
The central coast is the country’s primary maritime logistics cluster and the main interface between ocean services, container terminals and inland transport corridors.
Central coast ports in the indexed sample
| Port | UN-LOCODE | City / Province | Main cargo role |
|---|---|---|---|
| Dar Es Salaam | TZDAR | Dar Es Salaam / — | Container, general cargo, vehicles and project freight |
| Bagamoyo | TZBGY | Pwani Region / — | Coastal and regional cargo potential |
Northern coastal ports support cargo flows serving northern Tanzania and nearby cross-border markets, with Tanga representing the principal named gateway in this cluster.
Northern coast ports in the indexed sample
The Zanzibar cluster supports island distribution, consumer goods, tourism-related supplies and regional maritime services. City and terminal-level records may appear separately in port-code systems.
Zanzibar and island ports in the indexed sample
| Port | UN-LOCODE | City / Province | Main cargo role |
|---|---|---|---|
| Zanzibar | TZZNZ | Zanzibar / — | Island container, general cargo and consumer supplies |
| Zanzibar | TZZAI | — / — | City or terminal-level port-code reference |
| Pemba Island | TZPBI | Pemba Island / — | Island and local maritime supply chains |
| Pemba | TZPMA | Pemba / — | Island cargo and coastal services |
Southern coastal ports serve regional cargo and resource-linked supply chains. Mwanza and Kigoma are inland waterway locations with lake-port functions rather than open-ocean container gateways.
Southern and inland waterway-connected ports in the indexed sample
| Port | UN-LOCODE | City / Province | Main cargo role |
|---|---|---|---|
| Mtwara | TZMTW | Mtwara Region / — | Bulk, general cargo and southern regional freight |
| Mtwara | TZMYW | Mtwara / — | Port and terminal-level operational reference |
| Lindi | TZLDI | Lindi / — | Local coastal and regional cargo |
| Mikindani | TZMIK | Mikindani / — | Local coastal maritime activity |
| Mwanza | TZMWZ | Mwanza / — | Lake-port distribution and inland cargo |
| Kigoma | TZTKQ | Kigoma / — | Lake-port and inland regional logistics |
UN/LOCODE references help freight forwarders, carriers and customs stakeholders identify transport locations. A code should be checked against the shipment’s actual loading point, terminal record and carrier booking instructions.
Tanzania, United Republic Of uses the ISO country prefix TZ. A UN/LOCODE normally combines this country prefix with a three-character location identifier, such as TZDAR for Dar Es Salaam.
The same port name can appear in more than one operational record when a database distinguishes a city, port area or terminal. Tanga and Zanzibar illustrate why the precise code should be confirmed before documentation is issued.
Compare the code in the booking, bill of lading and customs documents with the UNECE UN/LOCODE reference and the Ecer Freight port directory. Carrier systems may apply additional terminal identifiers.
Transit times are indicative port-to-port ranges and vary with vessel schedule, transshipment, equipment availability, congestion, customs procedures and final inland delivery requirements.
Containerized exports and imports commonly move through Dar Es Salaam or Zanzibar with connections to major European gateway networks.
Asia–East Africa services support machinery, consumer goods, electronics, vehicles and industrial inputs moving through the principal coastal gateways.
The western Indian Ocean position provides access to Gulf and Red Sea trade networks for food products, consumer cargo and industrial goods.
Dar Es Salaam and other coastal locations connect maritime imports with inland distribution corridors, while lake ports support separate domestic and cross-border waterway flows.
This page separates Ecer Freight’s indexed port coverage from official national or port-authority operational statistics. Public figures are included only where a comparable and sufficiently reliable source is available.
Tanzania, United Republic Of has 18 seaports and terminals indexed by Ecer Freight in the Nov 2026 database snapshot. The figure describes database coverage and does not represent a single official classification of all maritime facilities.
Dar Es Salaam is generally the main commercial port and container gateway. Its indexed UN/LOCODE is TZDAR.
The principal clusters are the central coast around Dar Es Salaam, the northern coast around Tanga, the southern coast around Mtwara and Lindi, and the Zanzibar and Pemba island group. Mwanza and Kigoma serve lake-port and inland waterway roles.
UN/LOCODE references use the TZ country prefix followed by a three-character location identifier. Examples in the indexed sample include TZDAR for Dar Es Salaam, TZTAN for Tanga and TZMTW for Mtwara.
The page is prepared for 2026 and uses a Nov 2026 first-party database snapshot. Operational statistics are referenced against the most recent complete reporting year, 2025, where an official and comparable figure is available; schedules and port conditions remain subject to confirmation.
Shippers can compare FCL sea-freight rates or LCL sea-freight rates. A usable request should include the origin and destination, cargo description, weight, dimensions, container type, incoterms and required shipment date.
Editorial note: Port names and UN/LOCODE records are based on the Ecer Freight database snapshot for Nov 2026. Official port and transport statistics are reviewed against public authority releases and the latest complete reporting year available, with page content reviewed quarterly. Port schedules, terminal conditions, capacity and transit times can change and should be confirmed before booking.
Ecer Freight · Seaports in Tanzania, United Republic Of: Port Codes, Throughput & Regional Guide (2026) · Data reviewed quarterly · Port Codes · Ports by Country · Contact