Hi Travelers

Spain · Getting there

Barcelona to Madrid: tickets and prices

Train in 2.5–3 hours from €9–15, bus from €18–35, flight from €25–40. Every way to get from Barcelona to Madrid, with prices and travel times.

2 h 30 min
Fastest
€9
Cheapest
4
Options

Ways to get there

  • High-speed train

    FastestCheapest

    Train

    From central Barcelona to central Madrid, no transfers

    Time
    2 h 30 min – 3 h
    Price
    €9 – €15

    Price when booked early. Ouigo and Iryo trains are the cheapest. The best time to buy tickets is 1–3 weeks ahead; the earlier you book, the cheaper they are.

  • Bus

    Bus

    Barcelona → Madrid

    Time
    7 h – 9 h
    Price
    €18 – €35

    The cheapest option for a last-minute purchase, but also the slowest. Overnight departures are available.

  • Flight

    Flight

    Barcelona → Madrid

    Time
    4 h – 5 h
    Price
    €25 – €40
    Check prices on Trip.com →

    The time includes getting to the airport, check-in and security. Worth it if you find a cheap ticket.

  • Car

    Rental car

    Barcelona → Madrid

    Time
    6 h – 7 h
    Price
    €70 – €120
    Check prices on DiscoverCars →

    Approximate trip cost. Works well for a group or a route with stops along the way.

Times and prices are indicative and change with season and demand. Confirm before you book. Prices checked: October 15, 2026. Some links are affiliate links — we may earn a commission at no extra cost to you.

Full guideHow to Get from Barcelona to Madrid: All Options, Prices and Travel TimesHow to get from Barcelona to Madrid by train, bus, plane or rental car. Ticket prices, travel times, where to buy and what to choose as a tourist.Read the full guide →

← All routes