The average train between Castelldefels and Rubí takes 1h 11m and the fastest train takes 1h 7m. There is an hourly train service from Castelldefels to Rubí. The journey time may be longer on weekends and holidays; use the search form on this page to search for a specific travel date.
Trains run hourly between Castelldefels and Rubí. The earliest departure is at 5:08 AM in the morning, and the last departure from Castelldefels is at 3:02 PM which arrives into Rubí at 4:15 PM. All services require a transfer at Barcelona-Passeig de Gràcia and take an average of 1h 11m. The schedules shown below are for the next available departures.

1h 28m • 1 change

1h 13m • 1 change

1h 14m • 1 change

1h 7m • 1 change
Want to know about travelling from Castelldefels to Rubí? We have put together a list of the most frequently asked questions from our users such as: What is the cheapest mode of transport? What is the quickest option? How much do tickets usually cost? and many more.
No, there is no direct train from Castelldefels to Rubí. However, there are services departing from Castelldefels station and arriving at Rubí station via Barcelona-Passeig de Gràcia. The journey, including transfers, takes approximately 1h 11m.
Castelldefels to Rubí train services, operated by Rodalies de Catalunya, depart from Castelldefels station.
Castelldefels to Rubí train services, operated by Rodalies de Catalunya, arrive at Rubí Centre station.
Book your Castelldefels to Rubí train tickets online with Rodalies de Catalunya and FGC Catalunya.
The distance between Castelldefels and Rubí is 24.4 km. The road distance is 40 km.
You can take a train from Castelldefels to Rubí Centre via Barcelona-Passeig de Gràcia and Provença in around 1h 20m.