Inquiries
Order Track
About Us
Topic
Language
Chinese
English

Seaports in Morocco: Port Codes, Throughput & Regional Guide (2026)

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 Port Overview

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.

32 Morocco ports & terminals indexed in our database Ecer Freight database · Oct 2026
11.1M Container throughput, 2025; approximately +8% YoY Tanger Med Port Authority 2025 results
— National commercial port cargo tonnage, 2025; consolidated YoY figure subject to official bulletin confirmation Moroccan Ministry of Transport · 2025
— National commercial berths, 2025; official consolidated count not stated here Moroccan port authorities · 2025

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.

Top Morocco Ports by Container and Freight Activity

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 Port Regions and Cargo Roles

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.

Strait of Gibraltar and Northern Morocco

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

PortUN-LOCODECity / ProvinceMain cargo role
Tanger Med—Tangier / Tangier-Tetouan-Al HoceimaContainers, transshipment, vehicles and logistics
Tangier—Tangier / Tangier-Tetouan-Al HoceimaPassenger, ro-ro and regional cargo services

Casablanca–Jorf Lasfar Atlantic Belt

The central Atlantic belt connects Morocco’s largest commercial and industrial markets with container, bulk, energy and project cargo services.

Central Atlantic industrial cluster

PortUN-LOCODECity / ProvinceMain cargo role
Casablanca—Casablanca / Casablanca-SettatGateway containers, general cargo and distribution
Jorf Lasfar—El Jadida / Casablanca-SettatPhosphate products, dry bulk, energy and industrial cargo
Mohammedia—Mohammedia / Casablanca-SettatLiquid bulk and energy-related cargo

Southern Atlantic and Fishing Gateway

Southern Atlantic ports support agricultural exports, fisheries, general cargo and domestic distribution, with service patterns varying by season and carrier rotation.

Southern Atlantic cluster

PortUN-LOCODECity / ProvinceMain cargo role
Agadir—Agadir / Souss-MassaContainers, fisheries, agricultural exports and general cargo
Safi—Safi / Marrakesh-SafiPhosphate, bulk and industrial cargo

Morocco Port Codes and UN/LOCODE Guidance

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.

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.

City-Level and Terminal-Level Records

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.

How to Verify a Morocco Port 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.

Shipping from Morocco: Main Trade Lanes

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.

Morocco–North Europe

Regular container and ro-ro connections link Morocco with major North European distribution markets.

Main origin portsTanger Med, Casablanca
Main destination portsRotterdam, Antwerp, Hamburg
Reference transitTypically 4–10 days

Morocco–Mediterranean

Short-sea services support Spain, Italy, France, Türkiye and wider Mediterranean distribution.

Main origin portsTanger Med, Casablanca
Main destination portsAlgeciras, Valencia, Marseille, Genoa
Reference transitTypically 1–8 days

Morocco–West Africa

Atlantic services connect Morocco with West African gateways for consumer goods, project cargo and regional distribution.

Main origin portsCasablanca, Tanger Med
Main destination portsDakar, Abidjan, Tema, Lagos
Reference transitTypically 7–18 days

Morocco–Asia and the Americas

Long-haul cargo generally uses direct or transshipment services through Mediterranean, European or Atlantic hubs.

Main origin portsTanger Med, Casablanca
Main destination portsSingapore, Shanghai, New York, Santos
Reference transitTypically 25–55 days

Morocco Port Data Methodology

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.

  1. Ecer Freight Ports Database — first-party indexed coverage of 32 Morocco ports and terminals in the Oct 2026 snapshot.
  2. Tanger Med Port Authority — official port activity and container-throughput releases, including 2025 results.
  3. Morocco Ministry of Transport and Logistics — national transport and port-sector policy and statistical publications.
  4. UNECE UN/LOCODE — international location-code reference for country prefixes and maritime locations.
  5. UNCTAD Review of Maritime Transport — international maritime trade and shipping context; not a substitute for port-authority throughput data.

Morocco Port FAQ

How many seaports does Morocco have?

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.

What is the largest or busiest port in Morocco?

Tanger Med is generally regarded as Morocco’s leading container and transshipment gateway. The port authority reported approximately 11.1 million TEU in 2025.

What does the MA prefix mean in a Morocco port code?

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.

Which Morocco regions are important for sea freight?

The Strait of Gibraltar corridor, the Casablanca–Jorf Lasfar Atlantic industrial belt and the southern Atlantic gateway around Agadir are the main commercial clusters.

How current are the Morocco port figures?

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.

Can a freight forwarder quote FCL or LCL shipping from Morocco?

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.

Why should a Morocco port code be checked before booking?

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