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 passenger trains to access Casablanca from the high-speed line to Tangier. In addition to the rail construction, stations in four locations (Tangiers, Kenitra, Rabat/Agdal, and Casablanca) were either constructed from the ground up or rebuilt from existing facilities. On 19 June 2015, rolling stock deliveries began with the arrival of the first trainset in Tangier. In September, the service facility for the trains in Tangier was completed and a joint venture between ONCF and French rail operator SNCF was established to maintain the trains for a 15-year contract. In February 2017, testing of the trains at revenue speeds began; during