ONCF ONCF train departures board in Morocco
,

Morocco, Spain and Portugal — Building a Two-Continent Itinerary

PHOTO: TRAVELERS ROUTE

Marrakesh to Madrid is a two-hour flight. How to fold Morocco into an Iberian trip: three route templates, flight logistics and the border rules to watch.

Travelers Route  /  Articles

15 min read

Field notesApril–May 2024 · a first-hand trip linking Morocco, Lisbon, Madrid and Barcelona

Prices & rules last checkedJuly 2026

A “European vacation” and an “African journey” can, in fact, live inside a single set of flights. Morocco and the Iberian Peninsula (Spain and Portugal) sit just 1–2 hours apart by air, and budget-airline fares across the strait can be startlingly cheap. In other words, a long-haul round trip to Europe can carry Morocco as one chapter in the middle. Here is how to build the two-continent loop.

Why this pairing works — distance, history and airfares

First, distance. Across the Strait of Gibraltar, Spain and Morocco sit almost within sight of each other; by air, Marrakesh to Madrid is about 2 hours — crossing between continents on the scale of a short domestic hop. Second, history. Iberia spent eight centuries under Islamic dynasties, and the ornament of the Alhambra and the wellspring of Portugal’s azulejos (decorative tiles) are continuous with the land south of the strait. In the context of choosing a trip by history, traveling Morocco first and Iberia second turns the continuity of a civilization into a single storyline. Third, the flights. For most long-haul travelers, reaching Morocco means a connection in Europe or the Middle East anyway — in which case bundling it with an Iberian stay improves both the routing and the total cost.

The flights in practice — main routes and times

RouteTypical durationMain carriers (as of July 2026)
Casablanca – LisbonAbout 1 h 20 m – 2 hTAP Air Portugal, Royal Air Maroc
Marrakesh – MadridAbout 2 h (around 4 flights daily)Iberia group, Air Europa, Ryanair and others
Marrakesh – BarcelonaAbout 2.5 h (around 3 flights daily)Ryanair, Vueling and others

During sales, budget-carrier fares on these legs can drop to pocket change. We took a domestic flight from the provincial city of Errachidia to Casablanca, then crossed continents on the Casablanca–Lisbon leg (about 1.5 hours). Casablanca is the hub of Morocco’s domestic and international networks, and Marrakesh connects to it by rail (ONCF) or by domestic flight.

ONCF train departures board in Morocco
The ONCF departures board — Morocco’s rail network runs toward Casablanca, Fez and Tangier — PHOTO: TRAVELERS ROUTE (April 2024)

Three route templates — which side goes first

1. Morocco first (the route we flew) — start intense, wind down in Europe

Fly into Morocco (via a European or Middle Eastern hub) for a week or so of Marrakesh, the Sahara and Essaouira → cross by air to Lisbon, then push east through PortugalMadridBarcelona and fly home from there. This was our shape. Placing the physically demanding desert at the start and letting the pace ease into city sightseeing later is the advantage. For the Iberian half, our Spain and Portugal 10-day itinerary can be used as-is.

2. Morocco last — append another world to a European trip

Tour Iberia first, then take a flight from Madrid or Barcelona to Marrakesh. Entering the medina with eyes accustomed to European streets maximizes the culture shock. Make your homebound flight leave from Casablanca or Marrakesh (connecting in Europe) and you never retrace the same ground.

3. The minimal-time shortcut (via Madrid)

Short on days? There is a shortcut via Madrid: sandwich the roughly 2-hour Madrid–Marrakesh flight in as a round trip, and hold the Moroccan side to 2–3 nights in Marrakesh. It is the realistic answer for travelers who don’t have time for the desert but still want to breathe African air — and seeing the Alhambra (Granada) and the Marrakesh medina on the same trip makes the continuity of Islamic architecture something you feel firsthand.

The two-continent logistics — four common stumbles

  • Morocco’s entry number — the police number written into your passport at entry gets copied out at every hotel check-in; photograph that page. Many nationalities can visit visa-free for up to 90 days — check the rules for your passport (as of July 2026)
  • EU borders (EES) — the EU’s biometric entry/exit system EES is fully live. An itinerary that bounces between Morocco and Iberia means entering the EU more than once, so build border-queue time into your connections. For the latest on ETIAS, see our ETIAS guide
  • The currency switch — the Moroccan dirham (DH) is a closed currency with an export cap (up to 2,000 DH). Spend it down or re-exchange before leaving; the Iberian side is all euro
  • Luggage design — if a desert tour is in the plan, go two-tier: a suitcase plus a small desert bag. Budget-airline legs charge for checked bags, so read the baggage rules before you buy the ticket

For the long-haul frame, Middle Eastern carriers — Qatar Airways among them, with direct flights into Lisbon and Barcelona — are an easy way to build the round trip. For the Moroccan side, plan on connecting from a European hub (Lisbon, Madrid, Paris and others).

GetYourGuide

Compare tours and experiences from Marrakesh

Sahara desert tours, Essaouira day trips and the rest of the Moroccan side, booked ahead — many plans with free cancellation.

See Morocco experiences →

What fills up first — place the immovable days of two continents first

A two-continent loop leaves you a lot of freedom in how you move, but there are a few elements whose dates cannot be shifted. Fix those first and adjust the days in between, and the plan does not fall apart.

  • The Sahara needs a minimum of three days and two nights, and that sets the skeleton of the whole trip. From Marrakech to Merzouga, the gateway to the desert, is about 560km over mountain roads crossing the Tizi n’Tichka pass at 2,260m, so a day trip is physically impossible. If you are going, secure those three days first and then decide the number of days on the European side
  • On the Spanish side the sites run on timed slots. The Sagrada Família requires advance booking (from €26, €36 with a tower) and Park Güell is likewise advance-booking-only with timed entry (€18) (as of July 2026). Neither lets you in at the hour you want on a same-day ticket
  • Decide the form of the desert tour early too: shared tours use an air-conditioned minibus (around 17 people) and the price is attractive, but they move on everyone’s wishes, so they may not stop where you want to shoot. Private lets you negotiate irregular routes, including being dropped in a town along the way. Lunch is generally extra (roughly €10–13 a meal)
  • Flights: this is a stretch where an open-jaw (arriving and departing from different cities) is easy to build. Since you do not have to come back to the same city, you can put the three desert days at one end of the trip

The order runs the three Sahara days → the timed slots on the Spanish side → flights → hotels. Build it from the other end and the three days the desert needs will not fit, and you end up rebuilding the whole route.

Where to go from here

Newsletter

Once a month — only the essentials.

Destination ideas, new articles and trip-prep checklists, delivered monthly.