The average train between Madrid and Masquefa takes 4h 56m and the fastest train takes 4h 10m. There is a train service every few hours from Madrid to Masquefa. 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 Masquefa. The earliest departure is at 6:22 AM in the morning, and the last departure from Madrid is at 8:30 PM which arrives into Masquefa at 6:08 AM. All services require a transfer at Barcelona Sants and take an average of 4h 56m. The schedules shown below are for the next available departures.


4h 18m • 2 changes

4h 18m • 2 changes

4h 18m • 2 changes

4h 31m • 2 changes

4h 18m • 2 changes

4h 18m • 2 changes

4h 18m • 2 changes

4h 31m • 2 changes

4h 47m • 2 changes

4h 47m • 2 changes

4h 42m • 2 changes

4h 57m • 2 changesWant to know about travelling from Madrid to Masquefa? 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 Masquefa. However, there are services departing from Madrid station and arriving at Masquefa station via Barcelona-Sants. The journey, including transfers, takes approximately 4h 56m.
Madrid to Masquefa train services, operated by Renfe AVE, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
Madrid to Masquefa train services, operated by Renfe AVE, arrive at Barcelona-Sants station.
The distance between Madrid and Masquefa is 478.4 km. The road distance is 643 km.
Renfe AVE operates a train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants every 30 minutes. Tickets cost €90–160 and the journey takes 3h 2m. Three other operators also service this route.