Private company

ONCF

Logo: ONCF, Public domain, via Wikimedia Commons3

National railway operator of Morocco

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.2 It is headquartered in Rabat.1 Wikipedia text CC BY-SA 4.0

Last updated Oct 21, 2026.

Overview

Aug 5, 1963Founded1
  • HeadquartersRabat1
  • Websitewww.oncf.ma
  • Legal formstate-owned enterprise1
ONCF Train 614 E-1451 Marrakesh Oct25 A7CR 08797
Photo: This Photo was taken by Timothy A. Gonsalves . Feel free to use my photos, but please mention me as the author. I would much appreciate if you send me an email tagooty@yahoo.com or write on my talk page , for my information. Please contact me before commercial use. Please do not upload an edited ima, CC BY-SA 4.0, via Wikimedia Commons5

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.2

Corporate structure

ONCF sits at the top of its group. 2 entities, 1 country on record. Switch between the flow chart and the network, and select any entity to see its details.

  • ONCF Rabat
    • Supratours Subsidiary · Rabat
    • Amir Abdelkader train station Owned · Meknes, Morocco
    • Azemmour train station Owned · Azemmour, Morocco
    • Aïn Sebaâ train station Owned · Aïn Sebaâ, Morocco
    • Ben Guerir train station Owned · Ben Guerir, Morocco
    • Bouguedra Owned · Morocco
    • Bouskoura train station Owned · Casablanca, Morocco
    • Bouznika train station Owned · Bouznika, Morocco
    • Casa-Port railway station Owned · Casablanca, Morocco
    • El Jadida train station Owned · El Jadida, Morocco
    • Faculties train station Owned · Casablanca, Morocco
    • Kenitra-Medina train station Owned · Kenitra, Morocco
    • Ksar Sghir train station Owned · Ksar es-Seghir, Morocco
    • Kénitra railway station Owned · Kenitra, Morocco
    • Marrakesh railway station Owned · Marrakech, Morocco
    • Melloussa train station Owned · Melloussa, Morocco
    • Mers Sultan train station Owned · Casablanca, Morocco
    • Mohammed V airport train station Owned · Casablanca, Morocco
    • Mohammedia train station Owned · Mohammedia, Morocco
    • Mrizig train station Owned · Mrizigue, Morocco
    • Oasis railway station Owned · Oasis, Morocco
    • Oujda train station Owned · Oujda, Morocco
    • Rabat-City train station Owned · Rabat, Morocco
    • Safi train station Owned · Safi, Morocco
    • Salé-City train station Owned · Salé, Morocco
    • and 12 more

Built from subsidiaries, stakes and holdings from Wikidata (CC0); major holders from Schedules 13D and 13G. Each entity in the chart links to its source.

What it owns

What ONCF reports owning in its annual reports to the SEC: buildings, land and equipment, real estate and locations, investments, intangible assets and inventory, at the end of its latest fiscal year and a year before.

Stakes and holdings (Wikidata)

  • Amir Abdelkader train station
  • Azemmour train station
  • Aïn Sebaâ train station
  • Ben Guerir train station
  • Bouguedra
  • Bouskoura train station
  • Bouznika train station
  • Casa-Port railway station
  • El Jadida train station
  • Faculties train station
  • Kenitra-Medina train station
  • Ksar Sghir train station
  • Kénitra railway station
  • Marrakesh railway station
  • Melloussa train station
  • Mers Sultan train station
  • Mohammed V airport train station
  • Mohammedia train station
  • Mrizig train station
  • Oasis railway station
  • Oujda train station
  • Rabat-City train station
  • Safi train station
  • Salé-City train station
All 36 holdings
  • Salé-Tabriquet train station
  • Settat train station
  • Sidi Bouknadel railway station
  • Sidi Ichou train station
  • Skhirat train station
  • Skhour Rehamna train station
  • Tanger-Med train station
  • Tanger-Ville railway station
  • Taza train station
  • Temara train station
  • Youssoufia railway station
  • Zenata train station

Things Wikidata records the company as owning, with the share when stated.1

The story

The railways have been state-owned since the formation of ONCF, created in 1963 as a merger of various private companies:

Railways of Morocco – CFM (French: Compagnie des chemins de fer du Maroc)

Railway of Eastern Morocco – CMO (French: Compagnie du chemin de fer du Maroc oriental)

Franco-Spanish company of Tanger-Fès – TF (French: Compagnie franco-espagnole du Tanger-Fès)

Mediterranean-Niger-Railway (MN) (French Chemins de Fer de la Méditerranée au Niger)

From Wikipedia’s article on ONCF, shared under CC BY-SA 4.0.4

Leadership

Who has led ONCF, and when. Pick a name to see everywhere that person has worked.

Products and brands

Business mission

ONCF performs several operations and has as a mission to:

Exploit the rail infrastructure

Study, build and maintain the train lines in the network

Exploit all the businesses related to railway services locally and nationally

Read the full text

Network

The network has a north–south track from Tangier via Rabat and Casablanca to Marrakesh. This line connects all major cities along or close to the Atlantic coast. In September 2012, ONCF started upgrading the Casablanca-Kenitra main line to improve capacity.

The other main link is the Northern East to West link from Oujda via Fez and Meknes to Rabat connecting to the N-S tracks in Kenitra.

For the (main) destinations where there is no train service (yet) the ONCF operates their own bus company Supratours offering connecting bus services from the nearest railway station to places like Agadir, Tétouan or Essaouira

Extensions

A major investment program upgrades and extends the network. In 2009, a branch-line of the E-W link was completed, running from Taourirt for 100 km to Nador. This track runs down from the Rif mountains to sealevel at Nador. Most of the route from Taourirt follows the same route as the National Road 19. The tracks through Nador are underground and after Nador Ville the track continues to the Nador Port in Bin Anşār above ground again. This new branch-line is used for both passenger and freight trains with several passenger trains serving Fez, Rabat to Casablanca or to Tangier. There are 6 trains per day: some demanding change at Taourirt wye - others provide direct services up to Casablanca. The night-train (dep. 19:47 from Nador) doesn't even stop at Taourirt and thus doesn't have to change travel-direction.

Another project completed in 2010 is a short-cut between Rabat and Tangier. When completed trains can run directly to Rabat and Casablanca without having to use the longer route via Sidi Kasim. Also in the north a new track is built between Tangier and Ras R'Mel.

Other routes under construction are:

Casablanca to El Jadida

Bypass via Meknes, on the Rabat–Fez route

Not yet under construction, but planned are:

Marrakesh – Agadir, and then an extension further south to Laâyoune

Oued Zem – Beni Mellal

The most important project is the development of a "high-speed link" (TGV) from Tangier via Rabat and Casablanca to Marrakesh. The main contractor of this project is French company Alstom. The French president Nicolas Sarkozy was guest on 29 September 2011 when the actual construction of the line started. The first phase of the project is expected to be completed in 2012

Freight

Oujda railway station is the last station for passengers on the east–west link. The lines south of Oujda are for freight only and until the passenger-service starts the link Tangier-Tanger MED is also only operated for freight: mainly for the Renault factory at the port

Railway links to adjacent countries

There was a link to Algeria, but the border is now closed.

Melilla, Spain – train terminates at Nador Port, within walking distance of Melilla.

Services

The company makes a difference between the long-distance "Grandes Lignes", high-speed shuttle trains between Rabat and Casablanca, Urban transport in the Casablanca region and the "train by road" via daughter-company Supratours

On the mainline (Grand Lignes) several trains are operated per day. In the first class all chairs are assigned seats. On three main routes the ONCF operate special night trains with either full beds in private rooms of couchettes. On the Oujda-Casablanca route they run a "hotel train" which only offers beds and couchettes, no seats. These "Voyage de Nuit" is available on:

Casablanca-Oujda via Rabat, Sale, Fez and Taourirt: Train – Hôtel: Dep. Casablanca: 21:15 Arriving Oujda at 07:00

Oujda-Casablanca, Departure: 21:00, Taourirt 22:43, Fez: 03:00 Rabat: 06:15, Casablanca: 07:15

Marrakesh–Tangier via Casablanca, Rabat, Kenitra: Departure: 21:00, Casa: 0:45, Rabat: 1:57, Tangier: 07:25

Tangier–Marrakesh: Tangier: 21:05, Kenitra: 2:35, Rabat: 3:15, Casablanca: 4:30, Marrakesh: 08:05

Casablanca - Nador: Departure: 19:45, Fez: 0:15, Nador arrival: 06:00

Nador-Casablanca: Nador Ville: 19:43, Fez: 01:00, Casablanca: 06:15 (Marrakesh: 10:05 with train of 06:50 from Casa)

And on the route Tangier-Nador vv there is no official "night train" with beds or couchettes, but there is a night service from Tangier to Oujda or Nador

Nador-Tangier: Departure: 17:43, Fez: 01:00 and arrival in Tangier: 07:00

Tangier-Nador: Departure: 21:35, Fez: 2:30, Taourirt: 7:45, Nador: 09:32

Operations

ONCF operates in three main sectors:

Passenger transportation; 29.6 million passenger-journeys (2009)

Goods transportation; 35 million tonnes (2009)

including phosphates transportation.

From Wikipedia’s article on ONCF, shared under CC BY-SA 4.0.4

Subsidiaries and ownership

Also owns

  • Amir Abdelkader train station
  • Azemmour train station
  • Aïn Sebaâ train station
  • Ben Guerir train station
  • Bouguedra
  • Bouskoura train station
  • Bouznika train station
  • Casa-Port railway station
  • El Jadida train station
  • Faculties train station
  • Kenitra-Medina train station
  • Ksar Sghir train station
  • Kénitra railway station
  • Marrakesh railway station
  • Melloussa train station
  • Mers Sultan train station
  • Mohammed V airport train station
  • Mohammedia train station
  • Mrizig train station
  • Oasis railway station
  • Oujda train station
  • Rabat-City train station
  • Safi train station
  • Salé-City train station
All 36 also owns
  • Salé-Tabriquet train station
  • Settat train station
  • Sidi Bouknadel railway station
  • Sidi Ichou train station
  • Skhirat train station
  • Skhour Rehamna train station
  • Tanger-Med train station
  • Tanger-Ville railway station
  • Taza train station
  • Temara train station
  • Youssoufia railway station
  • Zenata train station

From Wikidata.1

Acquisitions

  1. Succeeded Compagnie des chemins de fer du Maroc1
  2. Succeeded The Franco-Spanish Railroad Company from Tangier to Fes1

Timeline

  1. Aug 5, 1963Founded Founded1