View of Madrid

Train from Barcelona to Madrid

The fastest train from Barcelona to Madrid takes 3h02, and 11 of the 11 daily connections we found run without a change. Below: every connection, how punctual the route really is, and practical tips.

Fastest journey3h02
Connections a day11
Direct trains11

See prices and book →

Via Omio · you pay the same, we earn a small commission.

Our travel advice

Our pick

Take the 06:20 train: 3h02 without a change.

The timetable at a glance

First train06:20
Last train19:25
Fastest journey3h02
Average journey3h02
Longest journey3h17
Without changing11 of 11

Departures per hour from Barcelona

  • Departures: 5 in the morning, 3 in the afternoon and 3 in the evening.
  • Operators: RENFE OPERADORA.

From our timetable data for a regular Tuesday; departure times in local Barcelona time.

All connections on a regular day

Departure times are local time in Barcelona, arrival times local time in Madrid.

DepartsArrivesDurationChange atTrains
06:2009:223h02directAVE 3060
RENFE OPERADORA
06:3509:523h17directAVE 3302
RENFE OPERADORA
07:0010:023h02directAVE 3070
RENFE OPERADORA
07:2710:373h10directAVE 3662
RENFE OPERADORA
08:2511:273h02directAVE 3080
RENFE OPERADORA
13:2716:293h02directAVE 3130
RENFE OPERADORA
15:2518:273h02directAVE 3150
RENFE OPERADORA
16:2519:273h02directAVE 3160
RENFE OPERADORA
17:2520:273h02directAVE 3170
RENFE OPERADORA
18:2521:273h02directAVE 3180
RENFE OPERADORA
19:2522:273h02directAVE 3190
RENFE OPERADORA

Route map

BarcelonaMadrid

Train or plane?

Estimate
TrainPlane
Door to door± 3h27± 3h52
CO₂ per person± 18 kg± 68 kg
ArrivalCity centreAirport

Train: fastest connection plus 25 minutes to and from the station. Plane: flight time plus 40 minutes taxiing and 2.5 hours for airport transfers, check-in and security. CO₂: UK Government GHG Conversion Factors 2025 (DESNZ).

Ready to book?

Compare current prices from Barcelona to Madrid at Omio.

See prices and book →You pay the same, we earn a small commission.

Frequently asked questions

How long is the train from Barcelona to Madrid?

The fastest train takes 3h02; the typical journey is 3h02.

Is there a direct train from Barcelona to Madrid?

Yes. 11 of the 11 connections we found on a regular Tuesday run without a change.

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

On a regular Tuesday the first connection leaves at 06:20 and the last at 19:25 (Barcelona time).

Which station does the train from Barcelona to Madrid leave from?

The fastest connection leaves from Barcelona-Sants and arrives at Madrid-Puerta de Atocha-Almudena Grandes.

Where can I book a train ticket to Madrid?

You can compare prices at Omio. Booking early is usually cheaper.

Related routes

Paris → BarcelonaMadrid → SevilleBarcelona → ValenciaMadrid → ValenciaAmsterdam → Madrid

Timetables: our own journey planner (MOTIS) on open timetable data from SNCF, DB (DELFI), NS (OpenOV), NMBS/SNCB, Eurostar, SBB/opentransportdata.swiss, Trenitalia France and Renfe. Method and sources.

Further reading