Rail transport in Morocco the development of a high-speed railway from Tangier via Rabat and Casablanca to Marrakech. Also a (passenger) rail connection between Tangier and Tangier MED, the port on the Mediterranean near Tangier, will give passengers arriving by ferry a connection to the main lines. A train will operate every 2 hours between the port and Tangier city. A freight-line from the Renault factory at Tangier MED is already operational Rail transport in Morocco Rail transport in Morocco is operated by the national railway operator ONCF. It was initially developed during the colonial era. The main network for passenger-transport consists of a
Casablanca–Tangier high-speed rail line train that operated to Rabat, with revenue service planned to begin by the end of the year.<ref name="rg 11/18"></ref> King Mohammed VI named the high-speed service Al Boraq, in reference to the mythical creature that transported the Islamic prophets. The line is constructed in two sections—a new route from Tangier to Kenitra and an upgrade of the existing route from Kenitra to Casablanca. The Tangier–Kenitra line has a top speed of , while the Kenitra–Casablanca line was rated for when service began, with a planned upgrade to . The trackage from Kenitra to Casablanca is planned to be eventually replaced