Madrid to Barcelona by train

Last reviewed: July 2026

Typical duration
2h30
Direct
Direct service
From price
from €9
Trains to Barcelona

Train service

iryo

iryo is a private high-speed rail operator in Spain, serving major corridors from Madrid to cities including Barcelona, Valencia, Alicante, Seville and Malaga.

Train tickets

Omio

Omio connects you with over 1,000 transport providers - trains, buses, flights, and more - to simplify your travel planning.

Rail Europe

Rail Europe is a leading travel tech company specializing in European train bookings for over 15,000 travel professionals worldwide.

Trainline

Trainline sells rail and coach tickets worldwide on behalf of major UK and European transport companies.

Frequently asked questions

How long does the Madrid to Barcelona train take?

Renfe AVE trains are the fastest, typically around 2 hours 30 minutes on a direct service. Iryo times are close to AVE on most departures. Ouigo takes around 3 hours on direct services, or 3 hours 15 minutes to 3 hours 30 minutes on services that stop in Zaragoza or Tarragona. Check the journey time for your specific departure when you book.

How much does a train ticket from Madrid to Barcelona cost?

Fares vary by operator, class, and how far ahead you book. Ouigo fares start from €9 per adult. Avlo advance tickets can start from around €8 to €12. Renfe AVE advance fares start from around €18 and rise with demand. Iryo is broadly competitive with Renfe AVE; check iryo.eu for current prices. The earlier you book, the more likely you are to find the lowest advance fares on any operator.

Which train companies run between Madrid and Barcelona?

Four operators serve the route. Renfe runs two brands: AVE (the flagship high-speed service) and Avlo (the budget option with strict luggage rules and no catering). Ouigo is a French-owned low-cost operator with fares from €9 and journey times of around 3 hours. Iryo offers four fare classes including an in-seat dining option and journey times close to AVE.

Which stations do the trains use in Madrid and Barcelona?

Most services depart from Madrid Puerta de Atocha-Almudena Grandes. Some Renfe trains also use Madrid Chamártín-Clara Campoamor, which is at the opposite end of the city. Metro Line 1 links the two stations in around 30 minutes; the Cercanías commuter train is quicker at around 10 to 15 minutes. In Barcelona, all four operators arrive at Barcelona Sants. Booking pages often show only the city name, so open the journey details and confirm the exact departure station before you pay.

Can I use a Eurail or Interrail pass on this route?

Yes, Eurail and Interrail passes are valid on Renfe AVE and Iryo. Avlo and Ouigo are not typically covered; check Eurail.com for current compatibility. A mandatory seat reservation is required on every high-speed service when travelling with a pass - the pass alone does not get you on board. Reservation fees for Renfe AVE range from €10 (second class Elige) to €13 (first class Elige Confort) to €23.50 (Prémium with meal). Iryo reservations cost €10 or €13 depending on class. Book your reservation as soon as you know your travel date.

Are there family or children's fares on Madrid to Barcelona trains?

On Ouigo, children aged 4 to 13 pay a flat €5 fare, and babies under 4 travel free. This makes Ouigo particularly good value for families travelling ahead of time with fixed dates. Renfe offers children's and youth discounts on AVE and other services; check renfe.com for current ticket types and eligible ages.

What accessibility help is available on these trains?

The free assistance service is called Adif Acerca (previously known as Renfe Atendo) and is run by Adif, the rail infrastructure manager. You can request it through Renfe when you buy your ticket or by calling 912 320 320. On AVE trains, you can also book a Plaza H wheelchair space, which lets you travel in your own chair in a designated, anchored spot. This carries a fixed fee of €7 on AVE and other long-distance Renfe services. Spaces are limited, so request both the Plaza H and assistance well ahead of travel.

More routes