The best prices for train, bus, carpooling and plane
Train routes
Barcelona → Madrid by train
The train journey between Barcelona and Madrid connects the two cities in about 2 h 45 (620 km) from €19.00, with 30 departures per day. Several operators serve the direct route: AVE, Iryo, Ouigo España. Gopaxo compares the timetables and fares of every operator in real time to help you book the cheapest ticket.
Train routes
Barcelona → Madrid by train
The train journey between Barcelona and Madrid connects the two cities in about 2 h 45 (620 km) from €19.00, with 30 departures per day. Several operators serve the direct route: AVE, Iryo, Ouigo España. Gopaxo compares the timetables and fares of every operator in real time to help you book the cheapest ticket.
The best prices for train, bus, carpooling and plane
The Barcelona - Madrid train journey
Barcelona and Madrid are 620 km apart. Allow about 2 h 45 of travel time and 30 daily departures on the route. Exact timings depend on the day and the operator; the Gopaxo search shows live availability for your chosen date.
- Distance: 620 km
- Average duration: 2 h 45
- Departures per day: 30
- First departure: 06:00
- Last departure: 21:00
- Departure station: Barcelona Sants (Barcelona)
- Arrival station: Madrid Puerta de Atocha (Madrid)
- Direct train: yes
Operators and carriers
A direct service operates between Barcelona and Madrid. The operators on this route are: AVE, Iryo, Ouigo España. Each offers its own fare range and service level (high-speed, intercity, regional); Gopaxo aggregates their offers in a single search so you don't have to compare them one by one.
Why travel by train
The train remains the most comfortable and sustainable way to cover the 620 km between Barcelona and Madrid. You travel from city centre to city centre, without airport queues, and can work, read or relax throughout the journey. The carbon footprint of rail is far lower than that of a private car or plane over an equivalent distance.
Finding a cheap ticket
To get the best fare on the Barcelona → Madrid route, book in advance (ideally 2 to 4 months before departure), avoid school-holiday weekends and prefer midday trains. The first tickets start from €19.00 when sales open. Gopaxo automatically compares every operator and sorts results by price, duration or schedule, so the cheapest offer of the day is visible at a glance.