There are 6 ways to get from Spain to Gibraltar by plane, taxi, ferry, train, bus, car ferry, train (Renfe, Ouigo), or car
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Fly, taxi, ferry
best- Fly from Málaga Airport (AGP) to Tangier Ibn Battouta Airport (TNG)plane AGP - 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 18m$122–512Train
cheapest- Take the train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandestrain Ave
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to San Roque-La Lineatrain Alv
11h 4m$79–295Train, bus
- Take the train from Barcelona-Sants to Malaga Maria Zambranotrain Ave
- Take the bus from Malaga Airport to Estación de Autobuses de La Línea de la Concepciónbus L-611
10h 40m$108–306Bus
- Take the bus from Barcelona, Estació d'Autobusos Nord to Algecirasbus Alsa
18h 43m$149–153Car ferry, ferry
- Take the car ferry from Port de Barcelona to Port de Tanger Medcarferry
- Take the ferry from Port de Tanger Med to Port of Gibraltarferry
33h 30m$151–465Drive 1,046.8 km
- Drive from Barcelona to Gibraltarcar 1,046.8 km
11h 16m$192–277
Spain to Gibraltar by train and bus
Questions & Answers
The cheapest way to get from Spain to Gibraltar is to train which costs $75 - $300 and takes 11h 4m.
The fastest way to get from Spain to Gibraltar is to fly and taxi and ferry which takes 5h 18m and costs $120 - $550.
No, there is no direct bus from Spain to Gibraltar. However, there are services departing from Barcelona, Estació d'Autobusos Nord and arriving at Estación de Autobuses de La Línea de la Concepción via Estación de Algeciras San Bernardo. The journey, including transfers, takes approximately 18h 43m.
No, there is no direct ferry from Spain to Gibraltar. However, there are services departing from Port de Barcelona and arriving at Port of Gibraltar via Port de Tanger Med. The journey, including transfers, takes approximately 33h 30m.
The distance between Spain and Gibraltar is 265 km. The road distance is 1046.8 km.
The best way to get from Spain to Gibraltar without a car is to train and bus which takes 10h 40m and costs $100 - $310.
It takes approximately 5h 18m to get from Spain to Gibraltar, including transfers.
Spain to Gibraltar bus services, operated by ALSA, depart from Barcelona, Estació d'Autobusos Nord station.
The best way to get from Spain to Gibraltar is to bus which takes 18h 43m and costs $149 - $153. Alternatively, you can train, which costs $75 - $300 and takes 11h 4m.
Spain to Gibraltar bus services, operated by ALSA, arrive at Algeciras station.
What companies run services between Spain and Gibraltar?
ALSA operates a bus from Barcelona, Estació d'Autobusos Nord to Algeciras twice daily. Tickets cost $147 and the journey takes 17h 15m. Alternatively, you can take a train from Barcelona-Plaça De Catalunya to Hospital La Línea via Barcelona-Sants, Madrid-Puerta de Atocha-Almudena Grandes, San Roque-La Linea, and Estación de San Roque in around 11h 4m.
- Website
- ryanair.com
Flights from Málaga Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 55 min
- When
- Monday, Thursday, Saturday, and Sunday
- Estimated price
- $30–190
- Website
- iberia.com
Flights from Málaga Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 1h 5m
- When
- Saturday
- Estimated price
- $55–160
- Website
- royalairmaroc.com
Flights from Málaga Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 50 min
- When
- Monday and Friday
- Estimated price
- $75–240
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Barcelona-Sants to Malaga Maria Zambrano
- Ave. Duration
- 6h 19m
- Frequency
- 3 times a day
- Estimated price
- $100–260
- Website
- https://www.renfe.com/es/en
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 37m
- Frequency
- Hourly
- Estimated price
- $55–180
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- iryo.eu
Train from Barcelona-Sants to Malaga Maria Zambrano
- Ave. Duration
- 5h 59m
- Frequency
- Once daily
- Estimated price
- $80–190
- Website
- https://iryo.eu/en/home
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 59m
- Frequency
- Hourly
- Estimated price
- $50–140
- Website
- https://iryo.eu/en/home
- Phone
- +34 910 780 990
- Website
- ouigo.com
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 3m
- Frequency
- Every 4 hours
- Estimated price
- $40–90
- Website
- https://www.ouigo.com/es/en
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 2m
- Frequency
- Twice daily
- Estimated price
- $55–80
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to San Roque-La Linea
- Ave. Duration
- 5h 49m
- 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–40
- Schedules at
- malaga.avanzagrupo.com
- Phone
- +34 910 207 007
- alsa@alsa.es
- Website
- alsa.com
Bus from Barcelona, Estació d'Autobusos Nord to Algeciras
- Ave. Duration
- 17h 15m
- Frequency
- Twice daily
- Estimated price
- $147
- Website
- https://www.alsa.com/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
- Phone
- +39 010 209 4591
- booking@gnv.it
- Website
- gnv.it
Car ferry from Port de Barcelona to Port de Tanger Med
- Ave. Duration
- 31h
- Frequency
- Twice a week
- Estimated price
- $110–220
- Website
- https://www.gnv.it/en
- 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
Yes, the driving distance between Spain to Gibraltar is 1047 km. It takes approximately 11h 16m to drive from Spain to Gibraltar.
There are 613+ hotels available in Gibraltar.



































