The average train between Madrid and Gavà takes 3h 48m and the fastest train takes 3h 24m. The train service runs several times per day from Madrid to Gavà. 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 3 times a day between Madrid and Gavà. 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 Gavà at 12:24 AM. All services require a transfer, and take on average 3h 48m. The schedules shown below are for the next available departures.

3h 54m • 1 change

3h 54m • 1 change

3h 29m • 1 change

4h 6m • 1 change
Want to know about travelling from Madrid to Gavà? 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 Gavà. However, there are services departing from Madrid station and arriving at Gavà station via Barcelona-Sants. The journey, including transfers, takes approximately 3h 48m.
Madrid to Gavà train services, operated by iryo, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
Madrid to Gavà train services, operated by iryo, arrive at Barcelona-Sants station.
Book your Madrid to Gavà train tickets online with iryo, Rodalies de Catalunya and 3 other operators.
The distance between Madrid and Gavà is 489.7 km. The road distance is 639 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.