• Our partners include:

  • RailEurope
  • Deutsche Bahn
  • Trenitalia
  • SNCF
  • Flixbus
  • RENFE
  • Ouibus
  • BlaBlaCar
  • Booking.com
  • Skyscanner

There are 7 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  •  6 h 11 min

  1. Take the train from Madrid-Puerta de Atocha to San Roque-La Linea Atr

$70 - $88

Cheapest option

Bus Interbus  •  7 h 30 min

  1. Take the bus from Madrid Méndez Álvaro to La Línea de la Concepción

$24 - $70

5 alternative options

Bus ALSA  •  9 h 19 min

  1. Take the bus from Madrid Estacion Sur to La Linea De La Concepcion

$42 - $67

Drive  •  6 h 41 min

  1. Drive from Madrid to Gibraltar 411.5 miles

$75 - $120

Fly to Malaga, bus  •  5 h 56 min

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

$58 - $277

Fly to Tangier, car ferry, bus  •  7 h 59 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 - Centro de Salud to Algeciras San Bernardo Bus Station
  4. Take the bus from Algeciras San Bernardo Bus Station to Mondéjar

$90 - $334

Fly to Jerez, bus  •  7 h 21 min

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

$84 - $397

Questions & Answers

The cheapest way to get from Madrid to Gibraltar is to bus which costs 35€ - 60€ and takes 9 h 19 min.

More details

The quickest way to get from Madrid to Gibraltar is to fly and bus which costs 50€ - 250€ and takes 5 h 56 min.

More details

Yes, there is a direct bus departing from Madrid Méndez Álvaro and arriving at La Línea de la Concepción. Services depart three times a day, and operate every day. The journey takes approximately 7 h 30 min.

More details

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

Get driving directions

The best way to get from Madrid to Gibraltar without a car is to train which takes 6 h 11 min and costs 60€ - 80€.

More details

It takes approximately 6 h 11 min to get from Madrid to Gibraltar, including transfers.

More details

Madrid to Gibraltar bus services, operated by Interbus, depart from Madrid Méndez Álvaro station.

More details

The best way to get from Madrid to Gibraltar is to train which takes 6 h 11 min and costs 60€ - 80€. Alternatively, you can bus, which costs 21€ - 60€ and takes 7 h 30 min.

Mode details

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

Search flights

Madrid to Gibraltar bus services, operated by Interbus, arrive at La Línea de la Concepción station.

More details

Map of how to get from Madrid to Gibraltar.
Launch map view
  • Distance: 310.2 miles
  • Duration: 6 h 11 min

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 $65 - $85 and the journey takes 4 h 59 min. Alternatively, Interbus operates a bus from Madrid to Gibraltar 3 times a day. Tickets cost $24 - $70 and the journey takes 7 h 30 min.

Airlines
Iberia
Website
iberia.com
Flights from Madrid to Malaga
Ave. Duration
1 h 13 min
When
Every day
Estimated price
$45 - $420
Flights from Madrid to Malaga via Melilla
Ave. Duration
3 h 5 min
When
Monday, Tuesday, Wednesday, Thursday, Friday and Sunday
Estimated price
$45 - $420
Flights from Madrid to Tangier
Ave. Duration
1 h 20 min
When
Every day
Estimated price
$90 - $400
Flights from Madrid to Jerez
Ave. Duration
1 h 15 min
When
Every day
Estimated price
$140 - $480
Air Europa
Website
aireuropa.com
Flights from Madrid to Malaga
Ave. Duration
1 h 30 min
When
Every day
Estimated price
$50 - $320
Air Arabia Maroc
Website
airarabia.com
Flights from Madrid to Malaga via Tangier
Ave. Duration
3 h
When
Saturday
Estimated price
$70 - $220
Flights from Madrid to Tangier
Ave. Duration
1 h 25 min
When
Wednesday and Saturday
Estimated price
$55 - $290
Ryanair
Website
ryanair.com
Flights from Madrid to Tangier
Ave. Duration
1 h 30 min
When
Monday, Wednesday, Thursday, Friday, Saturday and Sunday
Estimated price
$30 - $220
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 San Roque-La Linea
Ave. Duration
4 h 59 min
Frequency
3 times a day
Estimated price
$65 - $85
Website
renfe.com
Bus operators
Interbus
Phone
902 64 64 28
Email
info@interbus.es
Website
interbus.es
Bus from Madrid Méndez Álvaro to La Línea de la Concepción
Ave. Duration
7 h 30 min
Frequency
3 times a day
Estimated price
$24 - $70
Schedules at
interbus.es
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 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
$18 - $29
Website
alsa.com
Transportes Comes
Phone
956 291 168
Email
comercial@tgcomes.es
Website
tgcomes.es
Bus from Tarifa - Centro de Salud to Algeciras San Bernardo Bus Station
Ave. Duration
44 min
Frequency
Hourly
Estimated price
$2 - $3
Schedules at
siu.ctmcg.es
Bus from Algeciras San Bernardo Bus Station to Mondéjar
Ave. Duration
42 min
Frequency
Every 30 minutes
Estimated price
$2 - $4
Schedules at
siu.ctmcg.es
CTMCG
Phone
+34 (0) 955038665
Website
siu.ctmcg.es
Bus from Tarifa - Centro de Salud to Algeciras
Ave. Duration
44 min
Frequency
Every 2 hours
Estimated price
$2 - $4
Schedules at
siu.ctmcg.es
Bus from Algeciras to Mondéjar
Ave. Duration
41 min
Frequency
Every 30 minutes
Estimated price
$2 - $5
Schedules at
siu.ctmcg.es
Autocares Valenzuela
Phone
+34 (0) 956702609
Email
informacion.cadiz@grupovalenzuela.com
Website
grupovalenzuela.com
Bus from Jerez de la Frontera to Los Barrios
Ave. Duration
1 h 15 min
Frequency
Every 3 hours
Estimated price
$8 - $18
Schedules at
grupovalenzuela.com
Ferry operators
FRS Ferries
Phone
+34 956 68 18 30
Email
info@frs.es
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
$42 - $45
Standard Car
$110 - $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
$44
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.

More Questions & Answers

Yes, the driving distance between Madrid to Gibraltar is 658 km. It takes approximately 6 h 41 min to drive from Madrid to Gibraltar.

Get driving directions

Air Europa, Air Arabia Maroc and Iberia offer flights from Madrid Airport to Malaga Airport.

Search flights

There are 150+ hotels available in Gibraltar. Prices start at $48 USD per night.

More details

The best way to get from Madrid to Madrid Airport is to train which takes 22 min and costs 1€ - 3€.

More details

Where to next?