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
FastestCheapestTrain
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.
The time includes getting to the airport, check-in and security. Worth it if you find a cheap ticket.
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.
Before you go
- Mobile data for your tripSkip the SIM-card queues: activate an eSIM before you fly.Get an eSIM · Airalo →
- Things to do in MadridTickets, day trips and tours you can book ahead.Browse tours · GetYourGuide →
- Rent a car in MadridCompare local and international rental companies.Compare prices · DiscoverCars →
- Travel insuranceMedical cover for the whole trip, bought in a few minutes.Get a quote · Travel insurance →