There are 7 ways to get from Madrid (Station) to Gibraltar by train (Renfe), bus, car, plane, or train
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Train (Renfe)
best- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Algecirastrain Alv
8h 30m$94–140Bus
cheapest- Take the bus from Madrid Estación Sur de Autobuses to Estación de Autobuses de La Línea de la Concepciónbus Madrid
9h 37m$29–82Drive 631 km
- Drive from Madrid (Station) to Gibraltarcar 631 km
6h 54m$116–167Fly to Málaga Airport, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Málaga Airport (AGP)plane MAD - AGP
- Take the bus from Aeropuerto Malaga to Estación de Autobuses de La Línea de la Concepciónbus
5h 46m$63–198Bus via Córdoba
- Take the bus from Estación Sur de Autobuses to Córdoba, Estación de Autobusesbus Madrid
- Take the bus from Córdoba, Estación de Autobuses to Estación de Autobuses de La Línea de la Concepciónbus L-526
13h 24m$72–132Fly to Jerez Airport, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Jerez Airport (XRY)plane MAD - XRY
- Take the bus from Jerez de la Frontera to Estación de Algeciras San Bernardobus
7h 10m$78–345Fly to Seville Airport, train, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Seville Airport (SVQ)plane MAD - SVQ
- Take the train from Sevilla-Santa Justa to Jerez De La Fronteratrain
- Take the bus from Jerez de la Frontera to Estación de Algeciras San Bernardobus
8h 15m$60–155
Madrid (Station) to Gibraltar by foot, bus, and train (Renfe)
Comparing Your Travel Options
The cheapest way to get from Madrid (Station) to Gibraltar is to bus which costs $28 - $85 and takes 9h 37m.
The fastest way to get from Madrid (Station) to Gibraltar is to fly and bus which takes 5h 46m and costs $60 - $200.
No, there is no direct bus from Madrid (Station) to Gibraltar. However, there are services departing from Avenida América and arriving at Estación de Autobuses de La Línea de la Concepción via Madrid Estación Sur de Autobuses. The journey, including transfers, takes approximately 9h 37m.
No, there is no direct train from Madrid (Station) to Gibraltar. However, there are services departing from Madrid-Puerta de Atocha-Almudena Grandes and arriving at Algeciras via . The journey, including transfers, takes approximately 8h 30m.
The distance between Madrid (Station) and Gibraltar is 672 km. The road distance is 631 km.
The best way to get from Madrid (Station) to Gibraltar without a car is to train which takes 8h 30m and costs $90 - $140.
It takes approximately 8h 30m to get from Madrid (Station) to Gibraltar, including transfers.
Madrid (Station) to Gibraltar bus services, operated by Interbus, depart from Madrid Estación Sur de Autobuses station.
Madrid (Station) to Gibraltar train services, operated by Renfe Viajeros, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
The best way to get from Madrid (Station) to Gibraltar is to train which takes 8h 30m and costs $90 - $140. Alternatively, you can bus, which costs $28 - $85 and takes 9h 37m.
What companies run services between Madrid (Station), Madrid, Spain and Gibraltar?
Renfe Viajeros operates a train from Madrid-Puerta de Atocha-Almudena Grandes to Algeciras twice daily. Tickets cost $90–130 and the journey takes 5h 29m. Alternatively, Interbus operates a bus from Madrid Estación Sur de Autobuses to Estación de Autobuses de La Línea de la Concepción once daily. Tickets cost $27–80 and the journey takes 7h 50m.
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Málaga Airport
- Ave. Duration
- 1h 18m
- When
- Every day
- Estimated price
- $35–100
Flights from Adolfo Suárez Madrid–Barajas Airport to Jerez Airport
- Ave. Duration
- 1h 20m
- When
- Every day
- Estimated price
- $50–300
Flights from Adolfo Suárez Madrid–Barajas Airport to Seville Airport
- Ave. Duration
- 1h 15m
- When
- Every day
- Estimated price
- $24–85
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Málaga Airport
- Ave. Duration
- 1h 15m
- When
- Every day
- Estimated price
- $35–150
Flights from Adolfo Suárez Madrid–Barajas Airport to Seville Airport
- Ave. Duration
- 1h 10m
- When
- Every day
- Estimated price
- $22–80
- Website
- flytap.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Seville Airport via Lisboa
- Ave. Duration
- 3h 15m
- When
- Monday, Wednesday, Thursday, Friday, and Saturday
- Estimated price
- $45–240
- Phone
- +34 91 232 03 20
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Algeciras
- Ave. Duration
- 5h 29m
- Frequency
- Twice daily
- Estimated price
- $90–130
- Website
- Renfe Viajeros
Train from Sevilla-Santa Justa to Jerez De La Frontera
- Ave. Duration
- 51 min
- Frequency
- Hourly
- Estimated price
- $14–21
- Website
- Renfe Viajeros
- Phone
- +34 916 52 00 11
- [email protected]
- Website
- grupointerbus.com
Bus from Madrid Estación Sur de Autobuses to Estación de Autobuses de La Línea de la Concepción
- Ave. Duration
- 7h 50m
- Frequency
- Once daily
- Estimated price
- $27–80
- Schedules at
- grupointerbus.com
- Phone
- +34 91 272 28 32
- [email protected]
- Website
- avanzabus.com
Bus from Aeropuerto Malaga to Estación de Autobuses de La Línea de la Concepción
- Ave. Duration
- 1h 55m
- Frequency
- Twice daily
- Estimated price
- $22–30
- Schedules at
- malaga.avanzagrupo.com
Bus from Córdoba, Estación de Autobuses to Estación de Autobuses de La Línea de la Concepción
- Ave. Duration
- 5h 45m
- Frequency
- Once daily
- Estimated price
- $35–80
- Schedules at
- alsa.es
- Phone
- +34 915 304 417
- [email protected]
- Website
- Socibus
Bus from Estación Sur de Autobuses to Córdoba, Estación de Autobuses
- Ave. Duration
- 4h 46m
- Frequency
- 4 times a day
- Estimated price
- $35–50
- Website
- Socibus
- Phone
- +34 900 92 91 92
- [email protected]
- Website
- Monbus
Bus from Jerez de la Frontera to Estación de Algeciras San Bernardo
- Ave. Duration
- 1h 35m
- Frequency
- 4 times a day
- Estimated price
- $10
- Website
- Monbus
Bus from Jerez de la Frontera to Estación de Algeciras San Bernardo
- Ave. Duration
- 1h 35m
- Frequency
- 4 times a day
- Estimated price
- $10
- Website
- Monbus
- Phone
- +34 956 807 059
- [email protected]
- Website
- tgcomes.es
Bus from Jerez de la Frontera to Estación de Algeciras San Bernardo
- Ave. Duration
- 3h 45m
- Frequency
- Once a week
- Estimated price
- $17–28
- Schedules at
- tgcomes.es
Bus from Jerez de la Frontera to Estación de Algeciras San Bernardo
- Ave. Duration
- 3h 45m
- Frequency
- Once a week
- Estimated price
- $17–28
- Schedules at
- tgcomes.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.
Related travel guides
Train travel in Spain: A guide to Renfe
Read the travel guide
What are the different types of Renfe trains in Spain?
Read the travel guide
Booking & Getting There
Madrid (Station) to Gibraltar bus services, operated by Interbus, arrive at Estación de Autobuses de La Línea de la Concepción station.
Madrid (Station) to Gibraltar train services, operated by Renfe Viajeros, arrive at Algeciras station.
Yes, the driving distance between Madrid (Station) to Gibraltar is 631 km. It takes approximately 6h 54m to drive from Madrid (Station) to Gibraltar.
There are 660+ hotels available in Gibraltar.






























