Madrid is brilliant, but it keeps a secret from first-time visitors: some of Spain's most beautiful towns sit less than an hour away on a comfortable train. You can drink your morning coffee near Puerta del Sol, stand under a Roman aqueduct before lunch, and be back in time for vermouth and a late dinner. You won't need a rental car, and you won't spend an hour hunting for parking outside a medieval gate.
The best day trips from Madrid by train split neatly into two camps. Some are high-speed hops where the ride takes about as long as a podcast episode. Others use the cheap, frequent Cercanías commuter trains that locals ride to work. This guide covers both, ranked by what really matters on a day trip: how long it takes to get from your Madrid hotel to the old town, not just how long the train is moving.
How to choose a day trip from Madrid by train
Before you pick a town, look at which station it leaves from. Madrid has two main train stations, and they sit on opposite sides of the city. Madrid Atocha (officially Puerta de Atocha) is in the south, a short walk from the Prado. Madrid Chamartín station (Chamartín-Clara Campoamor) is in the north business district. Crossing between them takes a good 30 minutes, so pick a trip from the station closest to your hotel and you buy yourself extra sleep.
Then think about the last leg. High-speed stations in Segovia and Cuenca were built outside town, so you add a city bus ride at the other end. Toledo, Ávila and Salamanca have stations you can walk from. That's why a 28-minute train can still turn into an hour door to door, and why the table below shows both legs.
| Destination | Madrid station | Train type | Time on train | Station to old town |
|---|---|---|---|---|
| Toledo | Atocha | Avant high-speed | 33 min | 20-25 min walk uphill, or city bus |
| Segovia | Chamartín | Avant high-speed | 27-30 min | Bus 11, 15 min |
| Cuenca | Chamartín (some from Atocha) | AVE / Avant | 55 min | Bus 1, about 20 min |
| Ávila | Príncipe Pío (some from Chamartín) | Media Distancia | 1 hr 20 min - 1 hr 40 min | 15-20 min walk |
| Salamanca | Chamartín | Alvia | 1 hr 36 min | 20 min walk |
| San Lorenzo de El Escorial | Atocha, Sol, Chamartín | Cercanías C-3 | About 1 hr | 10-15 min walk uphill |
| Aranjuez | Atocha | Cercanías C-3 | 45 min | 20 min walk |
| Alcalá de Henares | Atocha | Cercanías C-2 / C-7 | 40 min | 15-20 min walk |
The high-speed half-hour club: Toledo, Segovia and Cuenca
These are the favourite day trips from Madrid, and I get why. The high-speed train from Madrid is so quick that you can sleep in, catch a mid-morning train and still have a full day.
Toledo: three cultures on one hilltop
A day trip to Toledo feels like stepping inside a medieval map. The whole old town, a UNESCO World Heritage Site, is wrapped in a bend of the Tagus river, and the lanes twist so much that getting lost is part of the itinerary. Christians, Muslims and Jews shared this city for centuries, and you can see it in a single afternoon: a vast Gothic cathedral, synagogues that look like mosques, and the square bulk of the Alcázar on the highest point of the city.
The trip to Toledo starts at Madrid Atocha, and the Avant takes 33 minutes. Don't rush out of the station, though. Toledo's station is a neo-Mudéjar beauty designed by Narciso Clavería and opened in 1919, with horseshoe arches, painted tiles and a clock tower that tells you exactly where you are. From there it's a 20-25 minute uphill walk to Plaza de Zocodover, but public escalators do the hardest climb for you. City buses also leave from outside the station.
Madrid to Toledo is the busiest route on this list, so buy your train tickets as early as you can for weekends. The return trains in the early evening fill first.
Segovia: the Roman aqueduct and a fairy-tale castle
Photos don't prepare you for the Roman aqueduct. You come round a corner and there it is: two tiers of granite arches striding over the Plaza del Azoguejo, built without a drop of mortar and still standing nearly two thousand years later. Walk up through the old town to the cathedral, begun in 1525 and the last great Gothic cathedral built in Spain, and keep going to the Alcázar de Segovia at the far tip of the ridge. Its turrets are said to have inspired Disney's Cinderella castle, and from its tower you see the Sierra de Guadarrama rolling out behind the town.
The day trip to Segovia leaves from Madrid Chamartín, and the Avant reaches Segovia-Guiomar station in 27-30 minutes. Bus 11 waits outside to take you to the foot of the aqueduct in about 15 minutes.
The fast train sees nothing
The high-speed line from Madrid to Segovia runs through the Guadarrama Tunnel, which at 28.4 km is the longest tunnel in Spain. So most of your half-hour ride is spent in the dark under the mountains, and the famous views of the Sierra de Guadarrama are something you'll only get once you're in Segovia.
That's the unique trade-off of high-speed day trips from Madrid: speed wins, scenery loses. If mountain views matter to you, save your window seat for the slower regional trains to Ávila, which climb through open countryside the whole way.
Cuenca: the hanging houses
Cuenca is the wild card that plenty of visitors skip, and that's a mistake. The old town clings to a rocky ridge between two river gorges, and the famous hanging houses (Casas Colgadas) have balconies that hang straight over the drop. Cross the iron San Pablo bridge for the classic view back at them, then wander up to the Plaza Mayor and its odd, beautiful cathedral.
The AVE from Madrid takes about 55 minutes. Most services leave from Chamartín, but a few run from Atocha, so check your ticket. Cuenca's Fernando Zóbel station is 6 km out of town; bus line 1 runs to the old town in about 20 minutes, roughly every half hour. Wear shoes with grip, because Cuenca is all slopes.
Walled cities further out: Ávila and Salamanca
These two take longer, but you trade speed for a slower, more local day and far fewer tour groups than Toledo.
Ávila: walking on the city walls
Ávila's medieval city walls are the most complete in Spain, a 2.5 km loop of honey-coloured stone with 87 towers and nine gates. You can climb up and walk along the top of the walls for long stretches, looking down into gardens and across the plain. The Cathedral of Ávila is widely considered Spain's first Gothic cathedral, and its apse is built right into the walls, half church and half fortress. This is also the town of Saint Teresa, so expect convents, pilgrims and a pastry named after her (yemas de Santa Teresa).
Madrid to Ávila runs on Media Distancia trains, mostly from Príncipe Pío with a few from Chamartín, and takes between 1 hour 20 minutes and 1 hour 40 minutes. Around 14 trains run each day. The station is a 15-20 minute walk from the walls. For the best view, walk or take a taxi to the Cuatro Postes viewpoint across the river in the late afternoon.
Salamanca: the golden university city
Salamanca glows. The sandstone buildings turn gold in the afternoon light, and the Plaza Mayor is arguably the most beautiful square in Spain. The university was founded in 1218, which makes it one of the oldest in Europe, and the city has two cathedrals side by side, Old and New, that you can visit together.
To get to Salamanca, take the Alvia from Madrid Chamartín station: about 1 hour 36 minutes. From Salamanca station it's a 20-minute walk down pedestrianised Calle Toro straight into the Plaza Mayor. This is a long day trip, so take an early train. Honestly, Salamanca is the one on this list most worth turning into an overnight stay.
Legend
Legend has it that somewhere on the carved front of the University of Salamanca hides a small frog sitting on a skull. Students used to say that if you found it without help, you would pass your exams. These days the promise has grown to good luck, or even a wedding within the year. Locals will happily point it out, but give yourself five minutes to find it first.
Easy day trips near Madrid on commuter trains
The Cercanías trains are the underrated option for day trips from Madrid by train. They run often, you buy tickets at the machine on the day, and there is no need to book.
San Lorenzo de El Escorial
Philip II built the Monastery of El Escorial as a palace, monastery, library and royal tomb all in one, and it's gigantic. Walk through the Pantheon of Kings, where most Spanish monarchs since Charles V are buried, and the library with its painted ceiling. The town of San Lorenzo de El Escorial sits on the slopes of the Sierra de Guadarrama, so it's noticeably cooler than Madrid in summer.
Take Cercanías line C-3 from Atocha, Sol or Chamartín. The ride is about an hour, then a 10-15 minute uphill walk from the station through a park. Many visitors pair this with the Valley of the Fallen (now called Cuelgamuros), but there's no train there, so you would need a tour or a car for that part.
Aranjuez
Aranjuez was the Spanish royal family's spring retreat, and the Royal Palace of Aranjuez sits among gardens and tree-lined avenues along the Tagus. It's a UNESCO World Heritage Site and the gentlest day trip on this list: flat, green and relaxed. Cercanías C-3 from Atocha takes about 45 minutes and runs roughly every 20 minutes. The royal palace is a 20-minute walk from the station.
On Saturdays from 19 September to 5 December 2026 (and in spring), you can also go on the historic Strawberry Train, a vintage train that leaves from the Railway Museum at the old Delicias station. Strawberries are served on board, which is exactly as charming as it sounds.
Alcalá de Henares
Alcalá de Henares is the birthplace of Miguel de Cervantes, author of Don Quixote, and its old university quarter is another UNESCO World Heritage Site. Visit the Cervantes birthplace museum, walk the long arcaded Calle Mayor, and admire the plateresque front of the Colegio de San Ildefonso. Cercanías C-2 or C-7 trains take about 40 minutes from Atocha, running every 15-30 minutes. It's the one I'd pick for a lazy morning: leave Madrid after lunch and you still have a good afternoon there.
What about Chinchón and Barcelona?
Chinchón is one of the loveliest villages near Madrid, with a wooden-balconied Plaza Mayor that feels like a film set. But there's no train. You get there on bus 337 from Conde de Casal, which is slower than most of the train trips here. Worth it, just not by rail.
Barcelona pops up on lots of "day trips from Madrid" lists, since the high-speed train between Madrid and Barcelona takes around 2 and a half hours. You could do it in a day, but you would spend five hours on the train and only a few around the city, which means more time in your seat than on the Rambla. Give Barcelona at least two nights.
Tips for a smooth day trip by train
- Pick the first train out that you can face, and book your return one train earlier than the last. It gives you a buffer if you miss it. - Check opening days. Many monuments close on Mondays. - Arrive at the station 15-20 minutes early. High-speed trains have a quick luggage scan before boarding. - Pack water and comfortable shoes. Toledo, Segovia and Cuenca are all hills and cobbles.
Frequently asked questions
What is the best day trip from Madrid by train?
For a first visit, Toledo. The train is quick, you can walk from the station, and the old town packs three cultures, a huge cathedral and river views into one compact hilltop. Segovia is a very close second if you want Roman ruins and a castle.
Can I do two day trips from Madrid in one day?
Toledo and Segovia are on different lines out of different stations, so combining them by train isn't practical. Do them on separate days. Segovia and Ávila can be combined by car or on an organised tour.
Is Seville a day trip from Madrid?
It's possible, since the AVE takes about 2 and a half hours each way, but it's a long, expensive day and you only get a taste of Seville. It works much better as an overnight trip.
Should I take a tour or go on my own by train?
For Toledo, Segovia and the Cercanías towns, the train on your own is easy and flexible. A guided tour makes more sense if you want to combine two towns in one day, or visit places without a train station.
Where do I buy train tickets in Spain?
Buy high-speed and Media Distancia tickets on the Renfe website or app, or at the station ticket machines. Cercanías tickets are sold at station machines and you can pay by card.
Pick a town and just go
What I love about day trips from Madrid by train is how little planning they take. Choose a town, check which station it leaves from, and book a morning seat. By lunchtime you could be looking at the hanging houses of Cuenca or walking the top of Ávila's walls, and by dinner you're back in Madrid, a little sunburnt and already picking the next one.