Trains tickets from Barcelona to Madrid

Discover your next train travel journey from Barcelona to Madrid and book online with ease

Join 75M+ travelers booking 2M+ routes across 85+ countries.
Enjoy our 24/7 customer service to assist you at every step.
Cancel anytime and receive a 100% refund, no reason needed.
WedApr 30
TodayMay 1
from $43
TomorrowMay 2
from $37
SatMay 3
from $71
SunMay 4
from $85
MonMay 5
from $50
TueMay 6
from $37
WedMay 7
from $39

Upcoming Train Schedules

One passenger / one way

  • This trip is recommended because it is: Cheapest
    Departure time: May 1 at
    Departure city: Barcelona
    Departure location: Barcelona-Sants
    Arrival time: May 1 at
    Destination city: Madrid
    Destination location: Madrid Puerta De Atocha
    Operated by: RENFE AVERENFE AVE
    Vehicle: TrainDuration:
  • This trip is recommended because it is: Fastest
    Departure time: May 1 at
    Departure city: Barcelona
    Departure location: Barcelona-Sants
    Arrival time: May 1 at
    Destination city: Madrid
    Destination location: Madrid Puerta De Atocha
    Operated by: RENFE AVERENFE AVE
    Vehicle: TrainDuration:
  • Departure time: May 1 at
    Departure city: Barcelona
    Departure location: Barcelona-Sants
    Arrival time: May 1 at
    Destination city: Madrid
    Destination location: Madrid Puerta De Atocha
    Operated by: RENFE AVERENFE AVE
    Vehicle: TrainDuration:
  • Departure time: May 1 at
    Departure city: Barcelona
    Departure location: Barcelona-Sants
    Arrival time: May 1 at
    Destination city: Madrid
    Destination location: Madrid Puerta De Atocha
    Operated by: RENFERENFE
    Vehicle: TrainDuration:
  • Departure time: May 1 at
    Departure city: Barcelona
    Departure location: Barcelona-Sants
    Arrival time: May 1 at
    Destination city: Madrid
    Destination location: Atocha
    Operated by: iryoiryo
    Vehicle: TrainDuration:

Accepted payments

  • Visa
  • MasterCard
  • American Express
  • China Union Pay
  • Diners Club Canada
  • Discover Click to Pay
  • JCB payment
  • Klarna (Pay over time)
  • Google Pay

Compare 3 ways to go from Barcelona to Madrid.

Average Price$49 - $332Average Duration7h 50m
12kg CO₂e5 out of 5 stars
Most eco-friendly
Average Price$21 - $283Average Duration2h 52m
12kg CO₂e5 out of 5 stars
CheapestFastest
Carpool
Average Price$26 - $112Average Duration6h 30m
21kg CO₂e4 out of 5 stars
busbud logoBusbud recommends taking the train from Barcelona to Madrid

Among the sustainable travel choices, the train stands out as the good way to reach Madrid. The journey takes about 2 hours 52 minutes and with fares starting at just $21, it presents an excellent value for a comfortable ride.

25train per day
2h 52mAverage Duration
$21Cheapest ticket
12kgCO₂ emissions

Train Barcelona to Madrid: Trip Overview

Please note, this information is subject to change.

Average ticket price$62
Average train trip duration2h 52m
Number of daily trains25
Earliest train departure5:45am
Distance312 miles (502 km)
Latest train departure9:25pm

Barcelona to Madrid Train

Busbud shows you the best train ticket fares and train schedules so you can easily plan and book a trip by train from Barcelona to Madrid.

Train service from Barcelona to Madrid will be provided by the most trusted companies.

Whether it is train tickets or first class train tickets going to Madrid from Barcelona, we help you find what you're looking for based on how much of a budget you have.

Frequently asked questions for your trip Barcelona - Madrid

Find cheapest prices for trains

Price is for a one-way ticket for one passenger and based on past searches.

Best price found
04/29
$39
04/30
$75
Today
$43
05/02
$37
05/03
$71
05/04
$83
05/05
$50
05/06
$37
busbud logoThe cheapest trip from Barcelona to Madrid was searched and found on May 2, 2025 with a price of $37

To save money and be sure you have the best seat, it's a good idea to buy your train tickets from Barcelona to Madrid, as early as possible.

You can expect to pay from $37 to $288 for a train ticket from Barcelona to Madrid based on the last 2 days. You can expect to find the cheapest price for the trip at $37 which is on 2025-05-02.

Usually RENFE_RENFE, RENFE_AVE will charge you higher prices for tickets closer to the departure date. To find the best prices, you should be flexible on your date of travel.

Train Travel Tips

Do you like to go fast? With high-speed trains going faster than 300 km/h on certain routes, the time will fly by. Taking a train between Barcelona and Madrid is also a great way to travel to arrive in the city centre and save more time for your stay in Madrid.

No matter if you plan to take a regional or high-speed train to Madrid, the planet will thank you. You’ll help to protect the beautiful landscapes that will unfold before your very eyes.

By choosing the train between Barcelona and Madrid, you emit up to 30 times less CO2 than for the same journey made by plane or car!

Tune out to the fine sounds of your best music playlist on your train trip from Barcelona to Madrid while indulging in miles on end of beautiful scenic views.

Did you know?

You can find dogs as passengers on the trains of Moscow, where there is a large number of stray dogs. Over time, the dogs have learned the inner workings of the rail system and it is not uncommon to find one traveling between the city and the suburbs.

Railway companies played a major role as early as 1883 in the use of time zones as we know them today.

Some trains in Sweden can recover more than a fifth of the energy they use by braking. This is especially true with ore trains as they descend from Narvik to Kiruna.

Will you be returning to Barcelona by train?

Train from Madrid to Barcelona

Why choose Busbud?

The Best Way To Book Bus and Train Tickets

Busbud.com makes it easy for you to find, compare and book city-to-city bus tickets, all over the world. We save you the extra trip to the bus station. With several language and currency options available, Busbud seeks to cater to international bus travelers no matter where they are in the world. Busbud prides itself on its worldwide partnerships. We make it possible for you to buy tickets with its large network of trustworthy bus partners like Greyhound, Eurolines, ALSA, OUIBUS (BlaBlaBus), National Express and many others.

People from around the world trust Busbud

Popular Trains Connecting Barcelona

Trains Leaving from Barcelona

Popular Trains Connecting Madrid

Trains Going to Madrid