Route guide · Spain

Madrid to Barcelona by Train

By WoW Train · Updated July 2026 · 4 min read

Travelling from Madrid to Barcelona by rail takes roughly 2h 30m on Renfe AVE, a straightforward alternative to flying between the two cities.

Book Madrid → Barcelona on Klook Renfe AVE · 2h 30m · from €25-45 · free cancellation on select fares
Book Ticket ↗
Madrid → Barcelona Duration: 2h 30m
Operator: Renfe AVE
Station: Madrid Station
View schedules and book ticket →

Where to stay

Hotel Casa Fuster
Hotel Casa Fuster
Barcelona, Spain

How long is the train from Madrid to Barcelona?

Plan for roughly 2h 30m door to door on the fastest train. Slower connections exist too, so always confirm the exact time for your travel date.

Which trains run from Madrid to Barcelona?

This connection is served by Renfe AVE. Checking all of the day's trains at once is the fastest way to spot the cheapest seat.

Worth knowing

This corridor was the first in Spain to see full open-access competition: Renfe AVE now shares the tracks with rivals Ouigo and iryo, so the same journey can carry three very different price points depending on the operator — worth checking all three before booking.

Madrid to Barcelona train price (2026)

Advance fares start from around €25-45, rising as the date approaches.

Operator From Journey time Frequency
Renfe AVE €25-45 2h 30m Several daily

Prices are indicative advance fares. Check live availability for your exact date.

How to get the best fare

Frequently asked questions

How many hours does Madrid to Barcelona take by train?

The quickest Madrid–Barcelona trains run about 2h 30m. There are multiple departures daily, so it's worth checking today's schedule for the exact times.

What does a Madrid to Barcelona train ticket cost?

Ticket prices for Madrid to Barcelona start from roughly €25-45 for advance purchase and increase the closer you get to the travel date.

What operator serves the Madrid–Barcelona line?

Renfe AVE handles this connection. Comparing every departure that day in one place is the quickest way to find the best combination of time and price.

Do I need to change trains between Madrid and Barcelona?

It depends on the day — Renfe AVE runs both direct and connecting services, so check the live schedule for your travel date to confirm.

When should I book Madrid to Barcelona tickets for the best price?

Book as early as you can: the cheapest seats are released first and disappear fast, and travelling mid-week instead of weekends usually costs less too.


Ready to go? Check live Madrid → Barcelona times and fares and book your seat — secure checkout, mobile tickets, every operator in one search.

Prefer to compare every rail operator? Check schedules & book →

Opens in a new tab — come back here anytime.

Scenic view of Barcelona Charming view of Barcelona Historic buildings in Barcelona