Train from Barcelona to Madrid: Tickets & Schedules

Next train departures

Next departures for Barcelona to Madrid on December 5
Operated byVehicle typeDeparture timeDeparture locationTrip durationArrival timeArrival locationRecommendedPrice and booking link
RENFE AVETrain
Barcelona-Sants
Madrid Puerta De AtochaCheapest
RENFE AVETrain
Barcelona-Sants
Madrid Puerta De AtochaFastest
RENFE AVETrain
Barcelona-Sants
Madrid Puerta De AtochaNo tags
iryoTrain
Barcelona-Sants
AtochaNo tags
RENFE AVETrain
Barcelona-Sants
Madrid Puerta De AtochaNo tags

Last refresh of the prices: Today at 4:05 PM CET.

Compare 3 ways to go from Barcelona to Madrid

We recommend taking the train

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 $40, it presents an excellent value for a comfortable ride.

31train per day
2h 52mAverage Duration
312 milesDistance
12kgCO₂ emissions
Average Price$53 - $269Average Duration7h 40m
13kg CO₂e
Average Price$40 - $282Average Duration2h 52m
12kg CO₂e
Carpool
Average Price$28 - $81Average Duration6h 20m
21kg CO₂e

Frequently asked questions about traveling from Barcelona to Madrid by train

Please note that schedules, routes, or operator details shown here may be updated or vary at the time of your trip.

  1. How much is the train ticket from Barcelona to Madrid?

    The cheapest train tickets from Barcelona to Madrid start from $40. The average price for this train route is around $91. Busbud recommends that you book your tickets in advance for a better chance to get the lowest possible price.

  2. How long is the train journey from Barcelona to Madrid?

    The average train ride duration from Barcelona to Madrid is 2h 52m, covering a distance of 312 miles (502 km). The quickest train can get you there in 2h 30m and is operated by OUIGO.

  3. Which train operators service the Barcelona to Madrid route?

    Several major train operators operate on this route with 31 trains available per day, including services from Renfe, Iryo, OUIGO.

  4. What is the earliest and latest departure time for the train from Barcelona to Madrid?

    The earliest train departs from Barcelona to Madrid at 5:45am. And the latest train departs at 9:15pm.

  5. What is the best train operator from Barcelona to Madrid?

    According to Busbud customers, the highest-rated train operator on this route is Iryo, with an average rating of 4.5 out of 5 stars based on 396 reviews.

  6. Which train operator has the best Wi-Fi from Barcelona to Madrid?

    Based on reviews on Busbud, the train operator Iryo has the best Wi-Fi rating with a score of 3.9.

  7. Which train operator has the most timely service from Barcelona to Madrid?

    According to Busbud traveller reviews, the most timely train operator on this route is Iryo, with a punctuality rating of 4.8 out of 5 stars.

  8. Which train operator has the cleanest trains from Barcelona to Madrid?

    According to Busbud traveller reviews, the train operator with the cleanest trains on this route is Iryo, with a cleanliness rating of 5.0 out of 5 stars.

Find cheapest prices for trains

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

Best price found
12/02
$44
12/03
$69
Today
$60
12/05
$89
12/06
$45
12/07
$53
12/08
$70
12/09
$53
busbud logoThe cheapest trip from Barcelona to Madrid was searched and found on Dec 2, 2025 with a price of $44

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 $44 to $301 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 $45 which is on 2025-12-06.

Usually Iryo 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.

People from around the world trust Busbud