There are 7 ways to get from Madrid to Gibraltar by train, bus, car, plane, or train (Renfe)
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Train, bus
best- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambranotrain Ave
- Take the bus from Estación de Autobuses de Málaga to Estación de Autobuses de La Línea de la Concepciónbus L-610
6h 5m$77–177Bus
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
7h 50m$27–100Drive 626.9 km
- Drive from Madrid to Gibraltarcar 626.9 km
6h 53m$115–166Fly 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 26m$59–201Train (Renfe)
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Algecirastrain Alv
6h 44m$94–147Bus 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
11h 31m$69–122Fly 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
6h 53m$98–334
Madrid to Gibraltar by train and bus
Questions & Answers
The cheapest way to get from Madrid to Gibraltar is to bus which costs $27 - $100 and takes 7h 50m.
The fastest way to get from Madrid to Gibraltar is to fly and bus which takes 5h 26m and costs $55 - $210.
Yes, there is a direct bus departing from Madrid Estación Sur de Autobuses and arriving at Estación de Autobuses de La Línea de la Concepción. Services depart once daily, and operate every day. The journey takes approximately 7h 50m.
No, there is no direct train from Madrid 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 6h 44m.
The distance between Madrid and Gibraltar is 642 km. The road distance is 626.9 km.
The best way to get from Madrid to Gibraltar without a car is to train and bus which takes 6h 5m and costs $75 - $180.
It takes approximately 6h 5m to get from Madrid to Gibraltar, including transfers.
Madrid to Gibraltar bus services, operated by Interbus, depart from Madrid Estación Sur de Autobuses station.
Madrid to Gibraltar train services, operated by Renfe Viajeros, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
The best way to get from Madrid to Gibraltar is to bus which takes 7h 50m and costs $27 - $100. Alternatively, you can train, which costs $90 - $150 and takes 6h 44m.
What companies run services between Madrid, Spain and Gibraltar?
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–100 and the journey takes 7h 50m. Alternatively, Renfe Viajeros operates a train from Madrid-Puerta de Atocha-Almudena Grandes to Algeciras twice daily. Tickets cost $90–140 and the journey takes 5h 29m.
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Málaga Airport
- Ave. Duration
- 1h 18m
- When
- Every day
- Estimated price
- $40–130
Flights from Adolfo Suárez Madrid–Barajas Airport to Jerez Airport
- Ave. Duration
- 1h 20m
- When
- Every day
- Estimated price
- $60–250
- Phone
- +34 91 232 03 20
- Website
- Renfe AVE
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 2h 50m
- Frequency
- Hourly
- Estimated price
- $85–150
- Website
- Renfe AVE
- Phone
- +34 91 272 28 32
- [email protected]
- Website
- avanzabus.com
Bus from Estación de Autobuses de Málaga to Estación de Autobuses de La Línea de la Concepción
- Ave. Duration
- 2h 15m
- Frequency
- Twice daily
- Estimated price
- $19–29
- Schedules at
- malaga.avanzagrupo.com
Bus from Aeropuerto Malaga to Estación de Autobuses de La Línea de la Concepción
- Ave. Duration
- 1h 56m
- Frequency
- Twice daily
- Estimated price
- $18–28
- 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–70
- Schedules at
- alsa.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
More Questions & Answers
Madrid to Gibraltar bus services, operated by Interbus, arrive at Estación de Autobuses de La Línea de la Concepción station.
Madrid to Gibraltar train services, operated by Renfe Viajeros, arrive at Algeciras station.
Yes, the driving distance between Madrid to Gibraltar is 627 km. It takes approximately 6h 53m to drive from Madrid to Gibraltar.
Book your Madrid to Gibraltar bus tickets online with Omio.
There are 668+ hotels available in Gibraltar.












