The ONCF (, lit. 'National office of railways';, , 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.[1]
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 standard gauge. Of this network, 64% of the lines are electrified.[2][3]
The current Director General of ONCF is Mohamed Rabie Khlie, who has held the position since 2005. The organisation is headquartered in Rabat.[1][4]