The average train between Castelldefels and Rubí takes 1h 18m and the fastest train takes 1h 13m. The train service runs several times per day 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 4 hours between Castelldefels and Rubí. The earliest departure is at 10:43 AM in the morning, and the last departure from Castelldefels is at 10:38 PM which arrives into Rubí at 12:16 AM. All services require a transfer at Barcelona-Passeig de Gràcia and take an average of 1h 18m. The schedules shown below are for the next available departures.

1h 13m • 1 change
1h 14m • 1 change
1h 23m • 1 change
1h 13m • 1 changeWant 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í Centre station via Barcelona-Passeig de Gràcia station. The journey, including transfers, takes approximately 1h 18m.
Castelldefels to Rubí train services, operated by Rodalies de Catalunya, depart from Castelldefels station.
Castelldefels to Rubí train services, operated by FGC Catalunya, arrive at Rubí Centre station.
Book your Castelldefels to Rubí train tickets online with Omio.
The distance between Castelldefels and Rubí is 24.4 km. The road distance is 34 km.
You can take a train from Castelldefels to Rubí Centre via Barcelona-Passeig de Gràcia and Provença in around 1h 20m.