Student in a blue headscarf face to face with a camel in the Sahara

Madrid to Morocco: Flights, the Ferry and What Actually Works

Madrid to Morocco looks awkward on a map and turns out to be one of the easiest trips in Europe, as long as you ignore the ferry. Here are the real flight times, why the Tarifa crossing makes no sense from Madrid, which Moroccan airport to pick for which trip, and what a long weekend actually reaches.

The short answer

Fly. Madrid is nearly 700 kilometres from the nearest ferry port, so the crossing that makes sense from Seville or Tarifa does not make sense from here. Direct flights put you in Marrakech in about two hours and in Tangier in about an hour and a half, and they are frequently cheaper than the fuel it would take to drive south.

Madrid to Marrakech is about two hours

Group of students in helmets on quad bikes in the Sahara dunes

The direct flight from Madrid Barajas to Marrakech Menara covers roughly 1,070 kilometres and takes about two hours. Several airlines run it, and because it is a competitive route the fares swing widely. Booking early matters more than picking a particular airline.

Marrakech is the one to choose if you want the Sahara, the High Atlas or the kasbah road, because every desert route south starts there. It is also the easiest arrival if you have never been to Morocco before, since the airport is close to the city and the medina is walkable from most riads.

WHERE IT LEADSAll the routes that start in Marrakech: desert tours from Marrakech.

Madrid to Tangier is about ninety minutes

Tangier Ibn Battouta is the quickest hop, around an hour and a half direct, served by Royal Air Maroc and Air Arabia Maroc among others. Royal Air Maroc also flies Madrid to Casablanca.

Tangier suits a short trip to the north: the medina, Cape Spartel, the Caves of Hercules, and Chefchaouen about two hours away by road. What it does not suit is the desert. Tangier is at the opposite end of the country from the dunes, and no weekend will bridge that gap.

THE BLUE CITYTwo hours from Tangier and worth the detour: Chefchaouen, Morocco blue city.

Why the ferry does not work from Madrid

People ask about the ferry because it is the famous way to cross, and from Tarifa it genuinely is: one hour across the Strait to Tangier. The problem is getting to Tarifa. It is 684 kilometres from Madrid and about seven hours of driving, and the fastest routes are tolled.

So the ferry version of this trip is seven hours down, an hour across, then the same again coming back. That is a day and a half of travelling before you have seen anything. The flight is ninety minutes. If you are starting in Seville the maths is completely different, but from Madrid the ferry is a romantic idea rather than a practical one.

FROM SEVILLE INSTEADIf you are based further south, the comparison changes: Seville to Morocco day trip, is it worth it?

Is there a train or a bus?

There is no train from Madrid to Morocco, and there cannot be, because the Strait of Gibraltar has no tunnel or bridge. Spanish trains will take you as far as Algeciras, and from there you still need the ferry.

Long distance buses run from Madrid towards Algeciras and some continue into Morocco, but they take the better part of a day in each direction. They exist for people moving house, not for a weekend. Unless the journey itself is the point, fly.

Which airport for which trip

Marrakech, about 2 hoursThe Sahara, the High Atlas, Ait Benhaddou and the kasbah road. The right choice for a desert weekend or any trip of three days or more.
Tangier, about 1 hr 30The north: Tangier itself, Chefchaouen, Asilah and the Rif. Good for a short trip, useless for the desert.
CasablancaFlown direct by Royal Air Maroc. Best as a transit point rather than a destination, and well connected onward by train.

What a long weekend from Madrid actually reaches

Students sitting on a quad bike in the Sahara desert

Fly out Thursday evening or early Friday and you have three usable days. That is enough to cross the High Atlas at the Tizi n Tichka pass, stop at the fortified ksar of Ait Benhaddou, sleep in the Dades Valley, walk the Todra Gorge and ride a camel into the Erg Chebbi dunes for a night at a desert camp before heading back to Marrakech.

It is a genuine Sahara trip rather than a taste of one, and it fits inside a three day weekend because the flight is short enough to leave the days intact. The thing that ruins this trip is a late flight on the Friday, so pay the extra for the early one.

THE ROUTEDay by day, with the overnight stops: our 3-day Sahara trip from Marrakech, from 280 euros per person.

What it costs

Three students in Moroccan head scarves taking a selfie in the desert

The flight is usually the cheap part on this route and the fares move constantly, so there is no honest single number to quote. What we can be precise about is the ground: our three day Sahara trip starts at 280 euros per person, four days at 350, five at 420 and seven at 780, all including transport, accommodation and the desert camp.

Prices depend on group size rather than seat count. Up to eight people travels as a private trip in a minivan. Nine or more becomes a group tour in a coach. Four or five of you from the same programme splits the cost in a way that a student budget can actually absorb.

EVERYTHING ELSEWhat food, taxis and tips really cost on the ground: is Morocco expensive?

When to go

Two walkers crossing a wide stretch of Sahara dunes

March and April are the best months for this trip. The desert is warm in the day and cold at night, Marrakech is pleasant rather than punishing, and the Atlas still has snow on the peaks. May starts to get hot in the afternoons and by July the desert is genuinely difficult.

Winter works too, with the caveat that desert nights in January get close to freezing and you will want more layers than you think. The camps have thick Berber blankets, but the walk to the tent at midnight is memorable for the wrong reasons if you packed for Marrakech in the sun.

MONTH BY MONTHThe actual numbers for each month: the best time to visit Morocco.

What you need to cross

Your passport, not a Spanish residency card and not a photo of it. Most Europeans and Americans do not need a visa for short stays. Beyond that, the two things that catch people out are money and connectivity.

  • The dirham is a closed currency, so you cannot buy it before you fly. Bring euros and change them on arrival
  • A card that works abroad, plus a backup, since smaller places are cash only
  • A local SIM or eSIM if you want signal in the desert, which is patchy at best
  • Layers. The temperature swing between a Marrakech afternoon and a desert night is larger than almost anyone expects

THE PRACTICAL GUIDEMoney, SIM cards, taxis and tipping: Morocco travel tips for first timers, and what to wear in Morocco.

If you are studying in Madrid

Spring semester programmes in Madrid run from early January to late May, which gives you several three day weekends and a spring break in the best months of the year for Morocco. None of the big Madrid programmes, CIEE, CEA CAPA, Syracuse, Nebrija or the University of Florida, offer a Morocco excursion, so this is a trip you organise yourself.

EVERY PROGRAMME DATEStart and end dates for the main Spain programmes, and which ones include Morocco: Spring 2027 study abroad dates in Spain.

Trips that fit a weekend from Madrid

3 days

Sahara from Marrakech

From 280 euros. Fits a three day weekend, one night in a desert camp.

See the 3-day trip
4 days

Sahara, slower

From 350 euros. Two desert nights and a full 4×4 day.

See the 4-day trip
5 days

Marrakech and the Sahara

From 420 euros. The desert plus a guided day in Marrakech.

See the 5-day trip
7 days

Marrakech to Tangier

From 780 euros. Fly into Marrakech, ferry home from Tangier.

See the 7-day trip

The seven day route is the clever one if you have a full break. You fly down to Marrakech, cross the country through the Sahara, Fes and Chefchaouen, and finish at Tangier port for the ferry back into Spain, so nothing is repeated. See all spring break trips, the full Morocco itineraries, or our private tours and group tours.

Questions we get asked

How long is the flight from Madrid to Morocco?

About two hours direct to Marrakech and about an hour and a half to Tangier. Royal Air Maroc also flies Madrid to Casablanca direct.

Can you get from Madrid to Morocco by ferry?

Not directly. The ferry leaves from Tarifa or Algeciras, and Tarifa is 684 kilometres and roughly seven hours of driving from Madrid. The crossing itself is about an hour. From Madrid the flight is far quicker and usually cheaper.

Is there a train from Madrid to Morocco?

No. There is no rail link across the Strait of Gibraltar. Spanish trains reach Algeciras, and from there you would still take the ferry.

Which Moroccan airport should I fly into from Madrid?

Marrakech if you want the Sahara, the Atlas Mountains or the kasbah road, which is most people. Tangier if you only want the north and Chefchaouen. Casablanca mainly as a transit point.

Can you reach the Sahara on a weekend from Madrid?

Yes. Fly to Marrakech on the Friday, take a three day trip south, and you sleep in a desert camp at Merzouga on the Saturday night. Flying into Tangier instead will not work, because the dunes are at the far end of the country.

How much does a Morocco trip from Madrid cost?

The flight varies constantly and is usually the cheaper part. On the ground our trips start at 280 euros per person for three days, 350 for four, 420 for five and 780 for seven, including transport, accommodation and the desert camp.

What is the best time of year to go?

March and April. The desert is warm by day and cold at night, the cities are comfortable, and the Atlas still has snow. Summer afternoons in the Sahara are hard going.

Flying from Madrid?

Tell us your dates and we will tell you which route fits the weekend you actually have, including when the honest answer is that it does not.

Get a price and an itinerary or see all spring break trips.

More in our guide to getting to Morocco from Spain, the study abroad guide to Morocco, whether Morocco is safe for student groups, what a night at a desert camp is like and the travel FAQ. Deposit terms are in the booking and cancellation policy.