Transport and infrastructure in Morocco

Our listing of the primary kinds of transport compares the infrastructure of Morocco with the average of all countries in Africa. The traffic routes have noticeable defects in many places and are often not in a particularly good condition.

In terms of the length of its rail network, Morocco ranks 97th in the world with 0.06 meters per inhabitant. In total, the rail network is 2,295 kilometers long. Freight traffic on the rails most recently totaled 3.90 billion tons and kilometers traveled. Passenger traffic reached 4.48 billion passenger-kilometers in 2018.

Airports in Morocco

Back to overview: Morocco

Road traffic

The network of roads and highways has a total length of 57,300 km. For each of the country's 37.34 million inhabitants, this corresponds to 1.53 meters. This puts Morocco in 184th place in the global ranking. However, the country's size and population density of around 84 inhabitants per km² must also be taken into account. Countries with fewer inhabitants on the same or even larger area naturally achieve quite different values here and have to connect remote areas to the transport network despite a smaller population.

With an average of 6774 traffic fatalities per year (2012 - 2019), road traffic in Morocco is considered rather mixed. This corresponds to around 4.3 accident fatalities per 19.2 inhabitants per year. By comparison, this figure is 12.2 in the USA and 17.1 worldwide.

In Morocco, traffic drives on the right-hand side of the road, i.e. people drive in the right-hand lane and overtake on the left. Oncoming traffic comes toward you on the left side. Here you can also find an overview of all countries with left-hand traffic.



 totalper 1 mio
per km²
Roadways57,300 km1,534.35 km128.32 m
Railroads2,300 km61.45 km5.14 m
Waterways0 km0.00 km0.00 m
Commercial harbors932.490.000


 total per 1 mio
per km²
Roadways3,002,100 km2,186.19 km99.00 m
Railroads88,600 km64.51 km2.92 m
Waterways50,100 km36.46 km1.65 m
Commercial harbors7,8295.700.000

Data sources used

Global Health Observatory Data Repository (World Health Organization)
Internation Union of Railways (UIC)
CIA Factbook
OECD Statistics
Wikipedia (german)
Morocco: AirportsLargest airports and airlines in MoroccoThe 14 biggest airports and 2 airlines in Morocco with further information and data
Morocco: ClimateClimate and temperature development in MoroccoA climate analysis for Morocco incl. temperatures, humidity, rain days per month, hours of sunshine, Water temperature, Rainfalls
Ranking: MegacitiesMega cities - the biggest cities all over the worldRanking of the biggest cities worldwide. On top: Shanghai, Chongqing and Beijing