The average train between Madrid and Viladecans takes 3h 46m and the fastest train takes 3h 22m. There is a train service every few hours from Madrid to Viladecans. 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 Madrid and Viladecans. The earliest departure is at 6:09 AM in the morning, and the last departure from Madrid is at 8:30 PM which arrives into Viladecans at 12:22 AM. All services require a transfer, and take on average 3h 46m. The schedules shown below are for the next available departures.

4h • 1 change

3h 52m • 1 change

3h 52m • 1 change

3h 39m • 1 change

3h 52m • 1 change

3h 52m • 1 change

3h 27m • 1 change

4h 4m • 1 change

3h 52m • 1 change

3h 52m • 1 change

3h 27m • 1 change

4h 4m • 1 change
Want to know about travelling from Madrid to Viladecans? 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 Madrid to Viladecans. However, there are services departing from Madrid station and arriving at Viladecans station via Barcelona-Sants. The journey, including transfers, takes approximately 3h 46m.
Madrid to Viladecans train services, operated by Ouigo, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
Madrid to Viladecans train services, operated by Ouigo, arrive at Barcelona-Sants station.
Book your Madrid to Viladecans train tickets online with Ouigo, Rodalies de Catalunya and 3 other operators.
The distance between Madrid and Viladecans is 490.9 km. The road distance is 637 km.
Renfe AVE operates a train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants every 30 minutes. Tickets cost €95–170 and the journey takes 3h 22m. Three other operators also service this route.