There are 9 ways to get from Madrid to Gibraltar by train, bus, car, plane, train (Renfe), taxi, or ferry
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 ZambranoAve
- Take the bus from Malaga Airport to Estación de Autobuses de La Línea de la ConcepciónL-611
6h 4m$47–163Bus
cheapest- Take the bus from Estación Sur de Autobuses to Estación de Autobuses de La Línea de la ConcepciónMadrid
7h 50m$30–75Drive 627.1 km
- Drive from Madrid to Gibraltar627.1 km
6h 53m$115–166Fly to Málaga Airport, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Málaga Airport (AGP)MAD - AGP
- Take the bus from Malaga Airport to Estación de Autobuses de La Línea de la Concepción
5h 20m$60–198Train (Renfe)
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to AlgecirasAlv
7h 30m$38–115Bus via Córdoba
- Take the bus from Estación Sur de Autobuses to Córdoba, Estación de AutobusesMadrid
- Take the bus from Córdoba, Estación de Autobuses to Estación de Autobuses de La Línea de la ConcepciónL-526
11h 31m$63–107Fly to Tangier Ibn Battouta Airport, taxi, ferry
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Tangier Ibn Battouta Airport (TNG)MAD - TNG
- Take the taxi from Tangier Ibn Battouta Airport (TNG) to Port de Tanger Med
- Take the ferry from Port de Tanger Med to Port of Gibraltar
7h 2m$113–473Fly to Seville Airport, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Seville Airport (SVQ)MAD - SVQ
- Take the bus from Sevilla Estación Prado De San Sebastian to Algeciras Puerto
8h 19m$65–261Fly to Jerez Airport, bus
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Jerez Airport (XRY)MAD - XRY
- Take the bus from Jerez de la Frontera to Algeciras Puerto
7h 39m$71–345
Madrid to Gibraltar by train and bus
Questions & Answers
The cheapest way to get from Madrid to Gibraltar is to bus which costs $30 - $75 and takes 7h 50m.
The fastest way to get from Madrid to Gibraltar is to fly and bus which takes 5h 20m and costs $60 - $200.
Yes, there is a direct bus departing from 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.
The distance between Madrid and Gibraltar is 641 km. The road distance is 627.1 km.
The best way to get from Madrid to Gibraltar without a car is to train and bus which takes 6h 4m and costs $45 - $170.
It takes approximately 6h 4m to get from Madrid to Gibraltar, including transfers.
Madrid to Gibraltar bus services, operated by Interbus, depart from Estación Sur de Autobuses station.
The best way to get from Madrid to Gibraltar is to bus which takes 7h 50m and costs $30 - $75. Alternatively, you can train, which costs $35 - $120 and takes 7h 30m.
Madrid to Gibraltar bus services, operated by Interbus, arrive at Estación de Autobuses de La Línea de la Concepción station.
Yes, the driving distance between Madrid to Gibraltar is 627 km. It takes approximately 6h 53m to drive from Madrid to Gibraltar.
What companies run services between Madrid, Spain and Gibraltar?
Interbus operates a bus from Estación Sur de Autobuses to Estación de Autobuses de La Línea de la Concepción once daily. Tickets cost $30–75 and the journey takes 7h 50m. Alternatively, Renfe Viajeros operates a train from Madrid-Puerta de Atocha-Almudena Grandes to Algeciras once daily. Tickets cost $35–110 and the journey takes 6h 7m.
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Málaga Airport
- Ave. Duration
- 1h 15m
- When
- Every day
- Estimated price
- $40–130
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Every day
- Estimated price
- $45–110
Flights from Adolfo Suárez Madrid–Barajas Airport to Seville Airport
- Ave. Duration
- 1h 11m
- When
- Every day
- Estimated price
- $35–170
Flights from Adolfo Suárez Madrid–Barajas Airport to Jerez Airport
- Ave. Duration
- 1h 20m
- When
- Every day
- Estimated price
- $55–230
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Tuesday, Wednesday, Friday, Saturday, and Sunday
- Estimated price
- $30–190
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Málaga Airport
- Ave. Duration
- 1h 10m
- When
- Every day
- Estimated price
- $35–130
- Website
- airarabia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Tuesday, Wednesday, Thursday, Saturday, and Sunday
- Estimated price
- $30–130
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 2h 47m
- Frequency
- Every 3 hours
- Estimated price
- $30–120
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- iryo.eu
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 2h 44m
- Frequency
- 4 times a day
- Estimated price
- $30–120
- Website
- https://iryo.eu/en/home
- Phone
- +34 910 780 990
- Website
- ouigo.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 2h 47m
- Frequency
- 3 times a day
- Estimated price
- $22–85
- Website
- https://www.ouigo.com/es/en
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 3h 10m
- Frequency
- Twice daily
- Estimated price
- $50–70
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Algeciras
- Ave. Duration
- 6h 7m
- Frequency
- Once daily
- Estimated price
- $35–110
- Website
- https://www.renfe.com/es/en
- Phone
- +34 91 272 28 32
- info.LD@avanzagrupo.com
- Website
- avanzabus.com
Bus from Malaga Airport to Estación de Autobuses de La Línea de la Concepción
- Ave. Duration
- 1h 55m
- Frequency
- Once daily
- Estimated price
- $22–45
- 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
- $29–45
- Schedules at
- alsa.es
- Phone
- +34 916 52 00 11
- info@interbus.es
- Website
- interbus.es
Bus from 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
- $30–75
- Website
- https://www.interbus.es/
- Phone
- +34 915 304 417
- socibus@socibus.es
- Website
- socibusventas.es
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
- $30–65
- Website
- https://socibusventas.es/en/
- Phone
- +34 900 92 91 92
- info@monbus.es
- Website
- monbus.es
Bus from Sevilla Estación Prado De San Sebastian to Algeciras Puerto
- Ave. Duration
- 2h 45m
- Frequency
- 4 times a day
- Estimated price
- $15–27
- Website
- https://www.monbus.es/en
Bus from Jerez de la Frontera to Algeciras Puerto
- Ave. Duration
- 1h 30m
- Frequency
- 4 times a day
- Estimated price
- $9–13
- Website
- https://www.monbus.es/en
- Phone
- +34 956 68 18 30
- info@frs.es
- Website
- frs.es
Ferry from Port de Tanger Med to Port of Gibraltar
- Ave. Duration
- 1h 30m
- Frequency
- Once a week
- Estimated price
- $43–250
- Website
- https://www.frs.es/en/
- Standard Car
- $230–250
- Passenger
- $43–46
- Ave. Duration
- 47 min
- Estimated price
- $40–50
Blue Petite Taxi
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
Book your Madrid to Gibraltar bus tickets online with Omio.
There are 625+ hotels available in Gibraltar.




































