There are 7 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

$59 - $334

Cheapest option

Fly Madrid to Tangier  •  4 h 4 min

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

$46 - $196

5 alternative options

Fly Barcelona to Tangier  •  4 h 29 min

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

$64 - $198

Fly Malaga to Casablanca  •  4 h 52 min

  1. Fly from Malaga (AGP) to Casablanca (CMN) AGP - CMN

$62 - $293

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 - $365

Train, bus  •  43 h 59 min

  1. Take the train from Madrid-Puerta de Atocha to Algeciras Atr
  2. Take the bus from Algeciras to Casablanca

$242 - $362

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 Spain to Morocco is to fly which costs 35€ - 170€ and takes 4 h 4 min.

More details

The quickest way to get from Spain to Morocco is to fly which costs 50€ - 290€ and takes 2 h 12 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 car ferry and bus which takes 23 h 43 min and costs 140€ - 310€.

More details

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

More details

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

Search flights

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

Search flights

There are 42+ hotels available in Morocco. Prices start at $28 USD per night.

More details

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

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.

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
Every day
Estimated price
$45 - $290
Flights from Barcelona to Tangier via Madrid
Ave. Duration
4 h
When
Every day
Estimated price
$75 - $400
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
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
Vueling Airlines
Website
vueling.com
Flights from Barcelona to Tangier
Ave. Duration
1 h 50 min
When
Every day
Estimated price
$45 - $290
Royal Air Maroc
Website
royalairmaroc.com
Flights from Malaga to Casablanca
Ave. Duration
1 h 45 min
When
Every day
Estimated price
$160 - $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-Atocha Cercanías to Almeria
Ave. Duration
5 h 58 min
Frequency
3 times a day
Estimated price
$65 - $80
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
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 Algeciras to Casablanca
Ave. Duration
36 h 30 min
Frequency
Once daily
Estimated price
$170 - $270
Website
alsa.com
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 - $220
Schedules at
balearia.com
Cabin
$100 - $220
Seating
$45 - $75
Balearia
$55 - $75
Lobby Bar
$45 - $85
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.