Services

Select a service to start your booking

European trains

Trains from Barcelona to Madrid

Barcelona to Madrid is the spine of Spanish rail travel: coast to capital, Catalonia to Castile, across the dry uplands of Aragon with Zaragoza in between. It is a working route as much as a holiday route, with business travellers moving between the Mediterranean city and the capital alongside visitors doing both on the same trip. Pick a date and the number of passengers below and the live times and fares for that day will appear.

Availability and prices are checked live when you search.

About the Barcelona to Madrid train

Departures are from Barcelona Sants, the main station west of the city centre with the metro beneath it. The line climbs away from the coast, crosses the Ebro valley at Zaragoza and then rolls on to the plateau on which Madrid sits. Decide before booking whether you need Madrid to Barcelona as well; the return is covered on its own page and priced separately for each day. You arrive at Madrid Puerta de Atocha, south of the centre, a station with a glasshouse garden in its old train shed. From there the Retiro park, the Prado and the Reina Sofía are within walking distance, and the metro connects to the rest of the city. Madrid is a capital built on a high plain, with hot summers and cold winters; its centre is dense and walkable, from Sol and the Plaza Mayor out to the broader streets of Salamanca and Chamberí. The Where to stay in Madrid section shows a sample of the hotels in the catalogue, and the Spain eSIM plans linked on this page cover data for a stay that does not involve a border.

Where to stay in Madrid

4 of the 338 hotels in the catalogue for Madrid. The hotels listed are 13–14 km from MAD.

Trains from Barcelona to Madrid: questions

How far is Madrid from Barcelona by train?

Barcelona and Madrid are about 500 km apart in a straight line; the rail route is longer. Live journey times and fares for your date appear when you search trains from Barcelona to Madrid.

Can I book the return from Madrid to Barcelona?

Yes. AI Concierge covers Madrid to Barcelona as well; search each direction for its own times and fares.

Is Barcelona to Madrid an international train journey?

No. Both Barcelona and Madrid are in Spain, so this is a domestic rail journey.

Destination, hotel and service details come from AI Concierge travel data; distances are straight-line. Availability and prices are shown live when you search.