The average train between Castelldefels and Rubí takes 1h 13m and the fastest train takes 1h 5m. The train runs at least 3 times per hour 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 every 20 minutes between Castelldefels and Rubí. The earliest departure is at 9:32 AM in the morning, and the last departure from Castelldefels is at 6:55 PM which arrives into Rubí at 8:06 PM. All services require a transfer at Barcelona-Passeig de Gràcia and take an average of 1h 13m. The schedules shown below are for the next available departures.

1h 13m • 1 change

1h 13m • 1 change

1h 11m • 1 change

1h 13m • 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 13m.
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.