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, regional distribution, transshipment and gateway cargo flows.

Use the port-code directory to identify Morocco gateways, compare regional cargo roles and prepare sea-freight routing requests.

Morocco Port Overview

Morocco combines Atlantic gateways with Mediterranean access through the Strait of Gibraltar. Port selection depends on cargo type, vessel service, inland destination, transshipment requirements and the latest carrier schedule.

32 Morocco ports & terminals indexed in our database Ecer Freight database · Nov 2026
11.1M Containers handled by Tanger Med in 2025; annual change reported as broadly stable Tanger Med Port Authority · 2025
— Morocco-wide commercial-port cargo tonnage for 2025; consolidated official figure not verified in this snapshot Moroccan port authorities · 2025
— Morocco-wide berth count for 2025; definitions vary by port and terminal Moroccan port authorities · 2025

How many seaports does Morocco have?

Morocco has 32 seaports and terminals indexed by Ecer Freight in the Nov 2026 database snapshot. This is an indexed-coverage figure, not a claim that every facility has the same commercial or vessel-handling role.

What is Morocco's busiest container gateway?

Tanger Med, represented in the indexed sample by Port Tangier Mediterranee (MAPTM), is Morocco's principal container transshipment and gateway complex. Casablanca (MACAS) remains a major national cargo gateway.

Which Moroccan regions handle the main cargo flows?

The northern Strait of Gibraltar corridor around Tangier and the Atlantic industrial corridor around Casablanca are the principal trade areas, with Agadir (MAAGA) serving important southern agricultural and regional cargo flows.

Top Ports in Morocco by Cargo Role

The table separates indexed port coverage from global league-table ranking. Publicly reported container data is available for the Tanger Med complex; a unified world rank, 2025 throughput and year-on-year series is not published consistently for every Moroccan port listed here.

Selected active Moroccan gateways and terminals · latest comparable public data reviewed in 2026

World rank Port UN-LOCODE 2025 throughput (M TEU) YoY change Region
17 Port Tangier Mediterranee MAPTM 11.10 +8.0% Strait of Gibraltar
— Casablanca MACAS — — Atlantic industrial corridor
— Tangier MATAN — — Strait of Gibraltar
— Agadir MAAGA — — Southern Atlantic
— Nador MANDR — — Eastern Mediterranean
— Safi MASAF — — Central Atlantic
— Aaiun MAEUN — — Southern Atlantic
— Mohammedia MAMOH — — Casablanca-Settat coast

Morocco Port Regions and Cargo Functions

Strait of Gibraltar and Northern Morocco

The northern gateway connects Moroccan supply chains with Mediterranean, European and transshipment networks. Tangier-related facilities are particularly relevant for time-sensitive container routing.

Selected northern ports and terminals

PortUN-LOCODECity / ProvinceMain cargo role
Port Tangier MediterraneeMAPTMPort Tangier Mediterranee / Container transshipment, gateway cargo and Ro-Ro connectivity
TangierMATANTangier / Regional commercial and maritime support functions
TangierMATNGTangier / City-level port and logistics reference
TetouanMATTUTetouan / Local coastal and regional cargo support
Al HoceimaMAAHUAl Hoceima / Regional Mediterranean cargo and passenger services

Casablanca-Settat and Central Atlantic

The central Atlantic coast serves Morocco's largest urban and industrial market. Casablanca and nearby facilities are commonly evaluated for import distribution, industrial cargo and inland delivery to central Morocco.

Selected central Atlantic ports

PortUN-LOCODECity / ProvinceMain cargo role
CasablancaMACASCasablanca / National container, general cargo and industrial gateway
MohammediaMAMOHMohammedia / Energy, liquid bulk and industrial cargo functions
El JadidaMAEJAEl Jadida / Regional industrial and bulk cargo support
Jorf LasfarMAJOLAlgar Dida / Industrial, bulk and project cargo
SafiMASAFSafi / Bulk, industrial and general cargo

Southern Atlantic and Agadir Corridor

Southern Atlantic gateways support fisheries, agriculture, food products, regional distribution and selected bulk movements. Transit times and inland delivery conditions should be confirmed against the actual shipper and consignee locations.

Selected southern Atlantic ports

PortUN-LOCODECity / ProvinceMain cargo role
AgadirMAAGAAgadir / Agri-food, fisheries, containers and regional cargo
AaiunMAEUNAaiun / Southern regional supply and general cargo
TarfayaMATARTarfaya / Regional coastal and project-related cargo
Sidi IfniMASIISidi Ifni / Fishing and local coastal cargo
BoujdourMABUJBoujdour / Southern coastal and fishing-related cargo
DakhlaMAVILDakhla / Fishing, regional supply and coastal cargo

Eastern Mediterranean

Eastern Mediterranean facilities provide regional alternatives for cargo serving northeastern Morocco and nearby inland markets. Service frequency and equipment availability can be more variable than at the main container gateways.

Selected eastern Mediterranean ports

PortUN-LOCODECity / ProvinceMain cargo role
NadorMANDRNador / Regional Mediterranean gateway and general cargo
NadorMANADNador / City-level port and logistics reference
Ras El MaMAREMRas El Ma / Local coastal and fishing-related cargo

Morocco UN/LOCODE and Port Code Guide

MA Prefix and Three-Letter Location Code

Morocco UN/LOCODE entries use the country prefix MA followed by a three-character location identifier. For example, Casablanca is listed as MACAS and Agadir as MAAGA.

City-Level and Terminal-Level References

A city-level code and a terminal or facility reference may coexist in operational databases. The exact code should be checked against the booking instruction, carrier system, bill of lading and customs documentation before cargo is dispatched.

How to Verify a Morocco Port Code

Compare the code with the UNECE UN/LOCODE reference and then check the relevant Ecer Freight port record through the port directory. Carrier acceptance and terminal naming should also be confirmed for the shipment.

Shipping from Morocco: Main Trade Lanes

Morocco's routing options reflect its position between the Atlantic, Mediterranean and European markets. Transit times below are indicative and depend on sailing schedules, transshipment, equipment, port omissions, customs and final delivery location.

Morocco to Northern Europe

Regular container services connect Morocco with major North European hubs for industrial goods, consumer products, automotive cargo and agricultural exports.

Main origin portsPort Tangier Mediterranee, Casablanca
Main destination portsRotterdam, Antwerp-Bruges, Hamburg
Indicative transit timeTypically 4–10 days port to port

Morocco to Mediterranean Europe

Short-sea and feeder connections serve Spain, Italy, France and other Mediterranean markets, with schedules subject to carrier rotation and seasonal demand.

Main origin portsTangier, Port Tangier Mediterranee, Casablanca
Main destination portsAlgeciras, Valencia, Barcelona, Genoa
Indicative transit timeTypically 1–7 days port to port

Morocco to West Africa

Atlantic services support general cargo, food products, project cargo and containerized distribution along West African markets.

Main origin portsCasablanca, Port Tangier Mediterranee, Agadir
Main destination portsDakar, Abidjan, Tema, Lagos
Indicative transit timeTypically 7–18 days port to port

Morocco to Asia

Asia-bound cargo generally uses direct or transshipment services through Mediterranean and global hub networks. Routing and equipment should be checked before booking.

Main origin portsPort Tangier Mediterranee, Casablanca
Main destination portsSingapore, Port Klang, Shanghai, Ningbo
Indicative transit timeTypically 25–45 days port to port

Data Methodology and Sources

Port coverage, naming and codes are presented as a practical freight-forwarding reference. Throughput figures and rankings are kept separate from Ecer Freight's indexed-port count, and figures are subject to revision by the responsible authority.

  1. Ecer Freight Ports Database — first-party indexed coverage of 32 Morocco ports and terminals in the Nov 2026 snapshot.
  2. United Nations Economic Commission for Europe — UN/LOCODE structure and location-code reference.
  3. Tanger Med Port Authority — publicly reported container activity and port-performance information.
  4. National Ports Agency of Morocco — Moroccan commercial-port activity and port-sector information.
  5. High Commission for Planning of Morocco — national economic and statistical context.

Morocco Port FAQ

How many seaports does Morocco have?

Morocco has 32 seaports and terminals indexed by Ecer Freight in the Nov 2026 database snapshot. The number describes indexed coverage and does not equate to a single official national classification.

What is the main container port in Morocco?

Port Tangier Mediterranee, coded MAPTM in the supplied port sample, is Morocco's leading container and transshipment gateway. Casablanca, coded MACAS, is also a major national cargo gateway.

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

The MA prefix identifies Morocco in the UN/LOCODE format. It is followed by a three-character location identifier, such as MACAS for Casablanca or MAAGA for Agadir.

Which Morocco port region is best for European cargo?

The Tangier and Strait of Gibraltar corridor generally offers the strongest proximity and transshipment advantages for European cargo. Casablanca can be practical for central Moroccan industrial and consumer markets.

Are the Morocco throughput figures current?

The page was prepared for 2026 using a Nov 2026 data snapshot and the latest complete annual information available for review. Published port figures may be revised, and schedules, rankings and year-on-year comparisons should be reconfirmed before contracting.

How can a shipper request a Morocco sea-freight quote?

A shipper should provide the origin, destination, cargo description, packaging, weight, volume, container type, Incoterm and desired sailing date. FCL and LCL quote tools can then be used to compare available routing options.

Should the port code be checked before booking?

Yes. The selected code should match the carrier booking, terminal instructions, commercial documents and customs requirements. City-level and terminal-level references can differ, so the exact operational location should be confirmed before cargo handover.

Editorial note: This Morocco port guide combines Ecer Freight's first-party port index with publicly available port-authority and institutional information. Indexed coverage is reviewed with the database, while throughput, ranking and service information are updated as authoritative annual data becomes available; operational details remain subject to carrier and terminal confirmation.

Ecer Freight · Seaports in Morocco: Port Codes, Throughput & Regional Guide (2026) · Data reviewed quarterly · Port Codes · Ports by Country · Contact