There are 5 ways to get from Spain to Rock of Gibraltar by train (Renfe, Ouigo), bus, car ferry, 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.
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 Algecirastrain Alv
10h 15m$160–349Bus
cheapest- Take the bus from Barcelona, Estació d'Autobusos Nord to Algecirasbus Alsa
19h 10m$116–182Car 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 54m$140–469Drive 1,050.9 km
- Drive from Barcelona to Rock of Gibraltarcar 1,050.9 km
11h 30m$192–278Bus via Estepona
- Take the bus from Barcelona, Estació d'Autobusos Nord to Esteponabus Alsa
- Take the bus from Estepona Terminal to Estación de Autobuses de La Línea de la Concepciónbus M-24O / ...
21h 26m$117–181
Questions & Answers
The cheapest way to get from Spain to Rock of Gibraltar is to bus via Estepona which costs $110 - $190 and takes 21h 26m.
The fastest way to get from Spain to Rock of Gibraltar is to train which takes 10h 15m and costs $160 - $350.
No, there is no direct bus from Spain to Rock of Gibraltar. However, there are services departing from Barcelona, Estació d'Autobusos Nord and arriving at Boyd Street Terminus via Estación de Algeciras San Bernardo and Kingsway. The journey, including transfers, takes approximately 19h 10m.
No, there is no direct ferry from Spain to Rock of 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 54m.
No, there is no direct train from Spain to Rock of Gibraltar. However, there are services departing from Barcelona Plaça de Catalunya and arriving at Algeciras via Barcelona-Sants and Madrid-Puerta de Atocha-Almudena Grandes. The journey, including transfers, takes approximately 10h 15m.
The distance between Spain and Rock of Gibraltar is 1271 km. The road distance is 1050.9 km.
The best way to get from Spain to Rock of Gibraltar without a car is to bus which takes 19h 10m and costs $110 - $190.
It takes approximately 10h 15m to get from Spain to Rock of Gibraltar, including transfers.
Spain to Rock of Gibraltar bus services, operated by ALSA, depart from Barcelona, Estació d'Autobusos Nord station.
Spain to Rock of Gibraltar train services, operated by Renfe AVE, depart from Barcelona-Sants station.
What companies run services between Spain and Rock of Gibraltar?
You can take a train from Barcelona Plaça de Catalunya to Rock of Gibraltar via Barcelona-Sants, Madrid-Puerta de Atocha-Almudena Grandes, and Algeciras in around 10h 15m. 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.
- 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 30 minutes
- Estimated price
- $100–190
- Website
- Renfe AVE
- Phone
- +34 900 926 851
- [email protected]
- Website
- Iryo
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 19m
- Frequency
- Hourly
- Estimated price
- $70–140
- Website
- Iryo
- Phone
- +34 900 759 781
- Website
- Ouigo
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 17m
- Frequency
- Every 2 hours
- Estimated price
- $65–120
- Website
- Ouigo
- Phone
- +34 91 232 03 20
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 2m
- Frequency
- 4 times a day
- Estimated price
- $90–140
- Website
- Renfe Viajeros
Train from Madrid-Puerta de Atocha-Almudena Grandes to Algeciras
- Ave. Duration
- 5h 29m
- Frequency
- Twice daily
- Estimated price
- $90–150
- Website
- Renfe Viajeros
- 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
- $110–170
- Website
- ALSA
- Phone
- +34 91 272 28 32
- [email protected]
- Website
- avanzabus.com
Bus from Estepona Terminal to Estación de Autobuses de La Línea de la Concepción
- Ave. Duration
- 1h 35m
- Frequency
- Every 2 hours
- Estimated price
- $6–12
- Schedules at
- malaga.avanzagrupo.com
- 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
- Phone
- +34 912 66 02 15
- [email protected]
- Website
- balearia.com
Car ferry from Port de Tanger Med to Port of Algeciras
- Ave. Duration
- 1h 30m
- Frequency
- Hourly
- Estimated price
- $6–45
- Schedules at
- balearia.com
- Phone
- +34 956 68 18 30
- [email protected]
- Website
- FRS Ferries
Car ferry from Port de Tanger Med to Port of Algeciras
- Ave. Duration
- 1h 30m
- Frequency
- Every 4 hours
- Estimated price
- $45–240
- Website
- FRS Ferries
- Phone
- +34 (0) 917369957
- Website
- Trasmediterránea S.A.
Car ferry from Port de Tanger Med to Port of Algeciras
- Ave. Duration
- 1h 30m
- Frequency
- Every 4 hours
- Estimated price
- $4–27
- Website
- Trasmediterránea S.A.
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 Rock of Gibraltar is to train which takes 10h 15m and costs $160 - $350. Alternatively, you can bus, which costs $110 - $190 and takes 19h 10m.
Spain to Rock of Gibraltar bus services, operated by ALSA, arrive at Algeciras station.
Spain to Rock of Gibraltar train services, operated by Renfe AVE, arrive at Madrid-Puerta de Atocha-Almudena Grandes station.
Yes, the driving distance between Spain to Rock of Gibraltar is 1051 km. It takes approximately 11h 30m to drive from Spain to Rock of Gibraltar.
There are 1614+ hotels available in Rock of Gibraltar.












































