Trains tickets from Madrid to Barcelona

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

Join 75M+ travellers booking 2M+ routes across 85+ countries.
Enjoy our 24/7 customer service to assist you at every stage.
Cancel anytime and receive a 100% refund, no reason needed.
Today16 Jul
from US$70
Tomorrow17 Jul
from US$66
Fri18 Jul
from US$60
Sat19 Jul
from US$52
Sun20 Jul
from US$54
Mon21 Jul
from US$51
Tue22 Jul
from US$54
Wed23 Jul
from US$91

Trains leaving tomorrow

One passenger / one way

  • This trip is recommended because it is the: Cheapest
    Departure time: 17 July at
    Departure city: Madrid
    Departure location: Atocha
    Arrival time: 17 July at
    Destination city: Barcelona
    Destination location: Barcelona-Sants
    Operated by: iryoiryo
    Vehicle: TrainDuration:
  • This trip is recommended because it is the: Fastest
    Departure time: 17 July at
    Departure city: Madrid
    Departure location: Madrid Puerta De Atocha
    Arrival time: 17 July at
    Destination city: Barcelona
    Destination location: Barcelona-Sants
    Operated by: RENFE AVERENFE AVE
    Vehicle: TrainDuration:
  • Departure time: 17 July at
    Departure city: Madrid
    Departure location: Madrid Puerta De Atocha
    Arrival time: 17 July at
    Destination city: Barcelona
    Destination location: Barcelona-Sants
    Operated by: RENFE AVERENFE AVE
    Vehicle: TrainDuration:
  • Departure time: 17 July at
    Departure city: Madrid
    Departure location: Madrid Puerta De Atocha
    Arrival time: 17 July at
    Destination city: Barcelona
    Destination location: Barcelona-Sants
    Operated by: RENFERENFE
    Vehicle: TrainDuration:
  • Departure time: 17 July at
    Departure city: Madrid
    Departure location: Atocha
    Arrival time: 17 July at
    Destination city: Barcelona
    Destination location: Barcelona-Sants
    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 travel from Madrid to Barcelona

Average priceUS$53 - US$278Average duration7h 50m
13kg CO₂e5 out of 5 stars
Average priceUS$19 - US$294Average duration2h 52m
12kg CO₂e5 out of 5 stars
CheapestFastestMost eco-friendly
Carpool
Average priceUS$25 - US$84Average duration6h 20m
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$19, it presents an excellent value for a comfortable ride.

28train per day
2h 52mAverage duration
US$19Cheapest ticket
12kgCO₂ emissions

Train Madrid to Barcelona: Trip Overview

Please note, this information is subject to change.

Average ticket priceUS$61
Average train trip duration2h 52m
Number of daily trains28
Earliest train departure06:22
Distance312 miles
Latest train departure21:07

Madrid to Barcelona Train

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$61. 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 train trip from Madrid to Barcelona?

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

  3. How many daily train 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 28. 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. Which train companies travel from Madrid to Barcelona?

    When taking the train from Madrid to Barcelona, you can travel comfortably and safely with Renfe, Iryo, OUIGO.

  5. 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
14/07
US$97
15/07
US$101
Today
US$64
17/07
US$59
18/07
US$55
19/07
US$47
20/07
US$49
21/07
US$46
busbud logoThe cheapest trip from Madrid to Barcelona was searched and found on 21 Jul 2025 with a price of US$46

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$46 to US$254 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$46, which is on 2025-07-21.

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.

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