Rail transport in Morocco
| Morocco | |||||
|---|---|---|---|---|---|
| Train at Rabat City station | |||||
| Operation | |||||
| National railway | ONCF | ||||
| Statistics | |||||
| Ridership | 52.8 million per year (2023) | ||||
| Freight | 36 million tons per year (2012–13) | ||||
| System length | |||||
| Total | 2,200 kilometres (1,400 mi) | ||||
| Track gauge | |||||
| Main | 1,435 mm (4 ft 8+1⁄2 in) standard gauge | ||||
| Electrification | |||||
| 3000 V DC | Main network | ||||
| 25 kV 50 Hz | High-speed line | ||||
| 
 | |||||
Rail transport in Morocco is operated by the national railway operator ONCF. It was initially developed during the protectorate.