Marrakech to Casablanca by car: the A7 dual carriageway motorway

Road trips and day trips

Marrakech to Casablanca by Car: Motorway, Time and Stops

Pick my dates
Contents

In short

Marrakech to Casablanca by car is about 240 km and takes roughly 2 hours 30 minutes, almost entirely on the A7 toll motorway via Settat and Berrechid. The road is straight, well maintained and easy to drive. Add 30 to 60 minutes to cross Casablanca to the Corniche or the city centre.

The motorway between Marrakech and Casablanca is one of the easiest long drives in Morocco, and many travellers use it to combine the two cities, catch a flight from Mohammed V airport or visit the Hassan II Mosque. We are Choumacars, a car rental agency in Marrakech open 24/7, and this is a route our customers drive every week. This guide explains the trip step by step: the motorway, the driving time, the rest areas, where to stop, how to enter Casablanca, where to park and the car that suits the journey.

How far is it from Marrakech to Casablanca by car?

The distance by car is about 239 km between the two city centres, according to Rome2Rio, with a driving time of around 2 hours 30 minutes. Almost all of it is motorway, so the time is predictable outside the city traffic at both ends.

The motorway itself, built in stages and opened in full in April 2007 according to Wikipedia, is about 220 km long between the Casablanca ring road and Marrakech. It includes a section from Casablanca to Settat and a longer section from Settat to Marrakech across the plains of the Chaouia and the Rehamna. The same road continues south from Marrakech towards Agadir.

Stage Distance (approx.) Time (estimate) What to expect
Marrakech centre to the motorway entrance 10 to 15 km 15 to 25 min City traffic, roundabouts, police checks
Marrakech to Settat About 145 km 1 h 20 to 1 h 30 Straight motorway across open plains
Settat to Berrechid About 35 km 20 to 25 min Busier, more lorries
Berrechid to the Casablanca ring road About 25 km 15 to 20 min Exit for Mohammed V airport
Ring road to the city centre or Corniche 10 to 20 km 30 to 60 min Dense traffic at rush hour

These times are estimates for a weekday in good weather. The motorway sections are reliable; the variable part is always the city traffic, especially in Casablanca between 5 p.m. and 8 p.m.

What is the route from Marrakech to Casablanca, step by step?

The route is a single motorway heading north, so navigation is simple once you are on it. Here is the drive in order, with estimated times from a hotel in Gueliz.

Casablanca Marrakech Agadir motorway: the A7 seen from above
Photo: Timothy A. Gonsalves, CC BY-SA 4.0, via Wikimedia Commons
  1. Leave Marrakech towards the north (0 to 20 min). Follow the signs for Casablanca and the motorway. From Gueliz, the access is via the northern districts; from the Palmeraie, the ring road leads directly to the entrance.
  2. Take the motorway ticket (about 20 min). The A7 is a toll motorway. Take a ticket at the first barrier and keep it within reach.
  3. Cross the Rehamna plain (20 to 70 min). Long straight lines, little traffic and wide views. Keep to the speed limit and watch for radar checks.
  4. Take a break at a rest area (about 60 to 80 min). Service areas along the motorway have fuel, cafés and toilets.
  5. Pass Settat (about 1 h 40). The motorway bypasses the town. Traffic becomes denser from here.
  6. Pass Berrechid (about 2 h). The road bypasses Berrechid with separate exits for each direction.
  7. Choose your exit (about 2 h 10). Take the exit for Mohammed V airport if you are flying, or continue to the Casablanca ring road for the city.
  8. Enter Casablanca (2 h 15 to 3 h). Follow the signs for the centre, the port or Ain Diab depending on your hotel.

Is the motorway from Marrakech to Casablanca easy to drive?

Yes, the A7 motorway is easy to drive: two lanes in each direction, a good surface, clear signs in Arabic and French, and long straight sections. The main risks are fatigue, speed and the occasional pedestrian or animal near the fences in rural areas.

A7 motorway: Marrakech direction sign on the Moroccan motorway
Photo: Makary, CC BY 3.0, via Wikimedia Commons

The GOV.UK travel advice for Morocco reminds drivers that accidents are frequent on Moroccan roads and that driving at night outside towns is more dangerous because of poor lighting. On this motorway, the advice translates into a few habits:

  • Respect the speed limit shown on the signs. Police radar checks are common, often near the exits.
  • Keep right except to overtake, and watch for slow lorries climbing the gentle rises after Settat.
  • Take a break every two hours. The straight sections make it easy to lose concentration.
  • Watch the hard shoulder near towns, where people sometimes walk along the motorway.
  • Prefer daylight if you are not used to Moroccan roads, especially for the first trip.

Where can you stop between Marrakech and Casablanca?

You can stop between Marrakech and Casablanca at the motorway service areas, in the town of Settat, or with a small detour at the coast. Most travellers make one break at a rest area halfway, which is enough for a 2 hour 30 minute journey.

  • Motorway service areas: fuel, cafés, toilets and prayer rooms. They are the simplest and safest stops.
  • Settat: a regional town with cafés and shops a few minutes from the motorway. Useful if you want lunch away from the service areas.
  • Berrechid: close to the motorway and to the airport, practical for a last coffee before a flight.
  • El Jadida (detour): if you have time, the coast road via El Jadida and its Portuguese city adds a seaside stage. Plan it as a separate day rather than a quick detour.

How do you drive and park in Casablanca after arriving from Marrakech?

You drive in Casablanca as in any large Moroccan city: slowly, with patience on roundabouts and constant attention to scooters, buses and pedestrians. Park in a guarded car park or your hotel garage rather than on the street overnight.

Casablanca is much larger and busier than Marrakech. Traffic is heaviest on the main boulevards and around the port in the morning and late afternoon. The tram lines cross several major avenues, so watch the tram signals at junctions. In the city centre and along the Corniche, attendants in high-visibility vests manage street parking; agree the time you will stay and keep small change.

The main visit for travellers arriving by car is the Hassan II Mosque, completed in 1993 on the edge of the ocean, with a minaret about 210 metres high according to Wikipedia. It has its own car park, which makes it a practical first stop before checking in at your hotel. Guided tours for visitors are organised at set times; check the schedule on the official foundation site before you go.

Is it better to drive or take the train from Marrakech to Casablanca?

Driving is better if you want flexibility, plan stops or continue to the coast, while the train is a good choice for a simple city to city transfer. Both take a similar time: about 2 hours 30 minutes by car and about 2 hours 40 minutes by the ONCF train, which runs roughly hourly according to Rome2Rio.

Criteria By car By train
Time city centre to city centre About 2 h 30 plus city traffic About 2 h 40
Flexibility Leave when you want, stop anywhere Fixed departures, roughly hourly
Luggage As much as the boot holds Carried by you through the stations
Access to the airport Direct exit from the motorway Change to the airport line
Onward trips (El Jadida, Rabat) Easy Depends on connections

For a family, a group with luggage, or a trip that continues to Rabat, El Jadida or the north, the car usually wins. If you land in Casablanca, Choumacars can also deliver the car there within 24 hours, including at Mohammed V airport at night, and you can hand it back in Marrakech.

Which car should you choose for the drive to Casablanca?

For this drive, choose a car that is comfortable at motorway speed and easy to park in a big city. A compact saloon or a small SUV with an automatic gearbox is the right balance for most travellers.

  • Audi A3: stable and quiet at motorway speed, popular with business travellers heading to Casablanca. See the Audi A3 page.
  • Hyundai Accent: a four-door saloon with an automatic gearbox, comfortable for two to four people.
  • Renault Arkana: a compact SUV with more space for luggage and an automatic gearbox.
  • Dacia Logan: a simple manual saloon for drivers who are used to a clutch.

If you are landing in Marrakech and driving straight to Casablanca later in your stay, see our page on car rental at Marrakech airport. For stays of several weeks across both cities, our long term car rental in Marrakech is often simpler than several short bookings.

What are the local tips for the drive from Marrakech to Casablanca?

Our main local tip for this drive is to time your arrival in Casablanca outside rush hour: leave Marrakech before 8 a.m. or after 1 p.m. for a smoother entry into the city. A few more points from our team:

  • Fill up in Marrakech or at the first service area, so you never arrive in Casablanca traffic with a low tank.
  • Keep coins and small notes for the motorway toll and the parking attendants.
  • Download offline maps of Casablanca: some junctions near the port are complex.
  • Avoid Friday afternoons and the evenings before public holidays, when traffic increases on both sides.
  • Plan the airport run with a margin. Allow at least 3 hours 30 between leaving Marrakech and an international departure from Mohammed V.
  • Continue north if you like long drives. Our guide to Marrakech to Fes by car explains the motorway route via Casablanca and Rabat.

Which mistakes should you avoid on the way to Casablanca?

The most common mistake is arriving in the city at 6 p.m. and losing an hour in traffic. The others are easy to avoid with a little preparation.

  • Losing the motorway ticket before the final toll barrier.
  • Driving too fast on the straight sections and meeting a radar check near an exit.
  • Underestimating fatigue on the return trip after a long day in Casablanca.
  • Parking on the street overnight in the city centre instead of a guarded car park.
  • Leaving bags visible in the car while visiting the Hassan II Mosque or the Corniche.
  • Missing the airport exit because you stayed in the left lane near Berrechid.

Heading south afterwards? The same motorway continues from Marrakech to the coast: see our guide Marrakech to Agadir by car.

Frequently asked questions

How long does it take to drive from Marrakech to Casablanca?

About 2 hours 30 minutes for roughly 240 km between the two city centres, according to Rome2Rio. Add 30 to 60 minutes if you reach Casablanca at rush hour. The motorway itself is fast and predictable; the city traffic at both ends makes the difference.

Is the Marrakech to Casablanca road a toll motorway?

Yes. The A7 motorway between Marrakech and Casablanca is a toll road. You take a ticket at the entrance and settle the toll at the barrier near Casablanca. Keep the ticket safe and have small change ready to keep the queue moving.

Can I drive from Marrakech to Casablanca airport directly?

Yes. Mohammed V airport has its own exit on the motorway, south of Casablanca, so you do not need to enter the city. Allow about 2 hours 15 minutes of driving from Marrakech and keep a margin for checks at the terminal entrance.

Is it safe to drive from Marrakech to Casablanca at night?

The motorway is lit near towns and interchanges but not along the whole route. GOV.UK advises caution when driving at night in Morocco because of poor lighting. If you must drive after dark, take breaks, avoid fatigue and keep a safe distance from lorries.

Can I start my trip in Casablanca and return the car in Marrakech?

Yes. Choumacars delivers within 24 hours to Casablanca and to Mohammed V airport, including for night arrivals, and a car delivered in Casablanca can be handed back in Marrakech. You can land in Casablanca, drive the motorway south and end your stay in the Red City.

What do I need to rent a car for Marrakech to Casablanca?

With Choumacars, you need to be at least 22, hold a driving licence for at least 2 years and show a passport or national ID. Insurance is included, mileage is unlimited and there is no young driver supplement. A second driver can be added on the same conditions.

What is there to see in Casablanca on a day trip from Marrakech?

The Hassan II Mosque on the ocean front is the main sight, followed by the Corniche at Ain Diab and the art deco buildings of the city centre. A same-day return is possible but long: with nearly 5 hours of driving, one night in Casablanca is more comfortable.

Ready to drive from Marrakech to Casablanca?

Choose your dates and a car from our fleet, and we will hand it over at your hotel or at Menara airport. For everything else about renting in the Red City, start from our page on car rental in Marrakech.

Booking

Book your car in Marrakech

Pick your dates, compare our cars and finish on WhatsApp. Handover 24/7 at the airport, at your hotel or at our office.

Book your car

Read next

Complete your booking

    Pick-up point (optional)

    Your request is saved, then opens in WhatsApp, ready to send. Driver: aged 22 or over, licence held for at least 2 years.

    • Insurance included
    • Unlimited mileage
    • Reply 24/7