Trains tickets from Madrid to Barcelona

Discover your next train travel journey from Madrid to Barcelona 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.
TodayApr 27
from US$110
TomorrowApr 28
from US$71
TueApr 29
from US$50
WedApr 30
from US$53
ThuMay 1
from US$47
FriMay 2
from US$43
SatMay 3
from US$54
SunMay 4
from US$98

Train schedules for tomorrow

One passenger / one way

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

Last refresh of the prices: Today at 5:51 AM CEST.

Prices and availability are subject to change.

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 Madrid to Barcelona

Average PriceUS$48 - US$280Average Duration7h 50m
13kg CO₂e5 out of 5 stars
Average PriceUS$18 - US$264Average Duration2h 52m
12kg CO₂e5 out of 5 stars
CheapestFastestMost eco-friendly
Carpool
Average PriceUS$24 - US$83Average Duration6h 30m
21kg CO₂e4 out of 5 stars
busbud logoBusbud recommends taking the train from Madrid to Barcelona

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

27train per day
2h 52mAverage Duration
US$18Cheapest ticket
12kgCO₂ emissions

Train Madrid to Barcelona: Trip Overview

Please note, this information is subject to change

Average Ticket PriceUS$59
Average train trip duration2h 52m
Number of daily trains27
Earliest train departure6:22am
Distance502 km
Latest train departure9:10pm

Madrid to Barcelona Train

Busbud helps you find a train from Madrid to Barcelona. Get the best fare and schedule, book a round trip ticket or find trains with WiFi and electrical outlets.

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

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

Frequently asked questions on the trip Madrid - Barcelona

  1. How much does a cheap train ticket from Madrid to Barcelona cost?

    The average train ticket price from Madrid to Barcelona is US$59. The best way to find cheap train tickets from Madrid to Barcelona is to book your tickets as early as possible. Prices tend to rise as your travel date approaches, so book in advance to secure the best prices!

  2. How long is the trip from Madrid to Barcelona?

    A train trip between Madrid and Barcelona is around 2h 52m, although the fastest train will take about 2h 30m. This is the time it takes to travel the 505 km that separates the two cities.

  3. How many daily trains are there between Madrid and Barcelona?

    The number of trains from Madrid to Barcelona can differ depending on the day of the week. On average, there are 27. Some trains are direct while others include transferring trains. Simplify your train trip from Madrid to Barcelona by comparing and selecting the train that fits your travel style and budget on Busbud.

  4. What are the departure and arrival stations for a train from Madrid to Barcelona?

    Trains travelling between Madrid and Barcelona leave from Madrid Puerta De Atocha or Madrid-Chamartin and arrive at Barcelona Sants, Estació del Nord de Barcelona, Barcelona Airport.

Find cheapest prices for trains

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

Best price found
04-25
US$75
04-26
US$109
Today
US$100
04-28
US$67
04-29
US$45
04-30
US$49
05-01
US$43
05-02
US$39
busbud logoThe cheapest trip from Madrid to Barcelona was searched and found on May 2, 2025 with a price of US$39

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

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

Usually RENFE_AVE, RENFE_RENFE 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.

About Train Travel

Train Travel Tips

There are many train stations in the world, check out the station pages on Busbud to get all information you need.

No matter if you plan to take a regional or high-speed train to Barcelona, 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 Madrid and Barcelona, you emit up to 30 times less CO2 than for the same journey made by plane or car!

Make a music playlist for your train ride from Madrid to Barcelona, and enjoy the scenery to tunes from your own personal soundtrack.

Did you know?

The magnetic levitation train (Maglev for short) is currently the fastest train in the world. With a speed of 603 km/ h, it is closely followed by the French high-speed train (574.8 km / h) which remains in 2020, the fastest train to date.

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.

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 travelling between the city and the suburbs.

Will you be returning to Madrid by train?

Train from Barcelona to Madrid

Why choose Busbud?

The Best Way To Book Bus and Train Tickets

Busbud helps you easily search, compare and book intercity bus tickets on a worlwide scale with our comprehensive list of bus routes and schedules. With several language and currency options available, Busbud seeks to cater to international bus travellers no matter where they are in the world. Busbud partners with safe and reliable bus companies throughout the world such as Greyhound, Eurolines, ALSA, OUIBUS (BlaBlaBus), National Express and many others so you can buy tickets without a worry.

People from around the world trust Busbud

Popular Trains Connecting Madrid

Trains Leaving from Madrid

Popular Trains Connecting Barcelona

Trains Going to Barcelona