Rail transport in Morocco

Morocco
Train at Rabat City station
Operation
National railwayONCF
Statistics
Ridership52.8 million per year (2023)
Freight36 million tons per year (2012–13)
System length
Total2,200 kilometres (1,400 mi)
Track gauge
Main1,435 mm (4 ft 8+12 in) standard gauge
Electrification
3000 V DCMain network
25 kV 50 HzHigh-speed line
Map
The Moroccan railway network in 2018

Rail transport in Morocco is operated by the national railway operator ONCF. It was initially developed during the protectorate.