The average train between Rubí and Castelldefels takes 1h 12m and the fastest train takes 1h 6m. The train service runs several times per day from Rubí to Castelldefels. 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 4 hours between Rubí and Castelldefels. The earliest departure is at 4:57 AM at night, and the last departure from Rubí is at 11:06 PM which arrives into Castelldefels at 12:28 AM. All services require a transfer at Provença and take an average of 1h 12m. The schedules shown below are for the next available departures.

1h 10m • 1 change

1h 8m • 1 change

1h 8m • 1 change

1h 8m • 1 change
Want to know about travelling from Rubí to Castelldefels? 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 Rubí to Castelldefels. However, there are services departing from Rubí station and arriving at Castelldefels station via Provença. The journey, including transfers, takes approximately 1h 12m.
Rubí to Castelldefels train services, operated by FGC Catalunya, depart from Rubí Centre station.
Rubí to Castelldefels train services, operated by FGC Catalunya, arrive at Castelldefels station.
Book your Rubí to Castelldefels train tickets online with FGC Catalunya and Rodalies de Catalunya.
The distance between Rubí and Castelldefels is 24.4 km. The road distance is 40 km.
You can take a train from Rubí Centre to Castelldefels via Provença and Barcelona-Passeig de Gràcia in around 1h 20m.