ONCF
Map of the Moroccan railway network in 2012 | |
ONCF high speed train. | |
| Overview | |
|---|---|
| Headquarters | 8, rue Abderrahmane El Ghafiki, Rabat - Agdal |
| Reporting mark | ONCF |
| Locale | Morocco |
| Dates of operation | 1963–present |
| Predecessor | Compagnie des chemins de Fer du Maroc ("CFM"); Compagnie franco-espagnole du chemin de fer de Tanger à Fès ("TF") |
| Technical | |
| Track gauge | 1,435 mm (4 ft 8+1⁄2 in) |
| Length | 2,067 km (1,284 mi) |
| Other | |
| Website | www.oncf.ma |
The ONCF (French: Office national des chemins de fer, lit. 'National office of railways'; Arabic: المكتب الوطني للسكك الحديدية, al-Maktab al-Waṭanī llskk al-ḥadīdīyah, lit. 'National office of railway transport') is the national railway operator of Morocco. It is a state-owned enterprise under the supervision of the Ministry of Transport and Logistics, responsible for passenger and freight transport on the national rail network, as well as for the construction, operation, and maintenance of railway infrastructure.
As of 2025, ONCF employs 6,696 people and operates a railway network of 2,295 km of lines and 3,848 km of track, all built to 1,435 mm (4 ft 8+1⁄2 in) standard gauge. Of this network, 64% of the lines are electrified.
The current Director General of ONCF is Mohamed Rabie Khlie, who has held the position since 2005. The organisation is headquartered in Rabat.