There are 6 ways to get from Spain to Gibraltar by train (Renfe, Ouigo), bus, car ferry, car, or plane
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Train
best- 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
10h 50m$157–325Fly, car ferry, bus
cheapest- Fly from Málaga Airport (AGP) to Tangier Ibn Battouta Airport (TNG)plane AGP - TNG
- Take the carferry from Port of Tangier Ville to Tarifacarferry
- Take the bus from Tarifa - Centro de Salud to Estación de Algeciras San Bernardobus
- Take the bus from Estación de Algeciras San Bernardo to Estación de Autobuses La Línea de la Concepciónbus
7h 21m$53–582Bus
- Take the bus from Barcelona, Estació d'Autobusos Nord to Algecirasbus ALSA - Slpe Ma-Al
18h 34m$114–180Car ferry
- Take the carferry from Port de Barcelona to Port de Tanger Medcarferry
- Take the carferry from Port de Tanger Med to Port of Algecirascarferry
34h 19m$138–464Drive 1,046.4 km
- Drive from Barcelona to Gibraltarcar 1,046.4 km
11h 22m$192–277Bus via Estepona
- Take the bus from Barcelona, Estació d'Autobusos Nord to Esteponabus ALSA - Slpe Ma-Al
- Take the bus from Estepona Terminal to Estación de Autobuses de La Línea de la Concepciónbus M-24O / ...
20h 50m$115–178
Spain to Gibraltar by bus and foot
Questions & Answers
The cheapest way to get from Spain to Gibraltar is to bus which costs $110 - $180 and takes 18h 34m.
The fastest way to get from Spain to Gibraltar is to fly and car ferry and bus which takes 7h 21m and costs $50 - $600.
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 La Línea de la Concepción via Estación de Algeciras San Bernardo. The journey, including transfers, takes approximately 18h 34m.
No, there is no direct ferry from Spain to Gibraltar. However, there are services departing from Port de Barcelona and arriving at Port of Algeciras via Port de Tanger Med. The journey, including transfers, takes approximately 34h 19m.
No, there is no direct train from Spain to Gibraltar. However, there are services departing from Barcelona Plaça de Catalunya and arriving at San Roque-La Linea via Barcelona-Sants and Madrid-Puerta de Atocha-Almudena Grandes. The journey, including transfers, takes approximately 10h 50m.
The distance between Spain and Gibraltar is 1240 km. The road distance is 1046.4 km.
The best way to get from Spain to Gibraltar without a car is to train which takes 10h 50m and costs $150 - $330.
It takes approximately 10h 50m to get from Spain to Gibraltar, including transfers.
Spain to Gibraltar bus services, operated by ALSA, depart from Barcelona, Estació d'Autobusos Nord station.
Spain to Gibraltar train services, operated by Renfe AVE, depart from Barcelona-Sants station.
What companies run services between Spain and Gibraltar?
You can take a train from Barcelona Plaça de Catalunya to La Colonia via Barcelona-Sants, Madrid-Puerta de Atocha-Almudena Grandes, San Roque-La Linea, and Estación de San Roque in around 10h 50m. Alternatively, ALSA operates a bus from Barcelona, Estació d'Autobusos Nord to Algeciras twice daily. Tickets cost $110–180 and the journey takes 17h 15m.
- Website
- ryanair.com
Flights from Málaga Airport to Tangier Ibn Battouta Airport
- Ave. Duration
- 51 min
- When
- Every day
- Estimated price
- $27–250
- Phone
- +34 91 232 03 20
- Website
- Renfe AVE
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 2m
- Frequency
- Every 20 minutes
- Estimated price
- $100–180
- Website
- Renfe AVE
- Phone
- +34 910 207 007
- Website
- ALSA
Bus from Barcelona, Estació d'Autobusos Nord to Algeciras
- Ave. Duration
- 17h 15m
- Frequency
- Twice daily
- Estimated price
- $110–180
- Website
- ALSA
Bus from Barcelona, Estació d'Autobusos Nord to Estepona
- Ave. Duration
- 18h 15m
- Frequency
- Once daily
- Estimated price
- $100–170
- Website
- ALSA
Bus from Estación de Algeciras San Bernardo to Estación de Autobuses La Línea de la Concepción
- Ave. Duration
- 30 min
- Frequency
- Once daily
- Estimated price
- $3–5
- Website
- ALSA
- Phone
- +39 010 209 4591
- [email protected]
- Website
- Grandi Navi Veloci
Car ferry from Port de Barcelona to Port de Tanger Med
- Ave. Duration
- 31h
- Frequency
- Twice a week
- Estimated price
- $130–220
- Website
- Grandi Navi Veloci
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
The best way to get from Spain to Gibraltar is to train which takes 10h 50m and costs $150 - $330. Alternatively, you can bus, which costs $110 - $180 and takes 18h 34m.
Spain to Gibraltar bus services, operated by ALSA, arrive at Estepona station.
Spain to Gibraltar train services, operated by Renfe AVE, arrive at Madrid-Puerta de Atocha-Almudena Grandes station.
Yes, the driving distance between Spain to Gibraltar is 1046 km. It takes approximately 11h 22m to drive from Spain to Gibraltar.
Book your Spain to Gibraltar bus tickets online with Omio.
There are 665+ hotels available in Gibraltar.
















