Skip to content

Independent statistics from official sources: World Bank, IMF, WHO and UN agencies

Rail lines in Morocco

Rail lines in Morocco was 2,295 (km) in 2021. That is up from 2,109 in 2011 (8.8%). The earliest observation is 1,907 in 1995. In 2020, it ranked 41 of 66 countries with data (rank 1 = highest value).

Latest value
2,295
km · 2021
5-year change
+186
2016 to 2021, +8.82%
10-year change
+186
2011 to 2021, +8.82%
World rank
41
of 66 countries in 2020

History

Source: Railisa Database, International Union of Railways (UIC) (IS.RRS.TOTL.KM)trackingzoo.com

Lines break where years are missing; nothing is interpolated. Regional and world lines are the provider's own weighted aggregates.

Ranking in 2020

Rank 1 is the highest value. Higher is not necessarily better for this measure.
RankCountrykm
1United States148,750
2China106,235
3Russia85,555
4India67,956
5Canada48,309
…
38Portugal2,526
39Chile2,396
40Greece2,345
41Morocco2,295
42Azerbaijan2,239
43Lithuania1,911
44Ireland1,888

Full ranking

Similar countries

Same region and income group, latest available year for each (years can differ).

CountryValueYear
Djibouti7812003
Egypt5,1532016
Lebanon4012002
Pakistan7,7912019
Tunisia1,7772021

All observations

YearkmStatus
20212,295reported
20202,295reported
20192,295reported
20182,295reported
20172,109reported
20162,109reported
20152,109reported
20142,109reported
20132,109reported
20122,109reported
20112,109reported
20102,109reported
20092,190reported
20081,989reported
20071,907reported
20061,907reported
20051,907reported
20041,907reported
20031,907reported
20021,907reported
20011,907reported
20001,907reported
19991,907reported
19981,907reported
19971,907reported
19961,907reported
19951,907reported

27 observations from 1995 to 2021.

Definition and source

The total length of rail line in the country operated for passenger transport, goods transport, or both.

Source: Railisa Database, International Union of Railways (UIC) via World Bank World Development Indicators (IS.RRS.TOTL.KM). Dataset version 2026-11-11, retrieved 2026-12-02. Licence: cc-by-4-0-world-bank.

How to cite this page
Railisa Database, International Union of Railways (UIC), via World Bank World Development Indicators, series IS.RRS.TOTL.KM, release 2026-11-11. Retrieved 2026-12-02 from TrackingZoo, "Rail lines in Morocco", https://trackingzoo.com/countries/morocco/rail-lines.

Rail lines for every country