
How to Get from Barcelona to Madrid
Barcelona to Madrid is 505 km in a straight line, and the fastest option takes 3h 17m by train. The trip takes 6h 55m by bus.
- 26 train departures a day with Renfe
- First train at 05:40, last at 20:00
Barcelona to Madrid
On Routavio you can compare the ways from Barcelona to Madrid by price and travel time (route calculated on 3 December 2026).
Compare the ways to get there. Then check them for your own date.
Start with the Whole Journey.
We compared the ways to travel from Barcelona to Madrid. The most useful option is a flight; the flight itself takes 1h 25m, not counting the trip to and from the airports. The two cities are about 505 km apart in a straight line. The price and operators below come from a real route search.
This fare comes from a search on November 29, 2026 and has not been refreshed since. Run a live search for today's price.
505 km in a straight line
Which Way Suits You?
| Transport | Observed fare | Duration and scope | Detail |
|---|---|---|---|
| Flight | €51Checked Nov 29 | 1h 25mFlight only | See Flight details |
| One-way flight, Mon, Apr 19:€25· Checked Nov 27 | |||
| Train | €25Checked Dec 3 | 3h 17mFastestdirect | See Train details |
| Bus | €17Older observation | 6h 55mdirect | See Bus details |
| See bus tickets on Omio | |||
- Flight€51Checked Nov 291h 25m · Flight onlySee Flight details
- Train€25Checked Dec 33h 17m · directFastestSee Train details
- Bus€17Older observation6h 55m · directSee Bus details
These figures were observed on different days. This table is not a live price ranking for your date.
Barcelona to Madrid: Cheapest or Fastest?
Pick a tab: the legs, the timing and the difference from the others all change with it.
- 1Barcelona El Prat → Madrid–Barajasflight
Volotea·1h 25m
The best balance of price and time we found on this route.
Which Date Should You Go?
An amount is a fare we saw earlier; with "around" in front it is our estimate. Neither is a live offer. A day with no figure is one we have not priced, not one without a service.
Departures from Barcelona to Madrid
Renfe runs 26 scheduled departures a day, the first at 05:40 and the last at 20:00.
| Operator | Departures a day | First | Last |
|---|---|---|---|
| Renfetrain | 26 | 05:40 | 20:00 |
| Alsabus | 11 | 01:30 | 23:00 |
| Ouigotrain | 5 | 07:35 | 20:20 |
| BlaBlaCar Busbus | 1 | 18:15 | 18:15 |
| FlixBusbus | · | 03:10 | 03:10 |
| iryotrain | · | · | · |
All departures Renfe
- 05:40
- 05:50
- 06:20
- 06:35
- 07:00
- 07:27
- 08:00
- 08:25
- 09:00
- 09:55
- 11:00
- 12:00
- 12:50
- 13:27
- 14:00
- 15:00
- 15:25
- 16:00
- 16:25
- 16:58
- 17:25
- 18:00
- 18:25
- 18:40
- 19:25
- 20:00
All departures Alsa
- 01:30
- 01:59
- 03:00
- 09:00
- 11:30
- 12:30
- 13:30
- 15:00
- 17:00
- 18:30
- 23:00
All departures Ouigo
- 07:35
- 10:40
- 13:50
- 17:40
- 20:20
All departures BlaBlaCar Bus
- 18:15
All departures FlixBus
- 03:10
Departure times come from operator timetables and are local time at the origin. Where a row shows no times, we do not hold a published timetable for that operator. Times can change on holidays and at short notice; confirm with the operator before you travel.
Departure and Arrival


Ticket Prices on This Route
What each way of travelling costs, as the operator publishes it. These describe the route rather than a date you pick, and they refresh once a day. Booking opens at our partner Omio.
Omio last refreshed these on Thu, Dec 3.
Operators Seen on These Journeys
On this route you travel with Volotea, BlaBlaCar Bus, Renfe.
How the Trip from Barcelona to Madrid Works
Routavio built this route from its own route data on 3 December 2026. Start with a Volotea flight from Barcelona to Madrid, about 1h 25m. In total it's roughly €51 over 1h 25m, direct, no transfers.
Where to Stay
Stays in Madrid on Booking.comRent a Car
Loading offers...
Things to Do in Madrid
Loading offers...
Barcelona to Madrid: Common Questions
How long does it take to get from Barcelona to Madrid?
Routavio's route check on 3 December 2026 times the flight itself at about 1h 25m; the most useful option is a flight. Getting to and from the airports is on top of that.
When is the first train from Barcelona to Madrid?
The first train with Renfe leaves at 05:40 and the last at 20:00, according to the published timetable.
How many train departures a day are there from Barcelona to Madrid?
Routavio's timetable check shows 26 train departures a day with Renfe, between 05:40 and 20:00.
When is the first bus from Barcelona to Madrid?
The first bus with Alsa leaves at 01:30 and the last at 23:00, according to the published timetable.
How many bus departures a day are there from Barcelona to Madrid?
Routavio's timetable check shows 11 bus departures a day with Alsa, between 01:30 and 23:00.
How far is Madrid from Barcelona?
About 505 km in a straight line. The real route on the ground or in the air is longer.
How much does Barcelona to Madrid cost?
Routavio's price check on 29 November 2026 puts the route we recommend at €51. Other options on this page can cost less, and the exact fare depends on your travel date.
Are there direct flights from Barcelona to Madrid?
Yes. The best option Routavio found flies without a transfer and takes about 1h 25m.
How long is the flight from Barcelona to Madrid?
Routavio times the flight itself at about 1h 25m. Getting to and from the airports is on top of it.
What are the airport codes for Barcelona and Madrid?
Barcelona is BCN and Madrid is MAD, so this route is usually written BCN to MAD.
Which operators run Barcelona to Madrid?
According to Routavio's route data, on this route you travel with Volotea, BlaBlaCar Bus, Renfe.
Can you get from Barcelona to Madrid without flying?
Yes. A ground route by train takes about 3h 02m.
What is the cheapest way to get from Barcelona to Madrid?
Routavio's comparison usually points to a flexible date, or leaving from a nearby airport. A live search puts every option for your dates side by side.
Can I book directly?
Yes. Routavio sends you straight to the operator or an independent third-party provider. We never add a booking fee. The final fare and availability are confirmed by that provider.
Other Ways People Search Barcelona to Madrid
- how to get from Barcelona to Madrid
- Barcelona to Madrid travel time
- Barcelona to Madrid distance
- cheapest way from Barcelona to Madrid
- Barcelona to Madrid flight time
- flights from Barcelona to Madrid
- Barcelona Madrid direct flights
- BCN to MAD
- Barcelona to Madrid by bus
Sources and Method
Routes are calculated by Routavio's multimodal engine from operator timetables and flight data. Durations come from timetables, and prices are the most recent observation, not a guarantee.
Operators: Volotea, BlaBlaCar Bus, Renfe
Route calculated: 3 Dec 2026
Prices checked: 29 Nov 2026