Book a train from Madrid
Find trains from Madrid and book onward journeys to Barcelona, Seville, Valencia, and Toledo. One search shows live times and fares across every operator, so you can weigh speed against price before you travel.
How it works
Search Omio
Pick your from and to cities to see live coach and rail departures.
Compare operators
Filter by price, duration and departure time across every operator on the route.
Book directly
Complete your booking on Omio — your ticket comes straight from them.
When the train makes sense for travelling from Madrid
Madrid sits at the centre of Spain's AVE (high-speed) network, with trains to Barcelona, Seville, Valencia, and Toledo and no airport run at either end. For these routes the train is usually the most time efficient option, is greener, often cheaper, and usually more comfortable than a domestic flight.
Train travel questions
How long is the AVE train from Madrid to Barcelona?
The AVE (high-speed train) from Madrid to Barcelona takes about 2 hours 30 minutes centre to centre, which is why many travellers pick it over the shuttle flight. Booking ahead of time can get you a cheaper fare.
How long is the train from Madrid to Seville, Malaga, Valencia or Toledo?
High-speed trains from Madrid reach Seville and Malaga in around 2 hours 30 minutes, Valencia in about 1 hour 50 minutes, and Toledo in roughly 35 minutes. Most routes run several times a day, so a day trip to a neighbouring city is easy to plan.
How do you buy Madrid train tickets and get to the station?
Booking Madrid train tickets online is the easiest option, and AVE fares are cheapest booked early - Renfe (Spanish railways) machines and counters are a good last minute backup. The main stations are Atocha and Chamartin, both on the metro from the airport.
Is the AVE from Madrid to Barcelona cheaper than flying?
The Madrid to Barcelona AVE often works out cheaper than flying once airport transfers and bag fees are counted, and it drops you in the centre of each city. Advance tickets are the best value if your dates are already set.
Which Spanish cities can you reach by train from Madrid?
Madrid is the hub of Spain's high-speed network, with fast trains to Barcelona, Seville, Malaga, Valencia, Cordoba, and Zaragoza. The fastest direct services and the slower, cheaper ones can differ noticeably on time, so it's worth comparing both before you book.
Is the train from Madrid greener than flying?
The high-speed train from Madrid produces far less carbon than a domestic flight to the same city. For trips like Madrid to Barcelona, the difference is significant.