MA Prefix and Three-Character Location Code
A Morocco UN/LOCODE normally begins with the ISO2 prefix MA followed by three characters identifying the location, for example MA plus a location-specific suffix published in the UNECE code list.
Morocco has 32 ports and terminals indexed in the Ecer Freight database, supporting Atlantic and Mediterranean trade between Europe, Africa, the Middle East and the Americas.
Review indexed port records, UN/LOCODE guidance, throughput context and Morocco shipping lanes in one country-level reference.
Morocco is a strategic maritime gateway on the Strait of Gibraltar, with port infrastructure serving container shipping, vehicles, dry bulk, liquid bulk, energy products, fishing and regional distribution. Indexed coverage and national port statistics are separate measures.
How many seaports does Morocco have?
Morocco has 32 seaports and terminals indexed by Ecer Freight in its October 2026 database snapshot. This is an indexed-coverage figure, not a claim that Morocco has only 32 physical maritime facilities.
What is Morocco’s busiest container gateway?
Tanger Med is Morocco’s principal container gateway and a major transshipment hub on the Strait of Gibraltar. Its 2025 container throughput was reported at approximately 11.1 million TEU by the Tanger Med Port Authority.
Which regions are most important for Morocco freight?
The northern Strait of Gibraltar corridor, the Atlantic Casablanca–Jorf Lasfar industrial belt and the southern Atlantic gateway around Agadir are the principal geographic areas for Morocco maritime logistics.
The table below separates public throughput league-table data from Ecer Freight indexed coverage. The supplied first-party sample contains no Morocco-prefixed UN/LOCODE records, so port-code rows require validation before publication as Morocco records.
Publicly reported 2025 container activity and indexed-code validation status
| World rank | Port | UN-LOCODE | 2025 throughput (M TEU) | YoY change | Region |
|---|---|---|---|---|---|
| — | Tanger Med | — | 11.1 | +8% | Strait of Gibraltar |
| — | Casablanca | — | — | — | Atlantic industrial corridor |
| — | Jorf Lasfar | — | — | — | Central Atlantic |
| — | Safi | — | — | — | Atlantic phosphate and bulk corridor |
| — | Agadir | — | — | — | Southern Atlantic |
| — | Mohammedia | — | — | — | Casablanca–Atlantic energy corridor |
Morocco’s maritime network is best understood through its northern transshipment corridor, Atlantic industrial ports and southern fishing and agricultural gateways. Port names below are geographic references; UN/LOCODE publication should be checked against an authoritative Morocco-specific code file.
Northern facilities are positioned for short-sea European services, transshipment, automotive logistics and gateway cargo moving through the Strait of Gibraltar.
Northern Morocco maritime cluster
| Port | UN-LOCODE | City / Province | Main cargo role |
|---|---|---|---|
| Tanger Med | — | Tangier / Tangier-Tetouan-Al Hoceima | Containers, transshipment, vehicles and logistics |
| Tangier | — | Tangier / Tangier-Tetouan-Al Hoceima | Passenger, ro-ro and regional cargo services |
The central Atlantic belt connects Morocco’s largest commercial and industrial markets with container, bulk, energy and project cargo services.
Central Atlantic industrial cluster
| Port | UN-LOCODE | City / Province | Main cargo role |
|---|---|---|---|
| Casablanca | — | Casablanca / Casablanca-Settat | Gateway containers, general cargo and distribution |
| Jorf Lasfar | — | El Jadida / Casablanca-Settat | Phosphate products, dry bulk, energy and industrial cargo |
| Mohammedia | — | Mohammedia / Casablanca-Settat | Liquid bulk and energy-related cargo |
Southern Atlantic ports support agricultural exports, fisheries, general cargo and domestic distribution, with service patterns varying by season and carrier rotation.
Southern Atlantic cluster
| Port | UN-LOCODE | City / Province | Main cargo role |
|---|---|---|---|
| Agadir | — | Agadir / Souss-Massa | Containers, fisheries, agricultural exports and general cargo |
| Safi | — | Safi / Marrakesh-Safi | Phosphate, bulk and industrial cargo |
UN/LOCODE is used by carriers, forwarders, customs systems and transport documents to identify trade locations. Code validation is important because a country-page record and a physical terminal record may use different identifiers.
A Morocco UN/LOCODE normally begins with the ISO2 prefix MA followed by three characters identifying the location, for example MA plus a location-specific suffix published in the UNECE code list.
A city-level port code may cover a wider commercial location, while a terminal or facility record can be used operationally by a carrier or port community system. Booking instructions should follow the carrier’s accepted code.
Cross-check the location against the UNECE UN/LOCODE directory and compare it with the current Ecer Freight port-code directory. The supplied October 2026 sample requires Morocco-specific code validation before individual detail links are published.
Transit times are indicative port-to-port ranges. Actual schedules depend on the origin terminal, carrier rotation, transshipment, equipment availability, customs clearance and seasonal congestion.
Regular container and ro-ro connections link Morocco with major North European distribution markets.
Short-sea services support Spain, Italy, France, Türkiye and wider Mediterranean distribution.
Atlantic services connect Morocco with West African gateways for consumer goods, project cargo and regional distribution.
Long-haul cargo generally uses direct or transshipment services through Mediterranean, European or Atlantic hubs.
This page distinguishes Ecer Freight’s indexed port coverage from official throughput, container and infrastructure statistics. Figures are reviewed against available public releases and should be confirmed for time-sensitive quotations.
Morocco has 32 seaports and terminals indexed by Ecer Freight in the October 2026 database snapshot. The indexed count should not be interpreted as the total number of physical port facilities.
Tanger Med is generally regarded as Morocco’s leading container and transshipment gateway. The port authority reported approximately 11.1 million TEU in 2025.
MA is Morocco’s ISO2 and UN/LOCODE country prefix. It is followed by a three-character location identifier, subject to confirmation against the current UNECE directory.
The Strait of Gibraltar corridor, the Casablanca–Jorf Lasfar Atlantic industrial belt and the southern Atlantic gateway around Agadir are the main commercial clusters.
The Ecer Freight indexed-count snapshot is from October 2026. The latest complete statistical year used where available is 2025; operational schedules and port performance remain subject to official updates.
Yes. FCL and LCL pricing depends on origin, destination, equipment, cargo details, sailing date, transshipment and local charges. Current rate requests can be submitted through the relevant Ecer Freight quote service.
City, gateway and terminal identifiers may differ between carrier systems, customs documents and port community platforms. Code verification helps avoid routing, documentation and delivery errors.
Editorial note: This Morocco guide combines Ecer Freight’s first-party indexed coverage with publicly available port-authority, government and international maritime references. Indexed records are reviewed with the country directory, while throughput and infrastructure figures are refreshed as authoritative releases become available.
Ecer Freight · Seaports in Morocco: Port Codes, Throughput & Regional Guide (2026) · Data reviewed quarterly · Port Codes · Ports by Country · Contact