There are 8 ways to get from Madrid to Morocco by plane, bus, train, car ferry or car

Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2rio's travel planner.

Recommended option

Fly to Tangier  •  3 h 57 min

  1. Fly from Madrid (MAD) to Tangier (TNG) MAD - TNG

$44 - $193

Cheapest option

Fly to Rabat  •  4 h 8 min

  1. Fly from Madrid (MAD) to Rabat (RBA) MAD - RBA

$39 - $332

6 alternative options

Fly to Marrakech  •  4 h 53 min

  1. Fly from Madrid (MAD) to Marrakech (RAK) MAD - RAK

$53 - $209

Fly to Casablanca  •  5 h 7 min

  1. Fly from Madrid (MAD) to Casablanca (CMN) MAD - CMN

$72 - $203

Bus via Tangier Ferry  •  21 h 26 min

  1. Take the bus from Madrid Estacion Sur to Tanger
  2. Take the bus from Tanger to Casablanca

$139 - $211

Train, car ferry, bus  •  22 h 37 min

  1. Take the train from Madrid-Atocha Cercanías to Almeria Tlg
  2. Take the car ferry from Almería to Nador
  3. Take the bus from Nador to Casablanca

$132 - $218

Bus  •  46 h

  1. Take the bus from Madrid Estacion Sur to Casablanca

$200 - $310

Drive, car ferry  •  11 h 27 min

  1. Drive from Madrid to Tarifa
  2. Take the car ferry from Tarifa to Tangier
  3. Drive from Tangier to Casablanca

$151 - $297

Questions & Answers

The cheapest way to get from Madrid to Morocco is to fly which costs 35€ - 170€ and takes 3 h 57 min.

More details

The quickest way to get from Madrid to Morocco is to fly which costs 35€ - 170€ and takes 3 h 57 min.

More details

The distance between Madrid and Morocco is 1079 km.

It takes approximately 3 h 57 min to get from Madrid to Morocco, including transfers.

More details

Yes, there is a direct bus departing from Madrid Estacion Sur and arriving at Casablanca. Services depart once daily. The journey takes approximately 46 h.

More details

What companies run services between Madrid, Spain and Morocco?

Iberia, Ryanair and Air Arabia Maroc fly from Madrid to Tangier 3 times a day. Alternatively, you can take a bus from Madrid to Casablanca via Tanger, Tangier Ferry, and Tanger in around 21 h 26 min.

Airlines
Royal Air Maroc
Website
royalairmaroc.com
Flights from Madrid to Marrakech via Casablanca
Ave. Duration
4 h 6 min
When
Monday, Tuesday, Wednesday, Thursday, Saturday and Sunday
Estimated price
$190 - $600
Flights from Madrid to Rabat
Ave. Duration
1 h 35 min
When
Monday and Friday
Estimated price
$60 - $800
Flights from Madrid to Casablanca
Ave. Duration
1 h 50 min
When
Every day
Estimated price
$120 - $440
Iberia
Website
iberia.com
Flights from Madrid to Tangier
Ave. Duration
1 h 20 min
When
Every day
Estimated price
$90 - $400
Flights from Madrid to Marrakech
Ave. Duration
1 h 55 min
When
Every day
Estimated price
$85 - $600
Flights from Madrid to Marrakech via Barcelona
Ave. Duration
4 h 45 min
When
Tuesday, Thursday, Friday and Sunday
Estimated price
$130 - $650
Flights from Madrid to Casablanca
Ave. Duration
1 h 50 min
When
Every day
Estimated price
$120 - $440
Ryanair
Website
ryanair.com
Flights from Madrid to Tangier
Ave. Duration
1 h 35 min
When
Monday, Wednesday, Thursday, Friday and Sunday
Estimated price
$30 - $220
Flights from Madrid to Marrakech
Ave. Duration
2 h 7 min
When
Every day
Estimated price
$40 - $380
Flights from Madrid to Rabat
Ave. Duration
1 h 40 min
When
Tuesday, Thursday and Saturday
Estimated price
$26 - $160
TAP Portugal
Website
flytap.com
Flights from Madrid to Marrakech via Lisbon
Ave. Duration
4 h 35 min
When
Every day
Estimated price
$70 - $460
Air Arabia Maroc
Website
airarabia.com
Flights from Madrid to Tangier
Ave. Duration
1 h 35 min
When
Wednesday, Friday and Sunday
Estimated price
$55 - $290
Air Europa
Website
aireuropa.com
Flights from Madrid to Marrakech
Ave. Duration
2 h 5 min
When
Thursday and Sunday
Estimated price
$85 - $850
Vueling Airlines
Website
vueling.com
Flights from Madrid to Marrakech via Barcelona
Ave. Duration
4 h 45 min
When
Tuesday, Thursday, Friday and Sunday
Estimated price
$130 - $650
Train operators
Spanish Railways (RENFE)

Based in Madrid, Renfe is a state-owned train operator, that connects cities across Spain and neighbouring countries including Portugal, France, Germany, Switzerland, and the Netherlands. Renfe’s extensive network means most destinations offer multiple trains a day, with the most popular routes normally offering a train each hour. Locally known as AVE, the high-speed trains can reach speeds of up to 350km/h, making travel between major cities very efficient. Comfort is key in a Renfe train, with seats with footrests in all three classes of travel: Standard, Club and First. Each seat has an individual light, a pull-down table and an electrical outlet for in Club and First classes. There is free WiFi for first class passengers and for those with a + Renfe card.

Rome2rio's guide to Spanish Railways (RENFE)
Contact Details
Phone
902 320 320
Website
renfe.com
Train from Madrid-Atocha Cercanías to Almeria
Ave. Duration
5 h 58 min
Frequency
3 times a day
Estimated price
$65 - $85
Website
renfe.com
Bus operators
ALSA

A Spanish subsidiary of National Express, ALSA provides bus and coach services across Spain and neighbouring countries including Portugal, France, Germany, the Netherlands, Italy, Poland and Malta. Founded in 1923, ALSA values service and the customer experience. Buses are equipped with communal TV screens showing movies, individual behind-seat screens, ALSA radio, app for books and music, and free WiFi so you’re never bored on your journey. ALSA services are accessible to people with disabilities, and guide dogs are welcome on all journeys. Flexibility is another highlight of an ALSA journey, with three types of tickets on offer - Frequent Traveller Pass, Share Pass and ALSA Pass, along with discounts for senior citizens, students and children.

Contact Details
Phone
+34 902 42 22 42
Website
alsa.es
Bus from Madrid Estacion Sur to Tanger
Ave. Duration
15 h 30 min
Frequency
Once daily
Estimated price
$120 - $190
Website
alsa.com
Bus from Madrid Estacion Sur to Casablanca
Ave. Duration
46 h
Frequency
Once daily
Estimated price
$200 - $310
Website
alsa.com
CTM
Phone
0800090030
Email
ctmweb.ma@gmail.com
Website
ctm.ma
Bus from Tanger to Casablanca
Ave. Duration
4 h 45 min
Frequency
Every 4 hours
Estimated price
$12 - $20
Schedules at
ctm.ma
Regular
$16
Premium
$20
Comfort plus
$16
Bus from Nador to Casablanca
Ave. Duration
10 h 15 min
Frequency
Twice daily
Estimated price
$21 - $27
Schedules at
ctm.ma
Ferry operators
Balearia
Phone
+34 912 66 02 14
Email
reservas@balearia.com
Website
balearia.com
Car ferry from Almería to Nador
Ave. Duration
3 h
Frequency
Twice daily
Estimated price
$45 - $110
Schedules at
balearia.com
Cabin
$100 - $230
Seat
$75 - $110
Lobby Bar
$47
Seating
$47
Acciona Trasmediterranea
Phone
+34 (0) 917369957
Website
trasmediterranea.es
Car ferry from Almería to Nador
Ave. Duration
5 h
Frequency
Twice daily
Estimated price
$50 - $95
Schedules at
trasmediterranea.es
Seat
$53
Cabin
$95
FRS Ferries
Website
frs.es
Car ferry from Tarifa to Tangier
Ave. Duration
1 h
Frequency
Every 4 hours
Estimated price
$40 - $130
Schedules at
frs.es
Passenger
$43 - $48
Standard Car
$115 - $130
Inter Shipping
Phone
+34 956 68 47 29
Email
info@intershipping.es
Website
intershipping.es
Car ferry from Tarifa to Tangier
Ave. Duration
1 h
Frequency
Every 4 hours
Estimated price
$45
Schedules at
intershipping.es

Want to know more about travelling around Morocco

Rome2rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.