Barcelona to Madrid by train or flight
For most travellers, a direct high-speed train is the easiest choice: it runs from Barcelona Sants to Madrid Atocha, with room to move about on board. A flight can make sense if you are connecting at Madrid airport or staying near the airports, but allow for airport transfers, check-in and security when comparing the full journey.
Which route should you take?
How to make the transfer
- Compare direct services for your date on iryo and OUIGO, and check the actual journey duration, luggage allowance and change conditions.
- Book your chosen train and keep the ticket on your phone or print it.
- Go to Barcelona Sants and follow the departure screens to your boarding area. For iryo, be at the gate at least 30 minutes before departure.
- Have your ticket ready for boarding and travel to Madrid Puerta de Atocha, where you can continue by metro, local train, bus or taxi.
If you arrive late
Check the operators' booking sites for remaining trains and flights. If you have missed a booked service, contact the operator or its station desk to ask what your fare allows. If there is no suitable departure left, arrange a night in Barcelona and book the next available service.
Planning the return
For the return train, search Madrid Puerta de Atocha to Barcelona Sants and check the departure and boarding instructions for your chosen operator. For a flight, search Madrid Barajas to Barcelona El Prat and allow for the trip to the airport.
Is flying faster door to door?
The flight itself takes about 1 hour 25 minutes, but that excludes travel to and from the airports, check-in, security and any baggage collection. The train links the cities' central stations; add your local transfers and boarding time to compare the full journey for your addresses.