Transport · Railway network length
Morocco boasts one of the most developed railway networks in Africa. Its total length is 2.1 kkm, ranking the country 66th in the world in 2026. The network connects key economic hubs from Tangier in the north to Marrakech in the south, serving both passenger traffic (including the high-speed Al Boraq line) and the transport of phosphates, the kingdom's primary mineral wealth.
Data for 2026 · unit: kkm
Position
#66 / 197
Morocco world ranking
Country position on the scale from last to first place for this indicator.
MA
#66
#197#1
Trend
Change over time
Change in indicator over the available period.
1.5
1950
1.9
1990
1.9
2000
2.1
2010
2.1
2020
3.0
2025
2.1
2026
Values — kkm
Comparison
Top countries by Railway network length
Where Morocco stands in the world ranking.
1
USUSA
218 K
2
INIndia
68 K
3
CACanada
48 K
4
DEGermany
33 K
5
BRBrazil
29 K
6
FRFrance
28 K
7
JPJapan
27 K
8
MXMexico
27 K
Full world rankingarrow_forward
People also search for
Other pages of the reference by this indicator.
Frequently asked questions
Railway network length in Morocco — how much?
Based on 2026 data — 2.1 kkm. This is rank #66 out of 197 countries.
What is Morocco's rank by Railway network length?
Morocco ranks #66 out of 197 countries in the world ranking by «Railway network length».
How has Railway network length changed in Morocco?
Over the available period the indicator changed from 0 to 2.1 kkm.