The average train between Madrid and Mainz takes 24h 44m and the fastest train takes 23h 46m. The train service runs several times per day from Madrid to Mainz. 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 twice daily between Madrid and Mainz. The earliest departure is at 12:50 PM in the afternoon, and the last departure from Madrid is at 8:30 PM which arrives into Mainz at 10:08 PM. All services require a transfer at Barcelona-Sants and take an average of 24h 44m. The schedules shown below are for the next available departures.
Arrives next day




23h 46m • 4 changes
Arrives next day




25h 38m • 4 changes
Arrives next day




23h 46m • 4 changes
Arrives next day




25h 38m • 4 changes
Arrives next day




23h 46m • 4 changes
Arrives next day




24h 48m • 4 changes
Want to know about travelling from Madrid to Mainz? 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 Mainz. However, there are services departing from Madrid station and arriving at Mainz station via Barcelona-Sants. The journey, including transfers, takes approximately 24h 44m.
Madrid to Mainz train services, operated by Ouigo, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
Madrid to Mainz train services, operated by Ouigo, arrive at Mainz, Hauptbahnhof station.
Book your Madrid to Mainz train tickets online with Ouigo, TGV inOui and 5 other operators.
The distance between Madrid and Mainz is 1,415.4 km. The road distance is 2,281 km.
You can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Mainz, Hauptbahnhof via Barcelona-Sants, Paris Gare de Lyon, Paris Gare Du Nord, Paris Est, Mannheim Hbf, and Mannheim, Hauptbahnhof in around 16h 27m.