Rail transport in Morocco

Morocco
Train at Rabat City station
Operation
National railway
ONCF
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+1⁄2 in) standard gauge
Electrification
3 kV DC
Main network
High-speed line
Features
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.