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 5 min

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

$72 - $90

Cheapest option

Bus  •  8 h 10 min

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

$25 - $70

5 alternative options

Drive  •  6 h 41 min

  1. Drive from Madrid to Gibraltar 411.5 miles

$75 - $120

Fly to Malaga, bus  •  5 h 57 min

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

$60 - $279

Fly to Tangier, car ferry, bus  •  8 h 9 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 La Línea de la Concepción

$90 - $334

Fly to Jerez, bus  •  7 h 41 min

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

$85 - $401

Fly to Sevilla, train, bus  •  8 h 17 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 Los Barrios

$57 - $278

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 fly and bus which costs 50€ - 240€ and takes 5 h 57 min.

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

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 5 min and costs 60€ - 80€.

More details

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

More details

Madrid to Gibraltar bus services, operated by Interbus Madrid-Malaga-Algeciras, depart from Madrid station.

More details

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

Mode details

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

Search flights

Madrid to Gibraltar bus services, operated by Interbus Madrid-Malaga-Algeciras, arrive at La Linea de la Concepcion station.

More details

Map of how to get from Madrid to Gibraltar.
Launch map view
  • Distance: 310.2 miles
  • Duration: 6 h 5 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 $70 - $90 and the journey takes 4 h 59 min. Alternatively, Interbus Madrid-Malaga-Algeciras operates a bus from Madrid to Gibraltar every 4 hours. Tickets cost $26 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 Valencia
Ave. Duration
3 h 5 min
When
Friday
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
Flights from Madrid to Sevilla
Ave. Duration
1 h 5 min
When
Every day
Estimated price
$30 - $290
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 (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
$70 - $90
Website
renfe.com
Train from Sevilla Santa Justa to Jerez de la Frontera
Ave. Duration
55 min
Frequency
Hourly
Estimated price
$13 - $23
Website
renfe.com
Bus operators
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
$26
Schedules at
mma.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 - $70
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
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 La Línea de la Concepción
Ave. Duration
45 min
Frequency
4 times a day
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
43 min
Frequency
Every 2 hours
Estimated price
$2 - $4
Schedules at
siu.ctmcg.es
Bus from Algeciras to La Línea de la Concepción
Ave. Duration
45 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 - $19
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 - $48
Standard Car
$115 - $130
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.

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 and Iberia offer flights from Madrid Airport to Malaga Airport.

Search flights

Book your Madrid to Gibraltar bus tickets online with Busbud.

Search and book

There are 177+ hotels available in Gibraltar. Prices start at $51 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?