There are 8 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$69–181Bus
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–80Drive 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 25m$57–192Train (Renfe)
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Algecirastrain Alv
6h 44m$93–135Bus 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$71–126Fly 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 49m$82–339Fly 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
7h 45m$54–149
Madrid to Gibraltar by train and bus
Comparing Your Travel Options
The cheapest way to get from Madrid to Gibraltar is to bus which costs $27 - $80 and takes 7h 50m.
The fastest way to get from Madrid to Gibraltar is to fly and bus which takes 5h 25m and costs $55 - $200.
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 $65 - $190.
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 - $80. Alternatively, you can train, which costs $90 - $140 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–80 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–130 and the journey takes 5h 29m.
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Málaga Airport
- Ave. Duration
- 1h 17m
- When
- Every day
- Estimated price
- $35–110
Flights from Adolfo Suárez Madrid–Barajas Airport to Jerez Airport
- Ave. Duration
- 1h 20m
- When
- Every day
- Estimated price
- $50–280
Flights from Adolfo Suárez Madrid–Barajas Airport to Seville Airport
- Ave. Duration
- 1h 15m
- When
- Every day
- Estimated price
- $24–90
- 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
- $21–35
- 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 55m
- Frequency
- Twice daily
- Estimated price
- $21–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
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 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 671+ hotels available in Gibraltar.












