Whitewashed buildings and palms on a square in the Tangier kasbah

Private transfer · Marrakech ⇄ Tangier · 570 km

Marrakech to Tangier by private car or train, and for the 2027 eclipse

  • The sea seen through the opening of the Caves of Hercules near Tangier
  • Mint tea being poured from a silver teapot into small glasses packed with fresh mint on a copper tray

Photos: logopop, CC BY-SA 3.0 · Diego Delso, CC BY-SA 4.0 · Andy Dincher, CC BY-SA 3.0, via Wikimedia Commons (credits)

Marrakech to Tangier is the length of Morocco's motorway, 570 km north through Casablanca and Rabat to the Strait of Gibraltar. Our route planner puts it at 5.75 hours by private car without stops, a full day with lunch. By train it is about 5 hours 15 minutes with a change in Casablanca. In the week of the 2 August 2027 eclipse this is also the main way from the south into the path of totality.

Nearest onward
Casablanca 2 h 30 min
Farthest here
Chefchaouen 6 h 30 min

Marrakech to Tangier by private car

Tangier and the other drives from Marrakech, hour by hour

Every drive on this page, placed by its hours in the car from Marrakech, door to door without stops, from our route planner. Tangier is ringed; some of the others are stops on the way and some go another direction, and the table below says which. The line is time, not distance on a map.

  1. A white arcaded courtyard of the Bahia Palace with a central fountain on a patterned marble floor
    PickupMarrakech0 h
  2. The Hassan II Mosque and its minaret in silhouette against a low sun over the Atlantic in Casablanca
    240 km Casablanca 2 h 30 min
  3. Bab al Soufara, a carved gate in the Almohad ramparts of Rabat, a flag above it
    320 km Rabat 3 h 15 min
  4. The long arched halls of the Heri es-Swani granaries in Meknes
    470 km Meknes 5 h 30 min
  5. Rocky headland and blue sea at Cape Spartel near Tangier
    570 km Tangier 5 h 45 min This transfer
  6. A blue and white alley in the Chefchaouen medina
    570 km Chefchaouen 6 h 30 min

Onward drives from Marrakech

Marrakech to Tangier drive time, and where to break the day

Times from Marrakech by private car, from our route planner. Tangier is the main row; the others are on the same road or are the other ways into the north.

Private car drive times from Marrakech
ToDrive timeDistanceGood to know
Casablanca2 h 30 min240 kmOn the way, 2.5 hours out. A coffee stop, or the first night if you want the Hassan II Mosque.
Rabat3 h 15 min320 kmOn the way, the natural place to split the drive. A night here leaves 2.5 hours to Tangier the next morning.
Meknes5 h 30 min470 kmThe inland way north via Rabat. Useful if Meknes, Volubilis or Fes is on your route before Tangier.
Tangier5 h 45 min570 kmThe A7 and A1 motorways via Casablanca, Rabat, Kenitra and Larache. Asilah is 45 minutes short of Tangier on the same road.
Chefchaouen6 h 30 min570 kmIf Chefchaouen rather than Tangier is your goal, go there directly, 6.5 hours on the planner's route via Casablanca.

Drive times are door to door by private car without stops, from our route planner. A long drive can be broken with a night on the way.

Marrakech to Tangier

Marrakech to Tangier: the day of the drive, step by step

  1. Before the day

    Send us these with the request

    • the day you travel and your riad or hotel in Marrakech
    • your hotel or riad in Tangier, or the ferry port and sailing time
    • in one day or with a night in Rabat, Asilah or Casablanca
    • travellers and large bags
  2. The pickup

    Pickup at your Marrakech riad, drop-off in Tangier

    Most riads inside the Marrakech medina cannot be reached by car, so the driver waits at the nearest gate or car park, often Bab Doukkala or the Koutoubia side, and someone from the riad helps with bags.

  3. Timing

    Marrakech to Tangier in one day or with a night on the way

    Leave Marrakech at about 8:00, stop for lunch near Rabat, and reach Tangier in the late afternoon.

  4. On the road

    Marrakech to Tangier

    About 5 h 45 min and 570 km by private car, door to door without stops, from our route planner. A long drive can be broken with a night on the way.

  5. Vehicle and bags

    A car sized to your group and your cases

    Tell us how many travellers and how many large cases: the vehicle in the quote is chosen for both. With small children, add their ages.

  6. Train or car

    Marrakech to Tangier by train or private car

    The car is better for families and groups, for anyone with heavy bags, for a stop in Rabat or Asilah, which the high-speed train does not serve, and for anyone going on to Chefchaouen, the Rif or a ferry at Tanger Med.

What to see, how many nights it needs and where to stay: Tangier.

Pickup at your Marrakech riad, drop-off in Tangier

Most riads inside the Marrakech medina cannot be reached by car, so the driver waits at the nearest gate or car park, often Bab Doukkala or the Koutoubia side, and someone from the riad helps with bags. Hotels in Gueliz, Hivernage and the Palmeraie have a door the car reaches. For a long day like this one, an 8:00 start is usual.

In Tangier the car reaches hotels in the new town and along the bay. The kasbah and upper medina are too narrow for cars, so for a riad there the driver stops at the nearest point, often near the Place de la Kasbah or the Grand Socco, and you walk the last part. For a ferry, tell us whether it leaves from Tangier Ville port in the city or from Tanger Med, about 50 km east.

Marrakech to Tangier in one day or with a night on the way

In one day. Leave Marrakech at about 8:00, stop for lunch near Rabat, and reach Tangier in the late afternoon. It is all motorway with service areas, so it is tiring rather than difficult.

With a night on the way. We usually prefer this. Spend a night in Rabat, 3.25 hours from Marrakech, with the afternoon for the Kasbah of the Udayas and the Hassan Tower; Tangier is then 2.5 hours the next morning. Or drive further on the first day and sleep in Asilah, a small walled town on the Atlantic 45 minutes south of Tangier. A night in Casablanca, 2.5 hours out, works if you want to see the Hassan II Mosque.

Marrakech to Tangier for the solar eclipse in 2027

The total solar eclipse of Monday 2 August 2027 is total in Tangier for 4 minutes 51 seconds, centred on 08:47 local time. In Marrakech it is only partial, with the sun about 90 percent covered across its diameter and never fully dark. To see totality from a trip based in the south, you need to be in the north the night before.

Our plan for eclipse week: leave Marrakech on Saturday 31 July, sleep in Rabat or Asilah, and arrive in Tangier on Sunday 1 August, so the eclipse morning needs only a short drive to a viewing place. Do not plan to drive up from Marrakech on the morning itself. The partial phase in Tangier starts at 07:40, the drive is 5.75 hours on a normal day, and the Feast of the Throne holiday on Friday 30 July puts heavy summer traffic on the same motorway.

After the eclipse you can stay north, with Chefchaouen and Fes, or come back south. The Morocco eclipse tour 2027 shows a northern trip built around the date, the Tangier eclipse page covers the viewing places, and the Morocco solar eclipse 2027 guide has totality town by town.

Tangier, 2 August 2027: total eclipse, partial phase 07:40 to 10:00, maximum 08:47 local time (GMT), totality 4 min 51 s. Marrakech: partial only, magnitude 0.902, maximum 08:43. timeanddate.com · checked 3 Dec 2026

Feast of the Throne, a national holiday, falls on Friday 30 July 2027. timeanddate.com · checked 3 Dec 2026

Stops between Marrakech and Tangier

The motorway passes the outskirts of the main cities, so stops are easy. Casablanca has the Hassan II Mosque on the ocean, open to visitors outside prayer times on guided visits. Rabat, the capital, has the Kasbah of the Udayas above the river mouth, the Hassan Tower and the Mausoleum of Mohammed V. North of Rabat the road crosses farmland to Larache, with the ruins of Lixus just outside town, and then Asilah, a whitewashed walled town on the sea.

Every stop costs time, so pick one for a long lunch rather than three short ones. On a one-day transfer, Rabat at midday is the natural choice.

Tangier to Marrakech, coming off the ferry

The same road works the other way for people arriving from Spain. If your ferry lands at Tangier Ville in the morning, a one-day drive to Marrakech is possible but long; a night in Rabat or Casablanca on the way is easier. From Tanger Med add about 45 minutes to reach the motorway at Tangier. For the crossings, see the Spain to Morocco ferry guide and the Tangier Med port transfer.

When the Marrakech to Tangier car is not worth it

If you are one or two people with light bags and no stops in mind, the train costs less effort and takes about as long. If you are only in Morocco for a few days, a full day on the motorway takes a large share of the trip; choosing the south or the north rather than both may suit you better. For the trade-offs across the whole country, see getting around Morocco.

Marrakech to Tangier by train or private car

There is no direct daytime train. The usual way is a classic train from Marrakech to Casa Voyageurs, then the Al Boraq high-speed train from Casablanca to Tanger Ville; the rail journey takes about 5 hours 15 minutes, a little less than the car, plus the taxis at each end. For one or two people with light bags it is a comfortable choice, and Tanger Ville station is close to the bay.

The car is better for families and groups, for anyone with heavy bags, for a stop in Rabat or Asilah, which the high-speed train does not serve, and for anyone going on to Chefchaouen, the Rif or a ferry at Tanger Med. In eclipse week it is also the one option that does not depend on getting a seat on a train that everyone in the south wants.

Tangier to Marrakech by day means Al Boraq from Tangier to Casa Voyageurs, then a classic train to Marrakech, in about 5 h 14 min; daytime departures from Tangier at 06:00, 08:00, 11:00, 14:00, 15:00, 17:00 and 19:00. The overnight sleeper is suspended while the high-speed line is extended. seat61.com · checked 3 Dec 2026

Month by month

Weather in Tangier by month

Tangier and the Strait: what the month you land in feels like

  1. 16° 9° ●●●●●●11 d 17° Jan
  2. 17° 9° ●●●●●●11 d 16° Feb
  3. 18° 10° ●●●●●10 d 16° Mar
  4. 19° 11° ●●●●●9 d 17° Apr
  5. 22° 13° ●●●6 d 19° May
  6. 25° 16° ●●4 d 21° Jun
  7. 28° 19° ·1 d 23° Jul
  8. 29° 19° ·1 d 23° Aug
  9. 27° 18° ●●3 d 22° Sep
  10. 24° 16° ●●●●8 d 21° Oct
  11. 20° 12° ●●●●●●11 d 19° Nov
  12. 17° 10° ●●●●●●12 d 18° Dec

Mild, dry months by our rule of thumb High / low °C · rain days · sea °C

Monthly normals for Tangier and the Strait, Tangier (Tangier Airport) 1961–1990, extremes 1940–now. NOAA climate normals via Wikipedia · checked 3 Dec 2026

And at the start, Marrakech and the Haouz plain

  1. 19° 6° Jan
  2. 21° 8° Feb
  3. 24° 10° Mar
  4. 26° 12° Apr
  5. 29° 15° May
  6. 34° 18° Jun
  7. 38° 21° Jul
  8. 37° 21° Aug
  9. 33° 19° Sep
  10. 29° 16° Oct
  11. 23° 11° Nov
  12. 20° 7° Dec

Mild, dry months by our rule of thumb High / low °C

Monthly normals for Marrakech and the Haouz plain, Marrakesh, Morocco (Marrakesh Menara Airport) 1991–2020, extremes 1900–present. NOAA climate normals via Wikipedia · checked 3 Dec 2026

Dates that change the road

Ramadan, Eid and festivals around Tangier

Tell us if your drive falls inside one of these windows, so the plan can work around them.

  • Ramadan 2027 8 Feb to 9 Mar
  • Eid al-Adha 2027 about 17 May
  • Ramadan 2028 28 Jan to 26 Feb
  • Eid al-Adha 2028 about 5 May
  • Marrakech International Film Festival 27 Nov to 6 Dec
  • Marrakech Marathon 24 Jan to 31 Jan

Ramadan 2027: 8 Feb 2027 to 9 Mar 2027. Eid al-Fitr about 10 Mar 2027, Eid al-Adha about 17 May 2027, each plus or minus a day by moon sighting. Ramadan 2028: 28 Jan 2028 to 26 Feb 2028. Eid al-Fitr about 27 Feb 2028, Eid al-Adha about 5 May 2028, each plus or minus a day by moon sighting. timeanddate.com (tentative) · checked 3 Dec 2026

Festival windows recur yearly and are approximate; exact dates are confirmed each year. Our route planner · checked 3 Dec 2026

Questions

Marrakech to Tangier by private car or train, and for the 2027 eclipse: questions

How long is the drive from Marrakech to Tangier?
About 5.75 hours by private car for 570 km on the motorway via Rabat, without stops. With lunch it is a full day.
Is there a direct train from Marrakech to Tangier?
Not by day. You take a classic train to Casablanca and change to the Al Boraq high-speed train to Tangier, about 5 hours 14 minutes in all.
Where should we stop overnight between Marrakech and Tangier?
Rabat is the usual choice, 3.25 hours from Marrakech and 2.5 hours from Tangier. Asilah, 45 minutes short of Tangier, is a quieter seaside alternative.
Can we see the 2027 total eclipse from Marrakech?
No. Marrakech sees only a partial eclipse. Totality in Tangier lasts 4 minutes 51 seconds, so drive north and arrive by 1 August 2027.

Ask for a quote

Get a Marrakech to Tangier transfer quote

In either direction, in one day or with a night on the way, and for the 2027 eclipse.

Your transfer
Where should we reply?

Free, no obligation. A planner replies within one working day, usually sooner.

What happens next

  1. Send your dates and your group.A month, a rough route and a head count are enough to start.
  2. Get a day-by-day plan and one quote.Drive times, where you sleep, the vehicle and what is included, for your group only.
  3. Change it, or confirm it.Nothing is booked or charged until you say yes.
  • A planner on our US desk or our team in Morocco writes back, depending on the hour you send.
  • If your number is on WhatsApp, the reply comes there. If not, by phone or email.
  • Your details go only to the operator named at the foot of this page.
Get a quote WhatsApp