There are 5 ways to get from Gibraltar to Spain by bus, train, car ferry, car, or train (Renfe, Ouigo)
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Bus, train
best- Take the bus from Estación de Autobuses de La Línea de la Concepción to Malaga Airportbus
- Take the train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandestrain Ave
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Santstrain Ave
8h 59m€117–336Bus
cheapest- Take the bus from La Linea De La Concepcion to Barcelona, Estació d'Autobusos Nordbus Alsa
17h 15m€90–190Car ferry
- Take the car ferry from Port of Algeciras to Port de Tanger Medcarferry
- Take the car ferry from Port de Tanger Med to Port de Barcelonacarferry
34h 54m€115–396Drive 1,046.2 km
- Drive from Gibraltar to Barcelonacar 1,046.2 km
11h 21m€168–243Train
- Take the train from San Roque-La Linea to Madrid-Puerta de Atocha-Almudena Grandestrain Alv
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Santstrain Ave
11h 38m€134–295
Gibraltar to Spain by bus and train
Questions & Answers
The cheapest way to get from Gibraltar to Spain is to bus which costs €90 - €190 and takes 17h 15m.
The fastest way to get from Gibraltar to Spain is to bus and train which takes 8h 59m and costs €110 - €340.
Yes, there is a direct bus departing from La Linea De La Concepcion and arriving at Barcelona, Estació d'Autobusos Nord. Services depart once daily, and operate every day. The journey takes approximately 17h 15m.
No, there is no direct ferry from Gibraltar to Spain. However, there are services departing from Port of Algeciras and arriving at Port de Barcelona via Port de Tanger Med. The journey, including transfers, takes approximately 34h 54m.
No, there is no direct train from Gibraltar to Spain. However, there are services departing from San Roque-La Linea and arriving at Barcelona Plaça de Catalunya via Madrid-Puerta de Atocha-Almudena Grandes and Barcelona Sants. The journey, including transfers, takes approximately 11h 38m.
The distance between Gibraltar and Spain is 1271 km. The road distance is 1046.2 km.
The best way to get from Gibraltar to Spain without a car is to bus and train which takes 8h 59m and costs €110 - €340.
It takes approximately 8h 59m to get from Gibraltar to Spain, including transfers.
Gibraltar to Spain bus services, operated by ALSA, depart from La Linea De La Concepcion station.
Gibraltar to Spain train services, operated by Renfe Viajeros, depart from San Roque-La Linea station.
What companies run services between Gibraltar and Spain?
ALSA operates a bus from La Linea De La Concepcion to Barcelona, Estació d'Autobusos Nord once daily. Tickets cost €90–190 and the journey takes 17h 15m. Alternatively, you can take a bus from Estación de Autobuses La Línea de la Concepción to Port de Barcelona via Estación de Algeciras San Bernardo, Port of Algeciras, and Port de Tanger Med in around 34h 54m.
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 45m
- Frequency
- Hourly
- Estimated price
- €80–140
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 22m
- Frequency
- Every 30 minutes
- Estimated price
- €95–170
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 22m
- Frequency
- Every 30 minutes
- Estimated price
- €95–170
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- iryo.eu
Train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 48m
- Frequency
- Every 2 hours
- Estimated price
- €55–120
- Website
- https://iryo.eu/en/home
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 21m
- Frequency
- Hourly
- Estimated price
- €65–140
- Website
- https://iryo.eu/en/home
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 21m
- Frequency
- Hourly
- Estimated price
- €65–140
- Website
- https://iryo.eu/en/home
- Phone
- +34 900 759 781
- Website
- ouigo.com
Train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 46m
- Frequency
- Every 4 hours
- Estimated price
- €45–85
- Website
- https://www.ouigo.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 23m
- Frequency
- Every 2 hours
- Estimated price
- €55–110
- Website
- https://www.ouigo.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 23m
- Frequency
- Every 2 hours
- Estimated price
- €55–110
- Website
- https://www.ouigo.com/es/en
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Malaga Maria Zambrano to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 9m
- Frequency
- 3 times a day
- Estimated price
- €65–100
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 29m
- Frequency
- 4 times a day
- Estimated price
- €75–120
- Website
- https://www.renfe.com/es/en
Train from San Roque-La Linea to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 5h 35m
- Frequency
- Twice daily
- Estimated price
- €75–120
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 29m
- Frequency
- 4 times a day
- Estimated price
- €75–120
- Website
- https://www.renfe.com/es/en
- Phone
- +34 91 272 28 32
- info.LD@avanzagrupo.com
- Website
- avanzabus.com
Bus from Estación de Autobuses de La Línea de la Concepción to Malaga Airport
- Ave. Duration
- 1h 55m
- Frequency
- 5 times a day
- Estimated price
- €15–24
- Schedules at
- malaga.avanzagrupo.com
- Phone
- +34 910 207 007
- Website
- alsa.com
Bus from La Linea De La Concepcion to Barcelona, Estació d'Autobusos Nord
- Ave. Duration
- 17h 15m
- Frequency
- Once daily
- Estimated price
- €90–190
- Website
- https://www.alsa.com/en/
- Phone
- +34 912 66 02 15
- reservas@balearia.com
- Website
- balearia.com
Car ferry from Port of Algeciras to Port de Tanger Med
- Ave. Duration
- 1h 29m
- Frequency
- Hourly
- Estimated price
- €6–194
- Schedules at
- balearia.com
- Seating
- €29–40
- Seat + Car
- €194
- Phone
- +34 956 68 18 30
- info@frs.es
- Website
- frs.es
Car ferry from Port of Algeciras to Port de Tanger Med
- Ave. Duration
- 1h 30m
- Frequency
- Every 4 hours
- Estimated price
- €40–210
- Website
- https://www.frs.es/en/
- Phone
- +34 (0) 917369957
- Website
- armastrasmediterranea.com
Car ferry from Port of Algeciras to Port de Tanger Med
- Ave. Duration
- 1h 30m
- Frequency
- Every 4 hours
- Estimated price
- €3–23
- Website
- https://armastrasmediterranea.com/en
- Phone
- +39 010 209 4591
- booking@gnv.it
- Website
- gnv.it
Car ferry from Port de Tanger Med to Port de Barcelona
- Ave. Duration
- 31h
- Frequency
- Twice a week
- Estimated price
- €110–180
- Website
- https://www.gnv.it/en
Want to know more about travelling around Spain
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 Gibraltar to Spain is to bus which takes 17h 15m and costs €90 - €190. Alternatively, you can train, which costs €130 - €300 and takes 11h 38m.
Gibraltar to Spain bus services, operated by ALSA, arrive at Barcelona, Estació d'Autobusos Nord station.
Gibraltar to Spain train services, operated by Renfe Viajeros, arrive at Madrid-Puerta de Atocha-Almudena Grandes station.
Yes, the driving distance between Gibraltar to Spain is 1046 km. It takes approximately 11h 21m to drive from Gibraltar to Spain.
Book your Gibraltar to Spain bus tickets online with Omio.
There are 5078+ hotels available in Spain.












































