The average train between Madrid and Masquefa takes 5h 3m and the fastest train takes 4h 11m. 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 5h 3m. The schedules shown below are for the next available departures.


4h 48m • 2 changes


4h 53m • 2 changes


5h 1m • 2 changes


4h 18m • 2 changes


4h 48m • 2 changes


4h 53m • 2 changes


5h 1m • 2 changes


4h 18m • 2 changes


4h 47m • 2 changes


4h 47m • 2 changes


4h 42m • 2 changes


5h 12m • 2 changes
Want 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 5h 3m.
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 hourly. Tickets cost €90–160 and the journey takes 3h 2m. Three other operators also service this route.