The average train between Castelldefels and Madrid takes 3h 46m and the fastest train takes 3h 29m. The train runs at least 2 times per hour from Castelldefels to Madrid. 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 30 minutes between Castelldefels and Madrid. The earliest departure is at 5:08 AM in the morning, and the last departure from Castelldefels is at 7:55 PM which arrives into Madrid at 11:52 PM. All services require a transfer, and take on average 3h 46m. The schedules shown below are for the next available departures.

3h 33m • 1 change
3h 45m • 1 change
3h 44m • 1 change
3h 50m • 1 change
4h 32m • 1 change
4h 5m • 1 change
3h 51m • 1 change
3h 57m • 1 change
3h 49m • 1 change
3h 44m • 1 change
3h 51m • 1 change
3h 39m • 1 change
3h 49m • 1 change
3h 44m • 1 change
3h 51m • 1 change
3h 39m • 1 change
3h 49m • 1 change
3h 44m • 1 change
3h 51m • 1 change
3h 39m • 1 change
3h 49m • 1 change
3h 44m • 1 change
3h 51m • 1 change
3h 39m • 1 change
3h 54m • 1 change
4h 5m • 1 change
3h 51m • 1 change
3h 44m • 1 changeWant to know about travelling from Castelldefels to Madrid? 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 Madrid. However, there are services departing from Barcelona-Sants station and arriving at Madrid-Puerta de Atocha-Almudena Grandes station via Madrid-Puerta de Atocha-Almudena Grandes station. The journey, including transfers, takes approximately 3h 46m.
Castelldefels to Madrid train services, operated by Renfe AVE, depart from Barcelona-Sants station.
Castelldefels to Madrid train services, operated by Renfe AVE, arrive at Madrid-Puerta de Atocha-Almudena Grandes station.
Book your Castelldefels to Madrid train tickets online with Omio.
The distance between Castelldefels and Madrid is 486.6 km. The road distance is 593 km.
Renfe AVE operates a train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes hourly. Tickets cost €85–150 and the journey takes 3h 2m. Three other operators also service this route.