← All Data Modules

Infrastructure Cartography

The High-Speed Horizon

How Morocco is shrinking. Four eras. One country pulling its cities together.

In 1920, Tangier to Marrakech took 18 hours by colonial rail — if the train ran at all. By 2029, Al Boraq will do it in 2 hours 40 minutes. Casablanca and Rabat, once a three-hour journey, are now 25-minute commuter twins. Morocco is not building a train. It is collapsing distance. The 430 km Kenitra–Marrakech extension, launched in April 2025 at $5.3 billion, will create a 630 km high-speed spine from Tangier to Marrakech — Africa's longest — operational before the 2030 World Cup.

630km

HSR spine by 2029

320km/h

top speed

$5.3B

Kenitra–Marrakech cost

2h40

Tangier–Marrakech (was 7h+)

The Melting Map

Cities pull toward each other as travel time shrinks. Select an era. Watch the country compress. Red dots = HSR-connected cities. Red lines = high-speed routes.

TangierKenitraRabatCasablancaMarrakechFesMeknèsAgadirOujda2030Al Boraq HSR era

The Commuter's Ghost

Select two cities. See how travel time collapsed across a century.

TangierMarrakech570 km
1920
18h
1980
10h
−44%
2010
9h
−50%
2030
2h 40m
−85%

15h 20m

saved per trip (1920 → 2030)

111.9M

human-hours saved/year (est.)

HSR

2030 technology

Full HSR by 2029. 7h → 2h40.

All Routes: Century of Compression

Every route, sorted by time saved. HSR routes in red. Click to expand.

TangierMarrakech
85%15h20 saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

CasablancaAgadir
78%12h30 saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

RabatMarrakech
86%9h25 saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

TangierCasablanca
85%8h30 saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

MarrakechAgadir
75%7h30 saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

FesOujda
58%7h saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

CasablancaMarrakech
85%6h50 saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

TangierRabat
85%5h55 saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

CasablancaFes
64%5h45 saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

TangierKenitra
87%5h13 saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

RabatFes
64%4h30 saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

RabatCasablanca
86%2h35 saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

FesMeknès
67%1h20 saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

KenitraRabat
84%1h16 saved

© 2026 Dancing with Lions. All rights reserved.

This visualization may not be reproduced without visible attribution.

Rail Timeline: 1916 → 2040

From colonial narrow gauge to Africa's longest high-speed network.

1916

French protectorate builds first rail: Casablanca–Rabat

90 km
1923

Tangier–Fes line opens (narrow gauge)

310 km
1934

National rail network reaches 1,700 km

1,700 km
1963

ONCF created. Post-independence modernisation begins

1,907 km
2003

Shuttle service Casa–Rabat (60 min, every 30 min)

2,110 km
2007

HSR project announced. Tangier–Casablanca selected

2,110 km
2018

Al Boraq inaugurated. Africa's first HSR. Tangier–Casa 2h10

2,293 km
2025

Kenitra–Marrakech HSR construction launched (430 km)

2,293 km
2029

Target: Tangier–Marrakech HSR complete. 2h40 end-to-end

2,723 km
2040

Vision: 1,500 km HSR. Agadir, Fes, Oujda connected

3,500 km

Reading Notes

The Twin-City Effect

Casablanca–Rabat at 25 minutes by HSR is commuter distance. Workers live in one city, work in the other. Real estate markets merge. This is not transport — it is urban planning by rail. The same effect will hit Marrakech when it becomes 70 minutes from Casablanca. Marrakech ceases to be “the south” and becomes a suburb.

The World Cup Logic

The 2030 World Cup demands that fans move between host cities within a day. Tangier to Marrakech in 2h40 makes this possible without flying. Morocco is building permanent infrastructure, not temporary stadiums. The HSR spine will outlast the tournament by decades — connecting the Atlantic axis that holds 70% of Morocco's population.

The East Remains Far

Fes and Oujda are not on the HSR plan until after 2030. The eastern corridor — Fes–Taza–Oujda — remains conventional rail, 5+ hours. Morocco's shrinking is asymmetric: the Atlantic coast compresses while the interior and east stay far. The isochrone map reveals two Moroccos: one accelerating, one waiting.

Rail Network

Distance is not measured in kilometres. It is measured in hours. When Tangier and Marrakech are 2 hours 40 minutes apart, they are closer than London and Edinburgh. Morocco is not extending a railway. It is redesigning the shape of a country — pulling its edges toward a centre that no longer needs to be geographic. The centre is wherever the train stops next.

Sources

Al Boraq specifications: ONCF, Wikipedia. HSR extension: Railway Gazette International (Apr 2024), construction launched Apr 2025 (Newsweek, Gadget.co.za). $5.3B cost: ONCF via Travelling for Business (May 2025). 168 trains: Railway Technology (Dec 2023). Historic travel times reconstructed from ONCF archives, colonial railway timetables (Compagnie des Chemins de Fer du Maroc), and modern ONCF schedules. 2030 projected times from ONCF announced targets. 2040 vision: ONCF Rail Strategy 2040, IEA-PVPS Morocco profile. Fes–Oujda conventional times from current ONCF schedules. Passenger estimates are editorial calculations based on ONCF ridership data (Al Boraq: ~3M passengers in first year, growing).

© Dancing with Lions