There are 9 ways to get from Madrid to Gibraltar by train, bus, car, plane 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

Train, bus  •  5 h 56 min

  1. Take the train from Madrid-Puerta de Atocha to Malaga Ave / ...
  2. Take the bus from Málaga to Marbella 903
  3. Take the bus from Marbella to Sotogrande

$82 - $126

Cheapest option

Bus  •  8 h 10 min

  1. Take the bus from Madrid to La Linea de la Concepcion

$24 - $65

7 alternative options

Train  •  6 h 19 min

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

$73 - $90

Drive  •  6 h 41 min

  1. Drive from Madrid to Gibraltar 411.5 miles

$75 - $120

Fly to Malaga, bus  •  6 h 1 min

  1. Fly from Madrid (MAD) to Malaga (AGP) MAD - AGP
  2. Take the bus from Fuengirola to La Linea De La Concepcion

$59 - $277

Fly to Jerez, bus  •  7 h 13 min

  1. Fly from Madrid (MAD) to Jerez (XRY) MAD - XRY
  2. Take the bus from Jerez de la Frontera to Algeciras

$85 - $398

Fly to Tangier, car ferry, bus  •  7 h 38 min

  1. Fly from Madrid (MAD) to Tangier (TNG) MAD - TNG
  2. Take the car ferry from Tangier to Tarifa
  3. Take the bus from Tarifa to La Línea de la Concepción

$90 - $331

Fly to Sevilla, train, bus  •  7 h 54 min

  1. Fly from Madrid (MAD) to Sevilla (SVQ) MAD - SVQ
  2. Take the train from Sevilla Santa Justa to Jerez de la Frontera
  3. Take the bus from Jerez de la Frontera to Algeciras

$56 - $274

Fly to Granada, bus  •  8 h 45 min

  1. Fly from Madrid (MAD) to Granada (GRX) MAD - GRX
  2. Take the bus from Granada to Algeciras

$93 - $336

Questions & Answers

The cheapest way to get from Madrid to Gibraltar is to bus which costs 21€ - 60€ and takes 8 h 10 min.

More details

The quickest way to get from Madrid to Gibraltar is to train and bus which costs 70€ - 110€ and takes 5 h 56 min.

More details

The distance between Madrid and Gibraltar is 496 km. The road distance is 658.4 km.

Get driving directions

It takes approximately 5 h 56 min to get from Madrid to Gibraltar, including transfers.

More details

Yes, there is a direct bus departing from Madrid and arriving at La Linea de la Concepcion. Services depart every four hours, and operate every day. The journey takes approximately 8 h 10 min.

More details

What companies run services between Madrid, Spain and Gibraltar?

Spanish Railways (RENFE) operates a train from Madrid to Gibraltar 3 times a day. Tickets cost $70 - $90 and the journey takes 5 h 13 min. Alternatively, Interbus Madrid-Malaga-Algeciras operates a bus from Madrid to Gibraltar every 4 hours. Tickets cost $25 and the journey takes 8 h 10 min. ALSA also services this route once daily.

Airlines
Iberia
Website
iberia.com
Flights from Madrid to Malaga
Ave. Duration
1 h 15 min
When
Every day
Estimated price
$45 - $420
Flights from Madrid to Malaga via Ibiza
Ave. Duration
3 h 25 min
When
Wednesday
Estimated price
$45 - $420
Flights from Madrid to Jerez
Ave. Duration
1 h 15 min
When
Every day
Estimated price
$140 - $480
Flights from Madrid to Tangier
Ave. Duration
1 h 20 min
When
Every day
Estimated price
$90 - $400
Flights from Madrid to Sevilla
Ave. Duration
1 h 5 min
When
Every day
Estimated price
$30 - $290
Flights from Madrid to Granada
Ave. Duration
1 h 5 min
When
Every day
Estimated price
$130 - $420
Air Europa
Website
aireuropa.com
Flights from Madrid to Malaga
Ave. Duration
1 h 30 min
When
Every day
Estimated price
$50 - $320
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
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
Train operators
Spanish Railways AVE
Spanish Railways (RENFE)
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 Sevilla Santa Justa to Jerez de la Frontera
Ave. Duration
55 min
Frequency
Hourly
Estimated price
$12 - $23
Website
renfe.com
Bus operators
Avanza Grupo
Phone
+34 (0) 91 272 28 32
Email
informacion@avanzabus.com
Website
avanzabus.com
Bus from Málaga to Marbella
Ave. Duration
50 min
Frequency
Every 30 minutes
Estimated price
$8 - $13
Schedules at
portillo.avanzabus.com
Bus from Marbella to Sotogrande
Ave. Duration
51 min
Frequency
Hourly
Estimated price
$8 - $13
Schedules at
portillo.avanzabus.com
Bus from Granada to Algeciras
Ave. Duration
3 h 15 min
Frequency
3 times a day
Estimated price
$20 - $35
Schedules at
portillo.avanzabus.com
Transportes Comes
Phone
956 291 168
Email
comercial@tgcomes.es
Website
tgcomes.es
Bus from Málaga to Marbella
Ave. Duration
45 min
Frequency
Twice daily
Estimated price
$5 - $7
Schedules at
tgcomes.es
Bus from Tarifa to La Línea de la Concepción
Ave. Duration
45 min
Frequency
Once daily
Estimated price
$4 - $6
Schedules at
tgcomes.es
Interbus Madrid-Malaga-Algeciras
Phone
+34 (0) 902 64 64 28
Email
info@interbus.es
Website
mma.interbus.es
Bus from Madrid to La Linea de la Concepcion
Ave. Duration
8 h 10 min
Frequency
Every 4 hours
Estimated price
$25
Schedules at
mma.interbus.es
ALSA
Phone
+34 902 42 22 42
Website
alsa.es
Bus from Madrid Estacion Sur to La Linea De La Concepcion
Ave. Duration
8 h 10 min
Frequency
Once daily
Estimated price
$40 - $65
Website
alsa.com
Bus from Fuengirola to La Linea De La Concepcion
Ave. Duration
1 h 30 min
Frequency
Once daily
Estimated price
$19 - $29
Website
alsa.com
Autocares Valenzuela
Phone
+34 (0) 956702609
Email
informacion.cadiz@grupovalenzuela.com
Website
grupovalenzuela.com
Bus from Jerez de la Frontera to Algeciras
Ave. Duration
1 h 30 min
Frequency
Every 3 hours
Estimated price
$9 - $20
Schedules at
grupovalenzuela.com
Ferry operators
FRS Ferries
Website
frs.es
Car ferry from Tangier to Tarifa
Ave. Duration
1 h
Frequency
Every 4 hours
Estimated price
$40 - $130
Schedules at
frs.es
Passenger
$43 - $47
Standard Car
$115 - $125
Inter Shipping
Phone
+34 956 68 47 29
Email
info@intershipping.es
Website
intershipping.es
Car ferry from Tangier to Tarifa
Ave. Duration
1 h
Frequency
Every 4 hours
Estimated price
$45
Schedules at
intershipping.es

Want to know more about travelling around Gibraltar

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.