Driving from Agadir to Rabat by car is one of Morocco's longer intercity journeys, but it is also relatively straightforward because most of the trip can be completed on the country's motorway network. The road distance is approximately 540 km, and a direct drive normally takes about 5 hours 15 minutes without substantial stops. For a more comfortable road trip, allowing around 6 to 7 hours is more realistic once fuel, food, traffic and rest breaks are included.
The main route takes you north from Agadir through Amskroud, past Marrakech, Benguerir and Settat toward Casablanca, before continuing along the Casablanca–Rabat motorway. It is therefore possible to make the journey in one day without spending long periods on smaller rural roads.
How Long Is the Drive From Agadir to Rabat?
Agadir and Rabat are approximately 540 km apart by road. A direct drive takes roughly 5 hours 10 minutes to 5 hours 30 minutes in good conditions, but travelers should normally budget 6 to 7 hours for a relaxed journey with at least one or two breaks.
The fastest practical route is:
Agadir → Amskroud → Marrakech → Benguerir → Settat → Casablanca → Rabat
Most of this journey follows Morocco's motorway network.
Agadir to Rabat Route at a Glance
| Trip detail | What to expect |
|---|---|
| Approximate road distance | 540 km |
| Direct driving time | About 5h 15m |
| Comfortable planned time | 6–7 hours |
| Main route | Agadir → Marrakech → Casablanca → Rabat |
| Main motorway | A3 toward Casablanca |
| Final motorway section | A1 Casablanca → Rabat |
| Tolls | Yes |
| Suitable as a one-day drive | Yes |
| Recommended breaks | 1–2 substantial stops |
Table of Contents
- Agadir to Rabat distance and driving time
- Best route from Agadir to Rabat
- Motorway and toll planning
- Where to stop for breaks
- Fuel planning for the journey
- Best rental car for the route
- Arriving and parking in Rabat
- Agadir-to-Rabat road-trip checklist
Agadir to Rabat Distance and Driving Time
The Agadir to Rabat distance by road is around 540 km, although the precise figure changes slightly depending on your starting point in Agadir and final destination in Rabat. Route calculations place the journey at roughly 538–542 km.
A navigation app may show approximately 5 hours 15 minutes, but that should be treated as uninterrupted driving time rather than a complete travel schedule.
For most visitors, a realistic plan is:
-
5h 15m–5h 45m: driving in light traffic with minimal stopping
-
6–7 hours: comfortable trip with fuel and rest breaks
-
7+ hours: longer meal stop, busy traffic or sightseeing along the way
Traffic around Marrakech, Casablanca and the approach to Rabat can affect the final time significantly.
Leaving Agadir reasonably early also makes the journey easier because it reduces the chance of reaching Casablanca or Rabat during the busiest part of the evening commute.
Best Route From Agadir to Rabat
For most tourists, the motorway route is the best option.
From Agadir, head inland toward Amskroud, where the main motorway route begins. Continue north toward Marrakech, then stay on the motorway toward Benguerir, Settat and Casablanca.
ADM identifies the Casablanca–Agadir motorway as the A3, running approximately 429 km and serving Amskroud, Chichaoua, Marrakech, Benguerir, Settat, Berrechid and the Casablanca area.
From the Casablanca region, continue north toward Rabat on the A1 Casablanca–Rabat motorway.
Main Route
Agadir → Amskroud → Chichaoua → Marrakech → Benguerir → Settat → Berrechid → Casablanca → Rabat
This route is usually preferable to alternatives involving long stretches of ordinary national road because it provides more consistent driving conditions and regular motorway services.
Should You Go Through Marrakech City?
No.
You do not normally need to enter central Marrakech when driving from Agadir to Rabat. The motorway network allows you to continue around the city.
The same principle applies to Casablanca. Unless Casablanca is one of your planned stops, follow the motorway signs toward Rabat rather than entering the city center.
Motorway and Toll Planning
Yes, there are tolls between Agadir and Rabat.
The route uses the toll motorway from the Agadir area toward Casablanca and then the Casablanca–Rabat section.
ADM's current published tariff shows a Class 1 toll of 167 MAD between Amskroud and Nouaceur, with an additional 5 MAD between the Amskroud interchange and Agadir. The published Class 1 Casablanca–Rabat tariff is 25 MAD. Taken together, these figures indicate roughly 197 MAD in motorway charges for a normal Class 1 passenger vehicle, although your exact total can depend on motorway entry and exit points.
Because toll prices can be revised, check the latest tariff before departure.
Check current Moroccan motorway toll tariffs with ADM
Keep some Moroccan dirhams available for motorway expenses even if you normally prefer paying electronically.
Is the Entire Trip Motorway?
The overwhelming majority of the long-distance section can be completed using major motorway infrastructure, but you will still use normal city or connecting roads when leaving Agadir and entering your final neighborhood in Rabat.
The longest motorway portion is the Casablanca–Agadir axis. ADM lists the Marrakech–Agadir motorway section alone at about 230 km.
Where to Stop Between Agadir and Rabat
You do not need to leave the motorway just to find a place to rest.
ADM lists multiple service areas along the Agadir–Casablanca direction, including Marrakech, Benguerir, Settat, Berrechid and Oum Rbia, while Bouznika provides a useful service area on the Casablanca–Rabat section.
ADM says motorway service and rest areas are available throughout the network, generally averaging around 50 km between facilities.
Marrakech Area
The Marrakech area is a logical first substantial break if you left Agadir in the morning.
You can use a motorway service area without entering the city, which is useful if Rabat is your priority.
A Marrakech stop works particularly well for:
-
coffee
-
breakfast or lunch
-
fuel
-
stretching after the first part of the drive
Benguerir
Benguerir is another practical midpoint stop farther north.
ADM lists a Benguerir service area on the Agadir-to-Casablanca side of the motorway.
For travelers who do not want to make a long stop around Marrakech, Benguerir is a convenient alternative.
Settat
Settat works well as a later break before reaching the more heavily urbanized Casablanca region.
If you have already driven several hours, stopping here can make the final Casablanca-to-Rabat section noticeably easier.
Bouznika
Bouznika lies between Casablanca and Rabat and can be useful for a short final break.
However, if you are already close to Rabat and feel comfortable continuing, stopping this late in the journey may not be necessary.
Best Break Strategy
For most travelers, two shorter breaks are better than one very long stop.
A simple plan could be:
Agadir → Marrakech-area break → Settat-area break → Rabat
This keeps the driving sections manageable without turning the journey into an all-day sightseeing trip.
Fuel Planning for the Journey
For a road trip of approximately 540 km, fuel requirements depend heavily on the vehicle.
A fuel-efficient compact sedan consuming around 5.5 L/100 km would use approximately 30 liters over 540 km.
At 6.5 L/100 km, consumption would be roughly 35 liters.
At 8 L/100 km, a larger vehicle could use around 43 liters.
These figures are planning estimates rather than guarantees because traffic, air conditioning, driving speed, passengers, luggage and the vehicle itself all affect consumption.
Should You Fill Up Before Leaving Agadir?
Starting with plenty of fuel is the simplest approach.
There are numerous motorway service stations along the route, so there is no need to carry additional fuel. ADM lists fuel and service facilities at several points between Agadir and Casablanca.
For a long drive, avoid planning to reach a station with the fuel gauge almost empty. Refueling during one of your scheduled breaks is easier.
Best Rental Car for Agadir to Rabat
You do not need a 4x4 for the normal Agadir–Rabat motorway journey.
The best vehicle depends mainly on passenger numbers, luggage and how much comfort you want during five or six hours of driving.
Sedan: Best Overall Choice
A sedan rental in Agadir is arguably the strongest all-round option for this journey.
Sedans provide a good combination of:
-
motorway comfort
-
stable handling
-
luggage space
-
fuel efficiency
-
easier urban driving in Rabat
For one couple, a family or a small business group, this is usually the most balanced choice.
SUV: Best for Space and Luggage
Choose an SUV rental in Agadir if you are traveling with several passengers, large suitcases or additional equipment.
An SUV can be useful for a longer Morocco road trip that continues beyond Rabat, although the motorway itself does not require additional ground clearance.
The trade-off is usually higher fuel consumption than a compact sedan.
Economy Car: Best for Budget Travelers
A cheap car rental in Agadir can also complete the journey comfortably.
A modern economy vehicle makes sense for one or two travelers carrying light luggage and can reduce fuel consumption.
For a five-hour motorway journey, however, consider luggage capacity and cabin comfort rather than choosing only by daily rental price.
Arriving and Parking in Rabat

The final part of the drive depends on where you are staying.
Rabat is easier to navigate when you know your exact hotel, apartment or parking location before leaving the motorway.
Popular destination areas may include:
-
Agdal
-
Hay Riad
-
Hassan
-
central Rabat
-
the Rabat Ville area
-
areas around the medina
Use your navigation app for the final urban section rather than relying only on motorway signs.
Avoid Arriving at the Busiest Time if Possible
Traffic generally becomes more demanding once you leave the motorway environment.
If your schedule is flexible, arriving before the evening peak can make parking and hotel access easier.
Check Hotel Parking in Advance
If your accommodation has private parking, save the entrance location before departure.
In central districts, the actual parking entrance may be on another street from the hotel's main entrance.
For accommodation close to the medina, remember that some lanes may be unsuitable or inaccessible to cars. In these cases, your hotel or riad can usually identify the nearest practical parking or meeting point.
Agadir-to-Rabat Road-Trip Checklist
Before leaving Agadir, check:
-
rental agreement and permitted travel conditions
-
driving licence and identification documents
-
fuel level
-
tires and basic vehicle condition
-
phone battery and charging cable
-
offline or mobile navigation
-
Moroccan dirhams for tolls and small expenses
-
planned service-area stops
-
Rabat accommodation address
-
parking instructions at your destination
If you are sharing the driving, confirm that every person who will drive is authorized under the rental agreement.
Can You Drive From Agadir to Rabat in One Day?
Yes. Agadir to Rabat by car is very manageable as a one-day journey.
The direct driving time is roughly 5 hours 15 minutes, and the motorway makes the trip substantially easier than its 540 km distance might initially suggest.
The important distinction is between possible and comfortable.
Trying to complete the route with no breaks may save a small amount of time, but building in one or two rest stops is better for a long-distance drive.
If you leave Agadir at approximately 8:00 in the morning, for example, a relaxed schedule with breaks can still put you in Rabat during the afternoon.
Frequently Asked Questions
How far is Agadir from Rabat by car?
The road distance from Agadir to Rabat is approximately 540 km, depending on the precise starting and finishing locations.
How long does it take to drive from Agadir to Rabat?
Direct driving takes approximately 5 hours 15 minutes in favorable conditions. Allow around 6 to 7 hours for a comfortable trip with rest, fuel and traffic time.
Is there a motorway from Agadir to Rabat?
Yes. The principal route uses the A3 Casablanca–Agadir motorway and then the A1 between Casablanca and Rabat.
Are there tolls between Agadir and Rabat?
Yes. The principal motorway route is tolled. Current ADM tariffs indicate a total around 197 MAD for a typical Class 1 passenger car when combining the relevant Agadir/Amskroud, Amskroud/Nouaceur and Casablanca/Rabat sections. Check ADM for the latest tariff before travel.
Where should I stop between Agadir and Rabat?
Marrakech, Benguerir and Settat are practical areas for breaks. ADM also lists motorway service areas along these sections, so you do not necessarily need to enter the cities.
Can I drive Agadir to Rabat in one day?
Yes. It is a realistic one-day drive, particularly if you leave Agadir in the morning and plan one or two breaks.
Which rental car is best for the route?
A sedan offers the best balance for most travelers. An SUV is useful for extra luggage or passenger space, while an economy car works well for couples and budget-conscious travelers.
Is the road from Agadir to Rabat easy to drive?
For experienced drivers, the main route is relatively straightforward because most of the long-distance journey follows divided motorway infrastructure. Traffic becomes more demanding around major urban areas.
How much fuel should I plan for?
A car averaging 5.5–8 L/100 km would use approximately 30–43 liters over a 540 km journey. Actual consumption depends on the vehicle and driving conditions.
Can I rent in Agadir and travel to Rabat?
Generally, long-distance travel within Morocco can be possible with a rental car, but always confirm mileage allowances, one-way return conditions and permitted travel with the rental provider before departure.
Final Advice for Driving From Agadir to Rabat
The Agadir to Rabat road trip is long enough to require planning but straightforward enough to complete comfortably in a single day.
The simplest strategy is to leave Agadir with a full or healthy fuel level, join the motorway toward Marrakech and Casablanca, schedule one or two breaks, and avoid unnecessary detours into major city centers.
For most travelers, allowing 6 to 7 hours door to door creates a much more realistic schedule than planning around uninterrupted navigation time alone.
Choose a vehicle based on comfort as well as price. A sedan is ideal for most journeys, an SUV provides additional luggage space, and an economy rental can keep both rental and fuel costs lower.
Turn the Agadir-to-Rabat journey into part of your Morocco trip. Choose a comfortable MarHire Car Agadir rental with transparent terms, suitable long-distance mileage and support before you leave.










