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

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 Madrid  •  2 h 7 min

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

$45 - $194

7 alternative options

Fly to Barcelona  •  2 h 36 min

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

$62 - $197

Fly to Malaga  •  1 h 29 min

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

$58 - $332

Train, bus and ferry, bus via Malaga  •  14 h 15 min

  1. Take the train from Casablanca to Berrechid
  2. Take the bus and ferry from Berrechid to Algeciras
  3. Take the bus from Algeciras to Málaga 903
  4. Take the train from Malaga to Madrid-Puerta de Atocha Ave / ...

$107 - $183

Train, bus and ferry, bus  •  14 h 19 min

  1. Take the train from Casablanca to Berrechid
  2. Take the bus and ferry from Berrechid to Algeciras
  3. Take the bus from Algeciras to Jerez de la Frontera
  4. Take the train from Jerez de la Frontera to Madrid-Puerta de Atocha A

$108 - $163

Train, bus and ferry, bus #2  •  15 h 38 min

  1. Take the train from Casablanca to Berrechid
  2. Take the bus and ferry from Berrechid to Granada
  3. Take the bus from Granada to Madrid

$64 - $135

Bus  •  46 h 31 min

  1. Take the bus from Casablanca to Madrid Estacion Sur

$205 - $309

Drive, carferry  •  15 h 22 min

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

$417 - $1,031

Questions & Answers

The distance between Morocco and Spain is 1027 km.

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

More details

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

More details

The best way to get from Morocco to Spain is to fly which takes 2 h 7 min and costs . Alternatively, you can bus, which costs and takes 46 h 31 min.

Mode details

The quickest flight from Tangier Airport to Madrid Airport is the direct flight which takes 1 h 20 min.

Search flights

Air Arabia Maroc, Ryanair and Iberia offer flights from Tangier Airport to Madrid Airport.

Search flights

There are 325+ hotels available in Spain. Prices start at $52 USD per night.

More details

The best way to get from Morocco to Tangier Airport is to taxi which takes 14 min and costs .

More details

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

What companies run services between Morocco and Spain?

Iberia, Air Arabia Maroc and Ryanair fly from Tangier to Madrid twice daily. Alternatively, ALSA operates a bus from Casablanca to Madrid once daily. Tickets cost $200 - $310 and the journey takes 45 h 30 min.

Airlines
Iberia
Website
iberia.com
Flights from Tangier to Madrid
Ave. Duration
1 h 20 min
When
Every day
Estimated price
$90 - $400
Flights from Tangier to Barcelona
Ave. Duration
1 h 45 min
When
Monday, Tuesday, Wednesday, Thursday, Friday and Sunday
Estimated price
$45 - $290
Flights from Tangier to Barcelona via Madrid
Ave. Duration
3 h 27 min
When
Monday to Friday
Estimated price
$75 - $400
Air Arabia Maroc
Website
airarabia.com
Flights from Tangier to Madrid
Ave. Duration
1 h 20 min
When
Wednesday, Friday and Sunday
Estimated price
$55 - $290
Flights from Tangier to Barcelona
Ave. Duration
1 h 35 min
When
Monday, Wednesday, Friday and Sunday
Estimated price
$70 - $310
Flights from Tangier to Malaga
Ave. Duration
50 min
When
Tuesday, Thursday and Sunday
Estimated price
$35 - $270
Ryanair
Website
ryanair.com
Flights from Tangier to Madrid
Ave. Duration
1 h 30 min
When
Monday, Wednesday, Thursday, Friday and Sunday
Estimated price
$30 - $220
Flights from Tangier to Barcelona via Sevilla
Ave. Duration
3 h 25 min
When
Sunday
Estimated price
$100 - $270
Vueling Airlines
Website
vueling.com
Flights from Tangier to Barcelona
Ave. Duration
1 h 45 min
When
Monday, Tuesday, Wednesday, Thursday, Friday and Sunday
Estimated price
$45 - $290
Train operators
Spanish Railways AVE
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 Jerez de la Frontera to Madrid-Puerta de Atocha
Ave. Duration
3 h 27 min
Frequency
Every 3 hours
Estimated price
$65 - $85
Website
renfe.com
Bus operators
Autolinee Gambioli
Phone
+41 (0) 79.71.85.806
Email
info@autolineegambioli.it
Website
autolineegambioli.it
Bus and ferry from Berrechid to Algeciras
Ave. Duration
4 h 35 min
Frequency
Twice a week
Estimated price
$30 - $50
Schedules at
autolineegambioli.it
Bus and ferry from Berrechid to Granada
Ave. Duration
7 h 45 min
Frequency
Twice a week
Estimated price
$45 - $75
Schedules at
autolineegambioli.it
Avanza Grupo
Transportes Comes
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 Algeciras to Malaga
Ave. Duration
2 h 30 min
Frequency
3 times a day
Estimated price
$20 - $35
Website
alsa.com
Bus from Granada to Madrid
Ave. Duration
5 h
Frequency
Every 4 hours
Estimated price
$30 - $50
Website
alsa.com
Bus from Casablanca to Madrid Estacion Sur
Ave. Duration
45 h 30 min
Frequency
Once daily
Estimated price
$200 - $310
Website
alsa.com
Autocares Valenzuela
Phone
+34 (0) 956702609
Email
informacion.cadiz@grupovalenzuela.com
Website
grupovalenzuela.com
Bus from Algeciras to Jerez de la Frontera
Ave. Duration
1 h 30 min
Frequency
Once daily
Estimated price
$9 - $20
Schedules at
grupovalenzuela.com
Ouibus

As the bus subsidiary of French railway SNCF, Ouibus offers comfortable, eco-friendly coaches serving 35 French cities and 11 European cities at affordable fares. Ouibus journeys are safe and comfortable, with the four-star coaches offering power outlets, restrooms and WiFi. All Ouibus stations are located close to town centres for easy access to public transport. Getting on one of the 130 daily journeys is easy - electronic travel documents include your ticket and a personalised mini-guide with handy information.

Contact Details
Phone
0890715298
Website
ouibus.com
Bus from Granada to Madrid - Avénida de America
Ave. Duration
5 h 40 min
Frequency
3 times a week
Estimated price
$15 - $21
Website
Ouibus
Ferry operators
FRS Ferries
Phone
+34 956 68 18 30
Email
info@frs.es
Website
frs.es
Car ferry from Tangier Med to Motril
Ave. Duration
7 h
Frequency
Once daily
Estimated price
$330 - $900
Schedules at
frs.es
Passenger
$339
Standard Car
$857

Want to know more about travelling around Spain

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.

Where to next?