There are 4 ways to get from Castelldefels to Barcelona by train, rideshare, taxi 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 • 25 min
Rideshare • 36 min
2 alternative options
Taxi • 20 min
Drive • 20 min
Castelldefels to Barcelona by train
The train journey time between Castelldefels and Barcelona is around 25 min and covers a distance of around 19 km. Operated by Renfe Viajeros, the Castelldefels to Barcelona train service departs from Castelldefels and arrives in Barcelona-Sants. Typically 13 trains run weekly, although weekend and holiday schedules can vary so check in advance.
Travel safe during COVID-19
Rules to follow in Spain
Travel within Spain
Observe COVID-19 safety rules
COVID-19 help in Spain
Frequently Asked Questions
Yes, travel within Spain is currently allowed.Explore travel options
Domestic travel is not restricted, but some conditions may apply
- Face masks are mandatory
- There is a social distancing requirement of 1.5 metres
- Observe COVID-19 safety rules
The national COVID-19 helpline number in Barcelona is 112.
Wearing a face mask on public transport in Barcelona is mandatory.
Make yourself known to an official member of staff and/or call the national coronavirus helpline number on 112.
Last updated: 26 Sep 2022
Exceptions may apply, for full details: European Union.
We're working around the clock to bring you the latest COVID-19 travel updates.
This information is compiled from official sources. To the best of our knowledge, it is correct as of the last update.
Visit Rome2rio travel advice for general help.
Questions & Answers
The cheapest way to get from Castelldefels to Barcelona is to rideshare which costs €2 and takes 36 min.
The quickest way to get from Castelldefels to Barcelona is to taxi which costs €40 - €55 and takes 20 min.
Yes, there is a direct train departing from Castelldefels and arriving at Barcelona-Sants. Services depart twice daily, and operate every day. The journey takes approximately 25 min.
It is 21 km from Castelldefels to Barcelona. It is approximately 24.7 km to drive.
The best way to get from Castelldefels to Barcelona without a car is to train which takes 25 min and costs €6 - €8.
The train from Castelldefels to Barcelona-Sants takes 25 min including transfers and departs twice daily.
Castelldefels to Barcelona train services, operated by Renfe Viajeros, depart from Castelldefels station.
Castelldefels to Barcelona train services, operated by Renfe Viajeros, arrive at Barcelona-Sants station.
Yes, the driving distance between Castelldefels to Barcelona is 25 km. It takes approximately 20 min to drive from Castelldefels to Barcelona.
Book your Castelldefels to Barcelona train tickets online with Omio.
What companies run services between Castelldefels, Spain and Barcelona, Spain?
Renfe Viajeros operates a train from Castelldefels to Barcelona-Sants twice daily. Tickets cost €6 - €8 and the journey takes 25 min.
Spain's excellent and extensive rail system connects cities across Spain and into neighbouring countries. Renfe's high-speed AVE trains can reach speeds of up to 350km/h, making travel between major cities very efficient. All medium- and long-distance trains require a seat reservation; ticket sales for these trains usually open 30-60 days before travel. Most Renfe trains have two classes: Turista (2nd class) and Preferente (1st class), although some AVE trains offer Turista Plus. There is free WiFi for Preferente passengers and for those with a +Renfe loyalty card.
Train from Castelldefels to Barcelona-Sants
- Ave. Duration
- 25 min
- Twice daily
- Estimated price
- €6 - €8
- Renfe Viajeros
- Ave. Duration
- 20 min
- Estimated price
- €40 - €55
Taxi Barcelona 24 Horas
Radio Taxi Barcelona
Radio taxi 033
Taxi Vilanova i la Geltrú
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
Top tips on how to best navigate the nation by train, from Alicante to Zaragoza
What are the different types of Renfe trains in Spain?
A simple guide to the different trains, routes and facilities, so you can identify which service is right for you.
Is ride-sharing platform BlaBlaCar right for you?
Don't have a car, or can't get there on public transportation? This carpooling platform could be your answer.
More Questions & Answers
There are 1021+ hotels available in Barcelona. Prices start at €100 per night.