Skip to content
Spain · Train

Book train tickets to Madrid

Compare train tickets to Madrid and book the route that best suits you, with the AVE high-speed line from Barcelona, Seville, and Valencia. One search compares live times and fares across every operator, with easy travel connections from the main city centre.

How it works

1

Search Omio

Pick your from and to cities to see live coach and rail departures.

2

Compare operators

Filter by price, duration and departure time across every operator on the route.

3

Book directly

Complete your booking on Omio — your ticket comes straight from them.

When the train makes sense for getting to Madrid

Flying is quicker for the longer trips, but the train to Madrid brings you into the centre without needing an airport transfer, and on the AVE (high-speed) line from Barcelona, Seville, and Valencia it's the most time efficient option. It's also the greener choice, often cheaper once bag fees are considered, and usually more comfortable than a domestic flight.

Leaving Madrid? See trains from Madrid

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 gets you the cheapest fares.

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 run several times a day, so a day trip is easy to plan.

How do you buy Madrid train tickets and get to the station?

Madrid train tickets are best booked online, where the AVE fares are cheapest ahead of time, though Renfe (Spanish railways) machines and counters are there if you're booking last minute on the day. The main stations are Atocha and Chamartin, both on the metro accessible 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 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. Journey times vary by service, so compare the faster direct trains against the cheaper ones with extra stops.

Is the train from Madrid greener than flying?

The high-speed train from Madrid produces far less carbon than a domestic flight into the same city. For trips like Madrid to Barcelona, the difference is significant.

Ready to travel to Madrid?

Compare coach and rail operators across Europe in one place.