High-speed rail in Morocco
Morocco's high-speed rail network was created when the Al Boraq service commenced in 2018. The Al Boraq and other conventional passenger rail services are operated by Morocco's national railway operator ONCF . Al Boraq runs on a line that connects the Moroccan cities of Tangier and Casablanca via Rabat, with a segment that enables speeds up to. As of March 2025 the Kenitra – Tangier high-speed rail line is the only high-speed rail line in the country, with an extension to Marrakesh and high speed track to Rabat and Casablanca expected to be completed by 2030. Under the 2040 Rail Strategy'' a total of of high-speed rail is planned. These future projects would link the cities of Agadir, Fez, and Oujda to the nationwide network.
The Al Boraq service is the first high-speed rail service on the African continent, and as of March 2025 it is the only high-speed rail service in Africa until the completion of Egypt's high-speed rail project.
Rolling stock
High-speed service is provided by ONCF with its Al Boraq service. Currently there is only one type of high-speed train operating in Morocco although there are orders for more:- Alstom Euroduplex: operates at speeds up to 320 km/h in service and it's electrified at 25 kV and 3 kV. ONCF currently operates 12 train sets in a configuration of 2 first-class, 5 second-class, and a catering coach. Each train can carry 533 passengers.
- Alstom Avelia Horizon: it is planned to reach a top speed of 320 km/h in service. ONCF currently has 18 of these train sets on order with deliveries starting in 2027. These additional train sets will help add service when the extension to Marrakesh opens.
Lines in operation
Currently there is only one high-speed rail line of which only 186 km is considered actual high-speed rail.| Line | Connecting cities | Opening date | Travel time | Top speed | Length |
| LGV Tanger-Kénitra | Tangier · Kenitra | 15 November 2018 | 0h45 | 320 km/h | 186 km |
Casablanca — Tangier Corridor
The Casablanca to Tangier line is currently the only line in Morocco which facilitates true high speed rail. This rail line is made up of two sections. The 186 km section which sees a top speed of 320 km/h is a newly built rail line between Tangier and Kenitra. Between Kenitra and Casablanca the Al Boraq service runs on conventional rail line with a top speed of 160 km/h. High-speed services on the conventional portion is planned to be replaced by an all new rail line operating at a speed of 320 km/h which is due to open by 2030.The opening of the high-speed section reduced the travel time from Tangier to Casablanca to 1h30 down from a previous 4h45.
Lines under construction
A high-speed line completing the Casablanca — Tangier corridor and extending to Marrakesh has been mostly tendered out as of April 2025 and construction is expected to begin imminently. The project was officially launched by King Mohammed VI on April 24th. With the completion of the project the cities of Tangier and Marrakesh will have travel time of 2 hours and 40 minutes, down by 2 hours. The project includes a 35 minute connection to Mohammed V International Airport from Rabat. Construction of the line is expected to be completed for an amount of 53 billion MAD. This 430 km line will be built double tracked electrified with it being designed for speeds up to 350 km/h, although only speeds up to 320 km/h will be used in service. As part of the project a 3.3 km tunnel will be built in Rabat connecting Sale and Rabat-Agdal station.Lines planned
Currently, only the lines to Agadir and Fez are in the planning or feasibility study phase. The extension to Oujda is considered part of a future expansion but is not yet under active planning or study.| Line | Connecting cities | Opening date | Travel time | Top speed | length |
| LGV Marrakech-Agadir | Marrakesh · Chichaoua · Agadir | TBD | 1h00 | 320 km/h | 239 km |
| LGV Rabat - Fès | Rabat · Meknes · Fez | TBD | TBD | 320 km/h | 150 - 216 km |
| LGV Fès - Oujda | Fez · Taza · Taourirt · Oujda | TBD | TBD | 320 km/h | TBD |