There are 8 ways to get from Castelldefels to Gibraltar by train, bus, ferry, car ferry, car, train (Renfe, Ouigo), 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, bus via Madrid
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 Malaga Maria Zambranotrain Ave
- Take the bus from Aeropuerto Malaga to Estación de Autobuses de La Línea de la Concepciónbus
9h 53m$142–367Fly to Málaga Airport, bus
cheapest- Fly from Barcelona–El Prat Airport (BCN) to Málaga Airport (AGP)plane BCN - AGP
- Take the bus from Aeropuerto Malaga to Estación de Autobuses de La Línea de la Concepciónbus
5h 58m$57–189Bus
- Take the bus from Aeropuerto Barcelona- Prat T1 to Malaga Eeaabus ALSA - Man-Alg
- Take the bus from Estación de Autobuses de Málaga to Estación de Autobuses de La Línea de la Concepciónbus L-617-M
19h 31m$121–186Ferry, car ferry
- Take the ferry from Port de Barcelona to Port de Tanger Medferry
- Take the carferry from Port de Tanger Med to Port of Algecirascarferry
37h 50m$159–471Drive 1,024.9 km
- Drive from Castelldefels to Gibraltarcar 1,024.9 km
11h 5m$188–271Train
- 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 24m$160–329Train, bus
- Take the train from Barcelona-Sants to Malaga Maria Zambranotrain
- Take the bus from Estación de Autobuses de Málaga to Esteponabus
- Take the bus from Estepona Terminal to Estación de Autobuses de La Línea de la Concepciónbus
12h 22m$141–367Fly to Jerez Airport, bus
- Fly from Barcelona–El Prat Airport (BCN) to Jerez Airport (XRY)plane BCN - XRY
- Take the bus from Jerez de la Frontera to Estación de Algeciras San Bernardobus
7h 31m$86–252
Castelldefels to Gibraltar by train and bus
Questions & Answers
The cheapest way to get from Castelldefels to Gibraltar is to fly and bus which costs $55 - $190 and takes 5h 58m.
The fastest way to get from Castelldefels to Gibraltar is to fly and bus which takes 5h 58m and costs $55 - $190.
No, there is no direct bus from Castelldefels to Gibraltar. However, there are services departing from Av. Constitució - Av. 301 and arriving at Estación de Autobuses de La Línea de la Concepción via Aeropuerto Barcelona- Prat T1 and Estación de Autobuses de Málaga. The journey, including transfers, takes approximately 19h 31m.
No, there is no direct ferry from Castelldefels 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 37h 50m.
No, there is no direct train from Castelldefels to Gibraltar. However, there are services departing from Castelldefels and arriving at San Roque-La Linea via Barcelona-Sants and Madrid-Puerta de Atocha-Almudena Grandes. The journey, including transfers, takes approximately 11h 24m.
The distance between Castelldefels and Gibraltar is 1264 km. The road distance is 1024.9 km.
The best way to get from Castelldefels to Gibraltar without a car is to train and bus via Madrid which takes 9h 53m and costs $140 - $370.
It takes approximately 9h 53m to get from Castelldefels to Gibraltar, including transfers.
Castelldefels to Gibraltar bus services, operated by ALSA, depart from Aeropuerto Barcelona- Prat T1 station.
Castelldefels to Gibraltar train services, operated by Renfe AVE, depart from Barcelona-Sants station.
What companies run services between Castelldefels, Spain and Gibraltar?
You can take a bus from Av. Constitució - Av. 301 to Estación de Autobuses de La Línea de la Concepción via Aeropuerto Barcelona- Prat T1, Malaga Eeaa, and Estación de Autobuses de Málaga in around 19h 31m. Alternatively, you can take a train from Castelldefels to Cruce Pte. Mayorga via Barcelona-Sants, Madrid-Puerta de Atocha-Almudena Grandes, San Roque-La Linea, Estación de San Roque, Taraguillas, and Bar La Redonda in around 11h 24m.
- Website
- iberia.com
Flights from Barcelona–El Prat Airport to Málaga Airport
- Ave. Duration
- 1h 44m
- When
- Every day
- Estimated price
- $29–150
Flights from Barcelona–El Prat Airport to Málaga Airport via Palma Mallorca
- Ave. Duration
- 3h 35m
- When
- Sunday
- Estimated price
- $29–150
Flights from Barcelona–El Prat Airport to Málaga Airport via Madrid
- Ave. Duration
- 3h 30m
- When
- Saturday
- Estimated price
- $75–150
Flights from Barcelona–El Prat Airport to Jerez Airport
- Ave. Duration
- 1h 50m
- When
- Every day
- Estimated price
- $65–200
Flights from Barcelona–El Prat Airport to Jerez Airport via Madrid
- Ave. Duration
- 4h 11m
- When
- Every day
- Estimated price
- $140–390
- 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
Train from Madrid-Puerta de Atocha-Almudena Grandes to Malaga Maria Zambrano
- Ave. Duration
- 2h 50m
- Frequency
- Hourly
- Estimated price
- $85–150
- 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
Train from Barcelona-Sants to Malaga Maria Zambrano
- Ave. Duration
- 6h 41m
- Frequency
- Twice daily
- Estimated price
- $190–330
- Website
- Renfe AVE
- Phone
- +34 91 272 28 32
- [email protected]
- Website
- avanzabus.com
Bus from Aeropuerto Malaga to Estación de Autobuses de La Línea de la Concepción
- Ave. Duration
- 1h 56m
- Frequency
- Twice daily
- Estimated price
- $18–28
- Schedules at
- malaga.avanzagrupo.com
Bus from Estación de Autobuses de Málaga to Estación de Autobuses de La Línea de la Concepción
- Ave. Duration
- 2h 20m
- Frequency
- Once daily
- Estimated price
- $19–29
- Schedules at
- malaga.avanzagrupo.com
Bus from Estación de Autobuses de Málaga to Estepona
- Ave. Duration
- 1h 30m
- Frequency
- Hourly
- Estimated price
- $12–19
- Schedules at
- malaga.avanzagrupo.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
Bus from Aeropuerto Malaga to Estación de Autobuses de La Línea de la Concepción
- Ave. Duration
- 1h 56m
- Frequency
- Twice daily
- Estimated price
- $18–28
- Schedules at
- malaga.avanzagrupo.com
- Phone
- +39 010 209 4591
- [email protected]
- Website
- Grandi Navi Veloci
Ferry from Port de Barcelona to Port de Tanger Med
- Ave. Duration
- 32h 1m
- Frequency
- 3 times a week
- Estimated price
- $150–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 Castelldefels to Gibraltar is to bus which takes 19h 31m and costs $120 - $190. Alternatively, you can train, which costs $160 - $330 and takes 11h 24m.
Castelldefels to Gibraltar bus services, operated by ALSA, arrive at Malaga Eeaa station.
Castelldefels to Gibraltar train services, operated by Renfe AVE, arrive at Madrid-Puerta de Atocha-Almudena Grandes station.
Yes, the driving distance between Castelldefels to Gibraltar is 1025 km. It takes approximately 11h 5m to drive from Castelldefels to Gibraltar.
There are 667+ hotels available in Gibraltar.


















