There are 7 ways to get from Madrid to Gibraltar by train, bus, car, plane, taxi, ferry, 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 Estación de Atocha to Malaga - Maria Zambrano Stationtrain
- Take the bus from Malaga Airport to Estación de Autobuses de La Línea de la Concepciónbus L-611
6h 4m$42–117Bus
cheapest- Take the bus from Estación Sur de Autobuses to Estación de Autobuses de La Línea de la Concepciónbus Madrid
7h 50m$28–75Drive 626.9 km
- Drive from Madrid to Gibraltarcar 626.9 km
6h 53m$115–166Fly to Tangier Ibn Battouta Airport, taxi, ferry
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Tangier Ibn Battouta Airport (TNG)plane MAD - TNG
- Take the taxi from Tangier Ibn Battouta Airport (TNG) to Port de Tanger Medtaxi
- Take the ferry from Port de Tanger Med to Port of Gibraltarferry
5h 2m$112–543Train (Renfe)
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Algecirastrain Alv
7h 32m$63–86Bus 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$56–86Fly 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 Malaga Airport to Estación de Autobuses de La Línea de la Concepciónbus
5h 20m$54–228
Madrid to Gibraltar by bus
Questions & Answers
The cheapest way to get from Madrid to Gibraltar is to bus which costs $28 - $75 and takes 7h 50m.
The fastest way to get from Madrid to Gibraltar is to fly and taxi and ferry which takes 5h 2m and costs $110 - $550.
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 626.9 km.
The best way to get from Madrid to Gibraltar without a car is to train and bus which takes 6h 4m and costs $40 - $120.
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 $28 - $75. Alternatively, you can train, which costs $60 - $90 and takes 7h 32m.
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 $28–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 $60–80 and the journey takes 6h 7m.
- Website
- ryanair.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 30 min
- When
- Every day
- Estimated price
- $28–230
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Monday, Wednesday, and Saturday
- Estimated price
- $45–320
Flights from Adolfo Suárez Madrid–Barajas Airport to Málaga Airport
- Ave. Duration
- 1h 10m
- When
- Every day
- Estimated price
- $35–160
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 30m
- When
- Every day
- Estimated price
- $45–120
Flights from Adolfo Suárez Madrid–Barajas Airport to Málaga Airport
- Ave. Duration
- 1h 15m
- When
- Every day
- Estimated price
- $45–180
- Website
- royalairmaroc.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 27m
- When
- Every day
- Estimated price
- $45–330
Flights from Adolfo Suárez Madrid–Barajas Airport to Málaga Airport via Tangier Ibn Battouta Airport
- Ave. Duration
- 3h 10m
- When
- Monday
- Estimated price
- $110–200
- Website
- airarabia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 30 min
- When
- Tuesday, Wednesday, Thursday, Saturday, and Sunday
- Estimated price
- $30–200
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- iryo.eu
Train from Estación de Atocha to Malaga - Maria Zambrano Station
- Ave. Duration
- 2h 47m
- Frequency
- Hourly
- Estimated price
- $29–90
- Website
- https://iryo.eu/en/home
- Inicial
- $29–90
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Algeciras
- Ave. Duration
- 6h 7m
- Frequency
- Once daily
- Estimated price
- $60–80
- 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
- $12–25
- 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
- infobus@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
- $28–75
- Schedules at
- 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
- $27–45
- Website
- https://socibusventas.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 615+ hotels available in Gibraltar.

























