There are 8 ways to get from Spain to Morocco by plane, train, car ferry, bus 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 Malaga to Tangier  •  2 h 12 min

  1. Fly from Malaga (AGP) to Tangier (TNG) AGP - TNG

$58 - $333

Cheapest option

Fly Madrid to Marrakech  •  5 h 9 min

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

$38 - $195

6 alternative options

Fly Madrid to Tangier  •  4 h 4 min

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

$45 - $195

Fly Barcelona to Tangier  •  4 h 29 min

  1. Fly from Barcelona (BCN) to Tangier (TNG) BCN - TNG

$63 - $197

Train, carferry  •  15 h 35 min

  1. Take the train from Madrid-Puerta de Atocha to Algeciras Atr
  2. Take the carferry from Algeciras to Tanger Med
  3. Take the train from Tangier to Casa-Voyageurs

$173 - $301

Train, car ferry, bus  •  23 h 43 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

$166 - $359

Bus  •  47 h 9 min

  1. Take the bus from Madrid Estacion Sur to Casablanca

$202 - $312

Drive, carferry  •  15 h 22 min

  1. Drive from Madrid to Motril
  2. Take the carferry from Motril to Tangier Med
  3. Drive from Tangier Med to Casablanca

$417 - $1,033

Questions & Answers

No, there is no direct bus from Spain to Morocco. However, there are services departing from Cibeles and arriving at Casablanca via Madrid Estacion Sur. The journey, including transfers, takes approximately 47 h 9 min.

More details

The distance between Spain and Morocco is 1027 km.

The best way to get from Spain to Morocco without a car is to train and carferry which takes 15 h 35 min and costs .

More details

It takes approximately 2 h 12 min to get from Spain to Morocco, including transfers.

More details

Spain to Morocco bus services, operated by ALSA, depart from Madrid Estacion Sur station.

More details

The best way to get from Spain to Morocco is to fly which takes 2 h 12 min and costs . Alternatively, you can bus, which costs and takes 47 h 9 min.

Mode details

The quickest flight from Malaga Airport to Tangier Airport is the direct flight which takes 45 min.

Search flights

Spain to Morocco bus services, operated by ALSA, arrive at Casablanca station.

More details

Air Arabia Maroc offers flights from Malaga Airport to Tangier Airport.

Search flights

There are 43+ hotels available in Morocco. Prices start at $27 USD per night.

More details

Map of how to get from Spain to Morocco.
Launch map view
  • Distance: 641.8 miles
  • Duration: 2 h 12 min

What companies run services between Spain and Morocco?

Air Arabia Maroc flies from Málaga to Tangier 3 times a week. Alternatively, ALSA operates a bus from Madrid to Casablanca once daily. Tickets cost $200 - $310 and the journey takes 46 h.

Airlines
Iberia
Website
iberia.com
Flights from Madrid to Tangier
Ave. Duration
1 h 20 min
When
Every day
Estimated price
$90 - $400
Flights from Barcelona to Tangier
Ave. Duration
1 h 50 min
When
Monday, Tuesday, Wednesday, Thursday, Friday and Sunday
Estimated price
$45 - $290
Flights from Barcelona to Tangier via Madrid
Ave. Duration
4 h
When
Every day
Estimated price
$75 - $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 35 min
When
Monday
Estimated price
$130 - $650
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
Air Arabia Maroc
Website
airarabia.com
Flights from Malaga to Tangier
Ave. Duration
45 min
When
Tuesday, Friday and Sunday
Estimated price
$35 - $270
Flights from Madrid to Tangier
Ave. Duration
1 h 35 min
When
Wednesday, Friday and Sunday
Estimated price
$55 - $290
Flights from Barcelona to Tangier
Ave. Duration
1 h 50 min
When
Monday, Wednesday, Friday and Sunday
Estimated price
$70 - $310
Vueling Airlines
Website
vueling.com
Flights from Barcelona to Tangier
Ave. Duration
1 h 50 min
When
Monday, Tuesday, Wednesday, Thursday, Friday and Sunday
Estimated price
$45 - $290
Flights from Madrid to Marrakech via Barcelona
Ave. Duration
4 h 35 min
When
Monday
Estimated price
$130 - $650
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 Europa
Website
aireuropa.com
Flights from Madrid to Marrakech
Ave. Duration
2 h 5 min
When
Thursday and Sunday
Estimated price
$85 - $850
Royal Air Maroc
Website
royalairmaroc.com
Flights from Madrid to Marrakech via Casablanca
Ave. Duration
3 h 55 min
When
Monday, Tuesday, Wednesday, Friday, Saturday and Sunday
Estimated price
$190 - $600
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-Puerta de Atocha to Algeciras
Ave. Duration
5 h 13 min
Frequency
3 times a day
Estimated price
$70 - $90
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
CTM
Phone
0800090030
Email
ctmweb.ma@gmail.com
Website
ctm.ma
Bus from Nador to Casablanca
Ave. Duration
10 h 15 min
Frequency
Twice daily
Estimated price
$21 - $27
Schedules at
ctm.ma
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 Casablanca
Ave. Duration
46 h
Frequency
Once daily
Estimated price
$200 - $310
Website
alsa.com
Ferry operators
Inter Shipping
Phone
+34 956 68 47 29
Email
info@intershipping.es
Website
intershipping.es
Car ferry from Algeciras to Tanger Med
Ave. Duration
1 h 30 min
Frequency
Every 4 hours
Estimated price
$35
Schedules at
intershipping.es
FRS Ferries
Phone
+34 956 68 18 30
Email
info@frs.es
Website
frs.es
Car ferry from Algeciras to Tanger Med
Ave. Duration
2 h 30 min
Frequency
Every 4 hours
Estimated price
$40 - $110
Schedules at
frs.es
Passenger
$44
Standard Car
$110
Car ferry from Motril to Tangier Med
Ave. Duration
7 h
Frequency
Once daily
Estimated price
$330 - $900
Schedules at
frs.es
Passenger
$339
Standard Car
$856
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 - $210
Schedules at
balearia.com
Cabin
$100 - $210
Seating
$45 - $75
Balearia
$50 - $75
Lobby Bar
$45 - $85

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.

More Questions & Answers

The best way to get from Spain to Malaga Airport is to train which takes 12 min and costs .

More details