Plan your trip

Morocco transport: Al Boraq, ONCF trains, CTM buses and roads

Morocco's trains do the straight lines well: Al Boraq runs at high speed from Tangier to Casablanca, and ONCF's conventional trains reach Marrakech, Fes and Meknes. The places that make a first trip memorable sit off the rails, though: Chefchaouen in the Rif, Essaouira on the Atlantic, and the kasbahs and dunes of the south. This guide sorts out which legs to take by train, which by coach, and when a car with a driver or a flight is worth it.

In this guideFind the location ↗ — opens in a new tab

The short answer

Take the train between the big cities: Al Boraq covers Tangier–Casablanca in 2 h 10 and Tangier–Rabat in 1 h 20, and ONCF's Al Atlas trains run on to Marrakech and Fes; look up times and fares for your date on oncf-voyages.ma. Use CTM coaches for Chefchaouen (Rabat–Chefchaouen from MAD 135, 11 departures a day, about 6 hours) and Essaouira (Marrakech–Essaouira, about five a day, from MAD 205 one way). Merzouga, the village at the Erg Chebbi dunes, lies inside the 20 km band along the Algerian border where Canada advises against all travel, so check your own government's advice and your insurance first. For the Sahara, take a car with a driver or a tour: shared three-day tours between Fes and Marrakech are listed on TourRadar at USD 274 per person. Ouarzazate is 194.1 km and about 3 h 45 by road from Marrakech, and Royal Air Maroc flies Casablanca–Ouarzazate with return economy fares from MAD 840.

Al Boraq high-speed train at the platform in Tangier
An Al Boraq high-speed train waiting at Tangier's terminus Photograph: إيان · CC BY-SA 4.0
Key point
Trains, coaches, taxis and drivers for a 7 to 10 day route from Tangier or Casablanca to Fes, Marrakech and the Sahara
Where it applies
Casablanca or Tangier for arrival; Fes and Marrakech as the rail ends for the north and the south
Timing
Trains and coaches run all year; ONCF changes its timetables during Ramadan and while the Kenitra–Marrakech high-speed line is under construction.

Al Boraq: Tangier, Kenitra, Rabat and Casablanca at high speed

Al Boraq is the high-speed train along the Atlantic side of the country, and the quickest way between its northern cities. It serves four stations: Tangier, Kenitra, Rabat and Casablanca. Tangier–Casablanca takes 2 h 10, Rabat–Tangier 1 h 20 and Kenitra–Tangier 50 minutes. For a traveller who arrives by ferry at Tangier, or flies into Casablanca and heads north to Chefchaouen, the train turns a full day on the road into a morning.

Tickets are sold on ONCF's booking site, oncf-voyages.ma, in the ONCF Voyages app, at station ticket windows and ticket machines, and through ONCF's local sales partners. In summer and around holidays, buy your ticket before the day of travel.

Prices and times checked 28 November 2026

Al Atlas trains to Marrakech, Fes and Meknes

Beyond the high-speed line, ONCF's conventional trains, sold as Al Atlas, run the rest of the network. The network reaches from Marrakech in the south to Oujda in the east and serves most large cities, but not Agadir or Nador. No train goes to Chefchaouen, Essaouira, Ouarzazate or Merzouga. The useful lines for a first trip run from Casablanca and Rabat to Marrakech, and from Rabat and Kenitra inland to Meknes and Fes. For Tangier–Marrakech, take Al Boraq to Casablanca or Rabat and change to an Al Atlas train.

The high-speed line from Kenitra to Marrakech is under construction: works began on 24 April 2025, and service is expected at the end of 2029. While the works go on, some Al Atlas trains run to changed timetables or shortened routes, so look up your train for your exact date on oncf-voyages.ma or in the ONCF Voyages app.

ONCF publishes a special timetable for Ramadan; our festivals guide has the expected dates for 2027.

Prices and times checked 28 November 2026

The concourse of Marrakech railway station looking out over the platforms and trains
The concourse and platforms of Marrakech station, where the Al Atlas trains from Casablanca end Photograph: Stolbovsky · CC BY-SA 4.0

The airports and the city stations

Mohammed V Airport has its own station. ONCF's rapid shuttle trains (TNR) run between the airport and Casablanca about once an hour; look up the fare for your date on oncf-voyages.ma. At Casablanca you change for Al Boraq to Rabat and Tangier, or for an Al Atlas train to Marrakech or Fes. On some days of engineering works, Supratours coaches replace the airport trains, so check your date on the ONCF site. At Marrakech Menara, the regulated taxi fare to the city centre is MAD 70 by day and MAD 100 at night, and airport bus 19 runs every 20 minutes from 06:00 to 21:30 for MAD 30. At Fes–Saïss, ask your riad to arrange the transfer and quote its price when you book.

Inside the cities, trams are the easy way across Casablanca and across Rabat and Salé, where two lines link the twin cities. Petits taxis cover the rest. Each city paints them its own colour: red in Casablanca and Agadir, blue in Rabat, Tangier and Asilah, and orange in Marrakech. Agree the fare before you set off or ask for the meter, and expect the driver to pick up other passengers on the way. The UK government warns that many cars booked through ride-hailing apps may be unregulated and unlicensed, and may not be insured to carry passengers. Police may order you out of an unlicensed car.

Prices and times checked 28 November 2026

A conventional ONCF train at a platform in Fes station
A conventional ONCF train at the platform in Fes Photograph: Andrew Nash from Vienna, Austria · CC BY-SA 2.0

CTM coaches to Chefchaouen and the coast

Where the rails stop, coaches take over. CTM, the national coach company, runs more than 200 departures to more than 100 towns, in Confort, Confort Plus and Premium classes with air conditioning, and sells seats on ctm.ma, at its own bus stations and agencies, and through partners. In the south, CTM serves Ouarzazate every day from Marrakech, Fes and Errachidia, among other towns. For Fes–Chefchaouen, Marrakech–Ouarzazate and the coaches towards Errachidia and Merzouga, search the day's times and fares on ctm.ma and on the Supratours timetable search (supratours.ma/recherche-horaires) before you book the rooms around them.

The table shows the CTM routes that matter most on a first trip. The fares are the lowest that CTM lists, and prices change with the class and the day you buy.

RouteDistanceJourneyDeparturesFare from
Rabat–Chefchaouen254 kmAbout 6 h11 a dayMAD 135
Tangier–Chefchaouen112 kmAbout 2 h 304 a dayMAD 50
Marrakech–Essaouira191 km–5 a dayMAD 205
Rabat–Marrakech286 kmAbout 4 to 7 h10 a dayMAD 150

The e-ticket does not need printing; show it at the CTM station on the day. Tickets cannot be refunded, but you can change one on the website or at an agency up to 12 hours before departure. Two bags of up to 20 kg each go in the hold, from MAD 5 a bag, and one piece of hand luggage of up to 40 × 50 × 16 cm comes on board. Children under 4 travel free on an adult's lap, one per adult; from 4 they need a seat at the full fare.

Prices and times checked 28 November 2026

By road: grands taxis, drivers and the way to the desert

Visit Morocco, the national tourist office, gives these distances and driving times between the places on a classic route; the two Merzouga rows are Merzouga Luxury Desert Camps' own figures for the drive to its camp. Plan extra time for stops, mountain roads and town traffic.

RoadDistanceDriving time
Casablanca–Rabat86.9 km1 h 00
Rabat–Fes207.1 km2 h 16
Fes–Chefchaouen194 km3 h 24
Tangier–Chefchaouen112.4 km2 h 11
Marrakech–Ouarzazate194.1 km3 h 45
Fes to a camp at MerzougaAbout 470 kmAbout 8 h
Marrakech to a camp at MerzougaAbout 565 kmAbout 9 h

In the south, a car with a driver or a tour saves the most time. Ouarzazate is a half-day over the High Atlas from Marrakech. Merzouga lies beyond Errachidia, at the edge of the Erg Chebbi dunes, a full day on the road from Fes or Marrakech. Merzouga and its desert camps lie inside the 20 km band along the Algerian border where Canada advises against all travel; other governments differ, so check your own government's advice, your travel insurance and the camp's exact location before you book. Germany says desert tours to Erg Chebbi can be done with a local operator, preferably in a group. Desert tours between Fes and Marrakech take three days, with two nights on the way, one in a camp at the dunes and the other at the stop the operator sets. Shared three-day tours are listed on TourRadar at USD 274 per person and private ones at USD 531 per person. For a private car, Kasbah du Toubkal publishes EUR 90 per car, for up to four people, one way between Marrakech and Imlil, 65 km away; for the desert, ask drivers for a price per day or for the whole route before you book. Our Merzouga and Sahara guide compares the two.

Grands taxis are the shared long-distance cars that wait at a town's taxi rank and leave when they are full. They fill the gaps between towns that coaches serve rarely; agree the fare per seat at the rank before you get in. The UK government notes that taxi drivers sometimes speed and ignore the rules of the road, especially in the big cities.

Prices and times checked 29 November 2026

Rabat-Salé tram crossing a street in central Rabat
A Rabat–Salé tram in the centre of Rabat Photograph: CAPTAIN RAJU · CC0

Hiring a car: licences, insurance and night driving

A hire car gives you the south at your own pace, and the motorways between Casablanca, Rabat, Fes and Marrakech are easy driving. Drivers with a UK licence need the 1968 international driving permit as well, and Morocco no longer accepts the 1949 version. Drivers with a licence from another country should check their own government's advice. Hire companies often ask for a year of driving experience and a higher minimum age.

Any alcohol in your blood is an offence, punished with a fine and possibly prison. Poor lighting makes night driving dangerous, with pedestrians and animals on the road. Mountain roads become hazardous in bad weather, so plan the Atlas crossings for daylight. After an accident, both drivers fill in and sign a constat amiable form. Blank forms are available from tobacconists in every city and from insurance booths at Tangier Port. If you bring your own car on the ferry, carry a green card from your insurer. You must leave Morocco in the same car, because the registration is recorded when you enter.

Flights: when the plane saves a day

Royal Air Maroc flies from Casablanca to Ouarzazate, with return economy fares from MAD 840 on its route page, and to Errachidia, on the road to Merzouga, from MAD 841 return. For travellers short on time, a flight replaces the drive over the High Atlas. Domestic flights make sense only for long legs south like these. Between Casablanca, Rabat, Tangier, Fes and Marrakech, the train runs from city centre to city centre, with no airport transfer at either end.

Prices and times checked 28 November 2026

Row of white grands taxis at a taxi station in Tiznit
Grands taxis waiting at the shared-taxi station in Tiznit, southern Morocco Photograph: Anass Sedrati · CC BY-SA 4.0

Booking order for the classic routes

Both of our itineraries combine trains with one long road trip. Book in this order, so the fixed legs are secure before you commit rooms to a date.

  • Arrive at Casablanca (CMN): the airport shuttle train to Casablanca, then Al Boraq north or an Al Atlas train to Marrakech or Fes.
  • Rabat or Tangier → Chefchaouen: a CTM coach, booked on ctm.ma.
  • Chefchaouen → Fes: 194 km and about 3 h 24 by road, by coach or a private car.
  • Fes → Merzouga → Marrakech: a private driver or a three-day desert tour, with a night in a camp at the dunes; check the Algerian-border advice above first.
  • Marrakech → Casablanca or Tangier: an Al Atlas train, changing to Al Boraq for the north.

Practical questions

How long does Al Boraq take from Tangier to Casablanca?

2 h 10. Rabat–Tangier takes 1 h 20 and Kenitra–Tangier 50 minutes. Tickets are sold on oncf-voyages.ma, in the ONCF Voyages app and at stations.

Is there a train to Chefchaouen?

No. Take a CTM coach from Rabat (11 departures a day, from MAD 135) or from Tangier (4 a day, from MAD 50), or go by road from Fes, 194 km and about 3 h 24.

How do I get from Fes or Marrakech to Merzouga?

Go with a private driver or on a desert tour, after checking the border advice: Merzouga and its camps lie inside the 20 km band along the Algerian border where Canada advises against all travel, and other governments differ. Merzouga Luxury Desert Camps puts its camp at the dunes about 470 km and 8 hours by road from Fes, and about 565 km and 9 hours from Marrakech. From Marrakech, the route crosses the High Atlas to Ouarzazate (194.1 km, about 3 h 45), and tours take three days with two nights on the way.

Can I refund a CTM bus ticket?

No, CTM tickets are not refundable, but you can change one on ctm.ma or at an agency up to 12 hours before departure.

Do I need an international driving permit in Morocco?

Drivers with a UK licence need the 1968 international driving permit with it; the 1949 version is no longer accepted. Drivers with other licences should check their own government's advice.

Are ride-hailing apps safe in Morocco?

The UK government warns that many cars booked through apps may be unregulated and unlicensed, and may not be insured to carry passengers. It advises agreeing a fare in advance or checking that the taxi uses its meter.

↑ In this guide

Sources and checks before you travel

(28)

Editorial policy →

Reference sources for the version dated 29 November 2026. Confirm opening times, access, transport and conditions for your travel dates.

Photo credits

(6)