The average train between Madrid and Cerdanya takes 24h 3m and the fastest train takes 23h 54m. The train service runs several times per day from Madrid to Cerdanya. 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 Cerdanya. 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 Cerdanya at 8:24 PM. All services require a transfer at Barcelona-Sants and take an average of 24h 3m. The schedules shown below are for the next available departures.
Arrives next day



24h 13m • 3 changes
Arrives next day



23h 54m • 3 changes
Arrives next day



24h 13m • 3 changes
Arrives next day



23h 54m • 3 changes
Arrives next day



24h 13m • 3 changes
Arrives next day



23h 54m • 3 changes
Want to know about travelling from Madrid to Cerdanya? 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 Cerdanya. However, there are services departing from Madrid station and arriving at Cerdanya station via Barcelona-Sants. The journey, including transfers, takes approximately 24h 3m.
Madrid to Cerdanya train services, operated by Renfe AVE, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
Madrid to Cerdanya train services, operated by Renfe AVE, arrive at Bourg-Madame station.
Book your Madrid to Cerdanya train tickets online with Renfe AVE, TGV inOui and 2 other operators.
The distance between Madrid and Cerdanya is 522.6 km. The road distance is 906 km.
You can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Bourg-Madame via Barcelona-Sants, Perpignan, and Villefranche Vernet Les Bains in around 11h 2m.