Trains from
Madrid to Barcelona

Journey two way date time picker

This allows you to select the date, time, and 'Depart after' or 'Arrive before' of your outward journey and optional return journey.

Madrid to Barcelona route details

Route overview

Avg. journey time3h 24m
Trains per day16
Fare range€32-€255

First & last trains

First train departs at07:00
Last train departs at21:30

Fastest journey

Fastest route2h 30m
ChangesDirect

Stations

Origin StationMadrid
Destination StationBarcelona

Train times for Tue 22 Aug

11:30
14:40
Madrid
Barcelona
3h 10mDirect
12:30
15:30
Madrid
Barcelona
3h 00mDirect
13:25
16:24
Madrid
Barcelona
2h 59mDirect
14:30
17:21
Madrid
Barcelona
2h 51mDirect
15:30
18:40
Madrid
Barcelona
3h 10mDirect

When is the best time to buy tickets?

Buying tickets in advance can save you money. Prices for train journeys from Madrid to Barcelona start at €82.09 when you book at least 28 days in advance.*

28 days
in advance
Find this ticket!
€82.09
14 days
in advance
€89.90
Avg. single price
On the day
€112.21
Avg. single price

What is the minimum price of a ticket from Madrid to Barcelona?

The minimum price of a train ticket from Madrid to Barcelona is €32.3. To buy train tickets from Madrid to Barcelona for the lowest price possible, we recommend that you book your tickets as early as possible. Tickets go on sale usually 3 months in advance, yet in some rare cases this can be up to 6 months. For more precise information on when you can book your tickets or whether there are any promotional sales, click here.

How long does it take to travel from Madrid to Barcelona by train?

The average journey time between Madrid and Barcelona is 3 hours and 24 minutes and the fastest journey time is 2 hours and 30 minutes. On an average weekday, there are 17 trains per day travelling from Madrid to Barcelona. The journey time may be longer on weekends and holidays; use our journey planner on this page to search for a specific travel date.

What time is the first and last train of the day from Madrid to Barcelona?

The first train from Madrid to Barcelona departs at 07:00. The last train from Madrid to Barcelona departs at 21:30. Trains that depart in the early morning hours or very late evening may be sleeper services. Alternatively, some popular routes may run throughout the night at a reduced frequency. There may also be less services on weekends and holidays; use our journey planner on this page to search for a specific travel date.

Are there direct train services between Madrid and Barcelona?

Yes, it is possible to travel from Madrid to Barcelona without having to change trains. There are 16 direct trains from Madrid to Barcelona. Though there may be fewer direct services available depending on your exact departure date.

How do I get back to Madrid?

By train, of course. See trains from Barcelona to Madrid.

  • *Average prices for adult tickets in economy. Discount cards and coach journey excluded. Prices are based on searches made by our customers over the past 6 months. “14 days in advance” includes days 13 and 15.
  • **The information provided is calculated based on scheduled train services for Madrid to Barcelona for a typical week day using timetable data for 22/08/2017. On weekends, holidays or other exceptional times, fewer services may be available. The fare range provided has been found by our customers on Trainline on 20/05/2017 for travel on 06/08/2017 and for adult tickets in economy, discount cards and coach journeys excluded.

Journeys start better with Trainline

We help customers across Europe make more than 125,000 smarter journeys every single day. Meet Trainline.