Skip to content

Flag of MoroccoLogistics services in Morocco.

Middle East, North Africa, Afghanistan & Pakistan · Lower middle income · capital Rabat

Morocco scores 2.5 of 5 on the World Bank Logistics Performance Index 2018, 110th of 169 countries: mid-table worldwide.

The World Port Index lists 13 ports here, 4 of them large or medium; the biggest is Tangier-Mediterranean (MAPTM).

Its container ports handled 11.8 million TEU in 2024 (19th in the world).

Merchandise trade in 2025: $49.8 billion exports and $87.4 billion imports.

Logistics Performance Index2.54 / 5110th of 169 · 2018
Container port traffic11.8 million TEU19th in the world · 2024
Air freight92.6 million t-km2023
Rail freight3.1 billion t-km2021
Merchandise exports$49.8 billion10th in Middle East, North Africa, Afghanistan & Pakistan · 2025
Merchandise imports$87.4 billion2025

Source: World Bank Open Data, latest year reported per indicator; ranks count only countries with data.

Morocco logistics overview: modes, trade and gateways

Logistics services in Morocco use sea, air, rail, and road to move cargo in and out of the country. Container flows are large, at about 11.8 million TEU in 2024, supported by a long coastline of about 2,945 km and 13 seaports including Tangier-Mediterranean, Casablanca, Agadir, Tanger, and El Jorf Lasfar. Depths up to about 17 m at Tangier-Mediterranean and 15.5 m at El Jorf Lasfar allow handling of larger vessels. Scheduled air services operate through 17 airports including Mohammed V International Airport and Marrakesh Menara Airport, with air cargo reaching about 93 million tonne-km in 2023. Rail totals about 2,067 km and links key ports like Casablanca and Tanger to the interior. Overland, Morocco connects with Algeria, Mauritania, and Spanish territories at Ceuta and Melilla, supporting cross-border road freight to regional partners and feeder access to main ports.

Main exportsfertilizers, cars, garments, insulated wire, tomatoes
Export partnersSpain 20%, France 17%, Germany 6%, UK 5%, Italy 4%
Main importsrefined petroleum, cars, vehicle parts/accessories, natural gas, coal
Import partnersSpain 16%, China 11%, France 10%, USA 9%, Turkey 5%

Source: CIA World Factbook, top five goods and partners by value.

Freight forwarders in Morocco

Freight forwarders in Morocco should understand traffic through major seaports such as Tangier-Mediterranean, Casablanca, Tanger and Agadir, and how cargo routes link to Morocco’s 2,067 km rail network and about 2,945 km of coastline. Experience with main trade partners like Spain, France, Germany, the UK, Italy, China, the USA and Turkey matters for routing and documentation.

Logistics performance scores show weaker areas around customs, infrastructure and tracking compared with the world median, so shippers should ask how a freight forwarder handles customs clearance and shipment visibility. Membership in the AU and participation in the WTO framework mean a customs broker should be comfortable with preferential schemes and rules-of-origin. For sea freight, it can help if the forwarder works regularly with carriers that have offices in Morocco such as Arkas, CMA CGM, Evergreen, Hapag-Lloyd, Maersk, X-Press Feeders, HMM, ONE, OOCL, APL, Gold Star Line and MSC.

Need a forwarder for Morocco? Get FCL, LCL and air quotes from carriers and forwarders in one search.Compare freight rates

FCL and LCL shipping to and from Morocco

FCL and LCL shipping from and to Morocco uses a network of about 12 commercial ports, including Agadir, Casablanca, Tanger and Tangier-Mediterranean as key hubs. Tangier-Mediterranean, Agadir and Casablanca are large ports, with cargo pier depths of up to 17.1 m, supporting container ship operations alongside smaller ports such as El Jorf Lasfar and medium ports like Tanger.

Morocco handles about 11.8 million TEU and ranks 19th of 168 countries worldwide for container throughput, and 19th of 169 for liner shipping connectivity. Shipping lines with offices in cities such as Casablanca, Tangier, Tanger-Med and Agadir include Arkas, CMA CGM, Evergreen, Hapag-Lloyd, Maersk, X-Press Feeders, HMM, ONE, OOCL, APL, Gold Star Line and MSC. These carriers support FCL and LCL flows linked to exports such as fertilizers, cars, garments, insulated wire and tomatoes, and imports including refined petroleum, cars, vehicle parts, natural gas and coal.

Seaports in Morocco

13 ports in the World Port Index:3 large, 1 medium, 3 small, 6 very small. The 12 largest are below.

PortUN/LOCODESizeHarbour typeCargo pier depthRail access
Tangier-MediterraneanMAPTMLargeLCoastal (Breakwater)17.1 m-
AgadirMAAGALargeLCoastal (Breakwater)14 m-
CasablancaMACASLargeLCoastal (Breakwater)11 mYes
TangerMATNGMediumMCoastal (Breakwater)14 mYes
El Jorf LasfarMAJFLSmallSCoastal (Breakwater)15.5 m-
SafiMASFISmallSCoastal (Breakwater)11 mYes
KenitraMANNASmallSRiver (Natural)4.9 mYes
Port NadorMANDRVery SmallXSCoastal (Breakwater)9.4 m-
LaayouneMAEUNVery SmallXSCoastal (Natural)6.4 m-
MohammediaMAMOHVery SmallXSCoastal (Breakwater)6.4 mYes
El JadidaMAELJVery SmallXSCoastal (Breakwater)4.9 m-
Port D Al HoceimaMAAHUVery SmallXSCoastal (Breakwater)4.9 m-

Source: NGA World Port Index, Pub. 150. Depths are charted values, not today's draft limits. Old names are kept in brackets.

Shipping lines with offices in Morocco

CMA CGMAgadir · Casablanca · Tangier
EvergreenAgadir · Casablanca · Tangier
Hapag-LloydAgadir · Casablanca · Tangier
MaerskAgadir · Casablanca · Tanger
X-Press FeedersAgadir · Casablanca · Tangier
ArkasCasablanca · Tanger
HMMCasablanca · Tanger
ONECasablanca · Tangier
OOCLCasablanca · Tanger-Med
APLCasablanca
Gold Star LineCasablanca
MSCCasablanca
ZIMCasablanca

Source: the lines' own office and agent pages, checked 25 Oct 2026.

Air freight in Morocco

Air freight in Morocco uses 17 airports with scheduled services, including Al Massira (Agadir), Beni Mellal, Fes Saïss, Marrakesh Menara, and Mohammed V International Airport. Air cargo volume reached about 93 million tonne-km in 2023, ranking 66 of 184 globally and 12 of 22 in the regional group. This mode can be suitable for higher-value exports such as garments, car parts, insulated wire, and perishable products like tomatoes, as well as for urgent imports of vehicle parts, refined petroleum-related equipment, or other time-sensitive cargo. Main air gateways like Mohammed V International Airport connect to Morocco’s manufacturing and agricultural centers, complementing sea freight through ports including Casablanca and Tangier-Mediterranean.

Airports for air cargo

17 airports with scheduled passenger and cargo service; the first 12 are listed.

AGAAl Massira AirportAgadir (Temsia) · GMAD
BEMBeni Mellal AirportOulad Yaich · GMMD
FEZFes Saïss International AirportSaïss · GMFF
RAKMarrakesh Menara AirportMarrakesh · GMMX
CMNMohammed V International AirportCasablanca · GMMN
NDRNador Al Aaroui International AirportAl Aaroui · GMMW
OZZOuarzazate International AirportOuarzazate · GMMZ
OUDOujda Angads AirportAhl Angad · GMFO
RBARabat-Salé AirportRabat · GMME
TTUSania Ramel AirportTétouan · GMTN
TNGTangier Ibn Battuta AirportTangier · GMTT
OZGZagora AirportZagora · GMAZ

Source: OurAirports open data.

Rail and road freight in Morocco

Rail and road freight in Morocco relies on about 2,067 km of railway and multiple land borders. Rail freight volume reached about 3.1 billion tonne-km in 2021, ranked 51 of 113 worldwide and 3 of 13 in the region, and connects key ports such as Casablanca and Tanger with inland areas. The country shares borders with Algeria over about 1,941 km, Mauritania over about 1,564 km, and Spanish territories at Ceuta and Melilla over about 8 km and 10.5 km respectively, allowing road movements into North and West Africa and to European gateways via Spain. Overland routes feed exports of fertilizers, cars, garments, insulated wire, and tomatoes to ports and link import flows of refined petroleum, cars, vehicle parts and accessories, natural gas, and coal to inland receivers. Combined rail and road options allow shippers to balance cost and time, connecting industrial zones with seaports like Tangier-Mediterranean, Casablanca, Agadir, and El Jorf Lasfar.

Railway network2,067 km
Land bordersAlgeria 1,941 km; Mauritania 1,564 km; Spain (Ceuta) 8 km and Spain (Melilla) 10.5 km

Source: CIA World Factbook.

Customs clearance in Morocco

Customs clearance in Morocco operates within long-standing participation in international regimes, with WCO membership since 1968 and WTO membership confirmed. The average applied tariff was about 4.23 percent in 2021. On the logistics performance index, customs scores 2.33 compared with a world median of 2.6, indicating some room for improvement, while overall LPI is 2.54 vs 2.7. Infrastructure scores 2.43 vs a 2.6 median, and timeliness 2.88 vs 3.1. Export border compliance takes about 2 days and import compliance about 3 days according to 2018 data. When choosing brokers for Morocco, shippers should look for experience handling flows with main partners Spain, France, Germany, the UK, Italy, China, the USA, and Turkey, and understanding of regional rules through the AU. Standard documents such as the commercial invoice, packing list, and transport document remain the basis for most customs entries.

World Customs OrganizationMember since 1968
World Trade OrganizationMember
Trade and economic blocsAU
Average applied tariff4.2% (2021, weighted mean, all products)
LPI customs score2.33 / 5 (world median 2.6)
Export lead time, port or airport2.0 days median (2018)
Import lead time, port or airport3.0 days median (2018)

Every shipment needs at least a commercial invoice, a packing list and a transport document (bill of lading, air waybill or CMR). See Incoterms for who clears customs at each end.

Sources: Wikidata (customs authority, WCO membership), CIA World Factbook (WTO, blocs), World Bank (tariff, LPI, lead times). Rules change; confirm with a licensed customs broker.

Logistics Performance Index 2018: Morocco

Six survey scores from 1 to 5. The grey tick is the world median. Every LPI component sits at or below the world median; tracking and tracing trails it the most.

Customs2.33
Infrastructure2.43
International shipments2.58
Logistics competence2.49
Tracking and tracing2.51
Timeliness2.88

Source: World Bank LPI, survey of logistics professionals.

Logistics in Morocco: FAQ

What are the main ports in Morocco?

By World Port Index harbour size: Tangier-Mediterranean (MAPTM), Agadir (MAAGA), Casablanca (MACAS), Tanger (MATNG). 13 ports in total.

How does customs clearance work in Morocco?

Morocco has been a World Customs Organization member since 1968. Average applied tariff: 4.2% (2021). LPI customs score 2.3 against a world median of 2.6.

Which shipping lines have offices in Morocco?

Arkas, CMA CGM, Evergreen, Hapag-Lloyd, Maersk, X-Press Feeders, HMM, ONE and 5 more, according to the lines' own office pages.

How to choose a freight forwarder in Morocco?

Freight forwarders in Morocco should understand traffic through major seaports such as Tangier-Mediterranean, Casablanca, Tanger and Agadir, and how cargo routes link to Morocco’s 2,067 km rail network and about 2,945 km of coastline. Experience with main trade partners like Spain, France, Germany, the UK, Italy, China, the USA and Turkey matters for routing and documentation.

How good is logistics in Morocco?

Morocco scores 2.5 of 5 on the World Bank LPI 2018, 110th of 169. Every LPI component sits at or below the world median; tracking and tracing trails it the most.

Which airports in Morocco handle air freight?

Airports with scheduled service: Al Massira Airport (AGA), Beni Mellal Airport (BEM), Fes Saïss International Airport (FEZ), Marrakesh Menara Airport (RAK), Mohammed V International Airport (CMN) and 12 more.

Neighbours and Middle East, North Africa, Afghanistan & Pakistan

Data built 31 Oct 2026. Text written from these figures and checked against them. Flags: flag-icons (MIT). Something out of date? [email protected].