The average train between Terrassa and Madrid takes 4h 26m and the fastest train takes 3h 57m. There is an hourly train service from Terrassa 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 hourly between Terrassa and Madrid. The earliest departure is at 4:30 AM at night, and the last departure from Terrassa is at 7:30 PM which arrives into Madrid at 11:52 PM. All services require a transfer, and take on average 4h 26m. The schedules shown below are for the next available departures.

4h 32m • 1 change

4h 44m • 1 change

4h 33m • 1 change

4h 22m • 1 change

4h 32m • 1 change

4h 22m • 1 change

4h 7m • 1 change

4h 7m • 1 change

4h 32m • 1 change

4h 22m • 1 change

4h 7m • 1 change

4h 7m • 1 change
Want to know about travelling from Terrassa 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 Terrassa to Madrid. However, there are services departing from Terrassa station and arriving at Madrid station via Madrid-Puerta de Atocha-Almudena Grandes. The journey, including transfers, takes approximately 4h 26m.
Terrassa to Madrid train services, operated by Rodalies de Catalunya, depart from Barcelona-Sants station.
Terrassa to Madrid train services, operated by Rodalies de Catalunya, arrive at Madrid-Puerta de Atocha-Almudena Grandes station.
Book your Terrassa to Madrid train tickets online with Rodalies de Catalunya, Renfe AVE and 3 other operators.
The distance between Terrassa and Madrid is 496.7 km. The road distance is 661 km.
iryo operates a train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes hourly. Tickets cost €60–130 and the journey takes 3h 31m. Three other operators also service this route.