Train service

Renfe
Renfe is Spain’s national railway operator, offering high-speed, long-distance, and regional train services with extensive domestic coverage.
Check times & pricesOfficial website
Ouigo
Ouigo is SNCF’s low-cost train service offering affordable high-speed travel in France, Spain, and Belgium with simplified onboard amenities.
Check times & pricesOfficial website
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.
Check times & pricesOfficial websiteTrain tickets
Omio
Omio connects you with over 1,000 transport providers - trains, buses, flights, and more - to simplify your travel planning.

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

Raileurope
Rail Europe is a leading travel tech company specializing in European train bookings for over 15,000 travel professionals worldwide.
Direct high-speed trains connect Madrid and Barcelona every day, run by four operators: Renfe's AVE and Avlo brands, Ouigo, and Iryo. The route covers 504 km between the two city-centre stations. Renfe AVE trains are the fastest, typically taking around 2 hours 30 minutes. Ouigo and Iryo services take around 3 hours on direct trains. Fares start from €9 on Ouigo. Advance booking discounts on all four operators disappear quickly as the departure date approaches.
Train is by far the most popular way to travel between Madrid and Barcelona. The journey time advantage over flying is real for most travellers. A direct AVE train delivers you to a central station in 2 hours 30 minutes, while a flight adds airport transfers, check-in, and security at both ends, so the total door-to-door time is broadly similar or slower on short-haul aviation. Choose the train unless your hotel is genuinely near one of the airports.
Key facts at a glance
- Departure station (Madrid): Madrid Puerta de Atocha-Almudena Grandes (most services); some Renfe trains also use Madrid Chamártín-Clara Campoamor
- Arrival station (Barcelona): Barcelona Sants (all operators)
- Fastest journey time: around 2 hours 30 minutes (Renfe AVE)
- Typical journey time: 2h30 to 3h30 depending on operator and whether the service stops en route
- Operators: AVE (Renfe), Avlo (Renfe), Ouigo, Iryo
- Starting fares: Ouigo from €9; Avlo from around €8 to €12; AVE from around €18; Iryo – check iryo.eu for current prices
- No night trains: all services are daytime only
Choosing your operator
| Operator | Best for | Starting fare | Journey time | Luggage extras |
|---|---|---|---|---|
| AVE (Renfe) | Speed and flexibility; Eurail | ~€18 advance | ~2h30 | Included |
| Avlo (Renfe) | Lowest Renfe fare | ~€8-€12 advance | ~2h30 | €10 per bag |
| Ouigo | Budget; families; advance planners | From €9 | ~3h (direct) | €5 extra piece |
| Iryo | Comfortable mid-priced AVE alternative; Eurail | Check iryo.eu | ~3h | Varies by class |
All four operators run multiple daily services from early morning to evening. Ouigo runs the fewest, around 5 departures each way, so confirm the exact times for your date before relying on a Ouigo train at a particular hour. Renfe's AVE and Avlo services are far more frequent, which makes them the safer choice if your timing is tight or your plans might slip.
Train types and services
On this corridor the four operators are genuinely different products, not interchangeable. Your choice of operator changes your fare, how long the journey takes, what you can carry, and how easily you can change your plans. Pick AVE for the fastest trip and full flexibility, Avlo or Ouigo to save money if you travel light, and Iryo if you want a comfortable alternative to AVE at a similar price point.
Renfe AVE
AVE is Renfe's flagship high-speed service, with more daily departures on this route than any other operator. The trains are fast, typically around 2 hours 30 minutes direct.
Renfe offers three fare classes on AVE:
- Elige (second class): standard seating, WiFi, power outlets, cafe-bar. Advance fares can start from around €18, though prices rise quickly with demand.
- Elige Confort (first class): wider seats, more space, a step up on service.
- Prémium (first class, all-inclusive): XL Confort seating, seat selection, in-seat service and meal, plus full flexibility on changes and cancellations.
AVE has no extra luggage charge for standard suitcases and backpacks. That is worth factoring in: if you are carrying a large or heavy bag, AVE often works out cheaper overall than a low-fare Avlo or Ouigo ticket once you add their luggage charges. Renfe ticket holders also benefit from the Cercanías Combinado scheme: your AVE ticket includes a free Cercanías journey in Madrid and Barcelona, which is worth using to reach the station or your onward stop rather than paying for a separate local ticket.
If you hold a Renfe Prémium ticket, the Sala Club lounge at Puerta de Atocha is available before departure. Check Renfe's conditions for exact eligibility and timing.
AVE is the right call for travellers who want the fastest journey, no luggage worries, the option to change or cancel, or who are using a Eurail or Interrail pass. Choose Avlo or Ouigo instead only if your dates are fixed and you are travelling light.
Renfe Avlo
Avlo is Renfe's budget brand on this corridor. It runs on the same high-speed tracks and achieves comparable journey times to AVE, but strips back the service to keep fares low. Advance tickets can start from around €8 to €12.
Before you book the lowest Avlo fare, check what you are carrying. There is no class upgrade, no bar car (vending machines only), and the luggage rules are the strictest on this route. You get one large bag plus a small one within the limits. Extra bags cost €10 per suitcase or backpack, and oversized or overweight items can be charged €30 at the station, paid on the day when it is too late to switch trains. If you are travelling with two large suitcases, that headline fare stops being the cheapest option, and AVE may beat it overall.
Avlo is the right choice when you travel light and your dates are fixed. It is the wrong choice if you might need to change or cancel, as refund and exchange conditions are restrictive. Avlo tickets are also not typically covered by Eurail or Interrail passes.
Ouigo
Ouigo is a French-owned low-cost operator running a separate commercial service on the Madrid-Barcelona route. It is not part of Renfe. Tickets start from €9 per adult. Children aged 4 to 13 pay a flat €5 fare. Babies under 4 travel free.
Ouigo trains take around 3 hours on direct services, or around 3h15 to 3h30 on services with a stop in Zaragoza or Tarragona. That is noticeably longer than the fastest AVE trains, so factor it in when comparing prices.
Ouigo runs around 5 departures each way per day. Confirm the exact times for your date when you book, as the schedule shifts and Ouigo does not run a fixed hourly pattern. The operator allows booking up to 9 months in advance, so if your dates are fixed you can lock in the lowest fares well before the AVE booking window opens. The downside of only 5 departures: if you miss your train, the next Ouigo may be hours away. Build in a margin rather than cutting it fine.
All Ouigo fares include one piece of hand baggage (max 36x27x15 cm) and one cabin bag (max 55x35x25 cm), with a combined weight limit of 30 kg. Each passenger can add one extra piece of luggage for €5, but book it in advance, as adding it at the station is more expensive and not guaranteed.
Travelling with a small pet? Ouigo lets you bring up to two pets per passenger, each weighing no more than 15 kg, in a closed, rigid carrier no larger than 60x35x35 cm that sits under your seat or on your lap. Add the pet option when you book, for €10 per booking up to 30 minutes before departure, rather than turning up with the animal and sorting it on board, which costs more.
Ouigo also offers three product variants:
- Ouigo Essential: the standard product. Non-refundable, lowest price.
- Ouigo Plus: adds XL seat access and premium onboard entertainment from €6 extra.
- Ouigo Flex: lets you change your date or time up to 30 minutes before departure, paying only the price difference. Worth considering if your plans might shift.
Onboard, Ouigo has a cafe-bar and the OUIFUN entertainment platform, with films, series, and games available on your own device. Ouigo tickets are not typically covered by Eurail or Interrail passes, so pass holders need a separate point-to-point ticket.
For budget travellers and families who book ahead, travel light, and do not mind around 30 extra minutes over AVE, Ouigo is the cheapest realistic option. The flat €5 child fare and free travel for under-4s make it particularly good value for families.
Iryo
Iryo is a private high-speed operator running Frecciarossa 1000 trains, the Italian-designed trains capable of speeds up to 360 km/h. Journey times are broadly similar to AVE on this corridor, around 3 hours.
Iryo offers four fare classes:
- Inicial: entry-level; one small bag and one cabin-size bag included; size and weight limits apply.
- Inicial Superior: adds same-day booking changes and greater flexibility.
- Infinita: XL seating, more space, a step up in comfort.
- Infinita Bistró: top tier; includes in-seat dining.
Iryo's advance fares generally sit close to Renfe AVE rather than down at Ouigo's level, so treat it as a comfortable mid-priced alternative to AVE, not a budget operator. No consistent published starting fare is available on Iryo's English site, so check the live price on iryo.eu for your date before assuming it undercuts AVE. It often does on quieter departures, but not always.
Eurail pass holders can use an Iryo reservation: €10 for Inicial Superior or €13 for Infinita. Reservations on Iryo are mandatory when using a Eurail or Interrail pass. The pass alone will not get you on board.
Iryo suits travellers who want AVE-level comfort and journey time with a different onboard product, or pass holders who want to compare the €10 Iryo Inicial Superior reservation fee against an equivalent AVE class.
How to buy tickets
Booking channels
Book directly with the operator where possible. All four operators have English-language sites and accept international payment cards:
- Renfe: renfe.com or the Renfe app
- Ouigo: ouigo.com or the Ouigo app
- Iryo: iryo.eu or the Iryo app
- Aggregators: Omio and Trainline cover most services on this route and are useful for comparing operators in one search, but may add a service fee. Booking direct typically means no booking fee for Renfe.
Renfe fare types
Renfe offers four main fare structures on AVE:
- Promo: lowest price, non-refundable, no changes.
- Promo+: partial refund available; some flexibility.
- Flexible: fully changeable and cancellable.
- Prémium (AVE only): all-inclusive, with seat selection, in-seat service, meal, and full flexibility bundled.
Round-trip fares are available and often cheaper than two separate one-way tickets. Check both options when booking.
When to book
Renfe typically opens bookings around 60 to 90 days before departure. Ouigo lets you book up to 9 months in advance. On both, advance fares are the cheapest and they disappear. Avlo and Ouigo fares can start well under €15 when booked early, but the same seats cost significantly more closer to departure.
Book a flexible or Ouigo Flex fare if your dates are not fixed. Avoid the cheapest advance fares unless you are certain of your travel plans.
Discounts
Seniors (60+): Renfe's Tarjeta Dorada discount card gives reduced fares across AVE and other Renfe services. Check renfe.com for the current card fee and eligible services.
Children: On Ouigo, babies under 4 travel free and children aged 4 to 13 pay a flat €5. Renfe offers children's and youth discounts; check renfe.com for current ticket types and ages.
Large families and youth: Renfe lists reduced fares for large families and young travellers. Check the Renfe discounts page for current eligibility.
Eurail and Interrail passes
Do not board an AVE or Iryo train on this route with only your pass. A seat reservation is compulsory on every high-speed service here, separate from the pass. The pass covers the travel day; the reservation buys you a specific seat on a specific train. Without it you do not have a valid ticket, and the lowest reservation places can sell out before the train itself is full. Book the reservation as soon as you know your travel date.
Two things catch pass holders out on this route. First, passes are valid only on Renfe AVE and Iryo. Avlo and Ouigo are not typically accepted, so for those services you need a normal point-to-point ticket. Second, the reservation fee is fixed and unavoidable. Booking early does not reduce it; it only protects availability. Check Eurail.com to confirm current pass compatibility before you build a trip around it.
Seat reservation fees for Eurail pass holders on Renfe AVE:
- Elige (2nd class): €10 per journey
- Elige Confort (1st class): €13 per journey
- Prémium (1st class with meal): €23.50 per journey
On Iryo:
- Inicial Superior: €10 per journey
- Infinita: €13 per journey
When both AVE Elige and Iryo Inicial Superior run at a time that suits you, the reservation fee is the same at €10. Let the timetable and onboard comfort decide.
Station and trip guide
Madrid Puerta de Atocha-Almudena Grandes
Most Madrid to Barcelona high-speed trains leave from Madrid Puerta de Atocha-Almudena Grandes, but some Renfe services use Madrid Chamártín-Clara Campoamor instead. The two stations are at opposite ends of the city. Metro Line 1 links them directly in around 30 minutes, and the Cercanías commuter train does the same trip in about 10 to 15 minutes, so the Cercanías is the quicker connection if you find yourself at the wrong one. Booking pages often just say "Madrid," so before you pay, open the journey details and confirm the exact departure station. Travellers who skip this check have turned up at Atocha for a train leaving from Chamártín and missed it. Note the station on your ticket and plan your arrival around the right one.
Puerta de Atocha has three main areas: the historic trainshed with its well-known tropical garden, the high-speed terminal for AVE, Iryo, and Avlo services, and the underground Cercanías platforms for local trains. Plan to arrive at least 30 to 45 minutes before departure for the high-speed terminal.
If you hold a Renfe Prémium ticket, the Sala Club lounge is available before departure; check eligibility conditions on Renfe's site. Your Renfe AVE ticket also includes a free Cercanías journey in Madrid (Cercanías Combinado), usable within a few hours of your departure or arrival. Luggage storage is available at the station.
The journey
| Operator | Class options | Food and drink | Entertainment | Sockets |
|---|---|---|---|---|
| Renfe AVE | Elige, Elige Confort, Prémium | Cafe-bar; Prémium includes in-seat meal | Limited | Yes |
| Iryo | Inicial, Inicial Superior, Infinita, Infinita Bistró | Cafe-bar; Infinita Bistró includes in-seat dining | Limited | Yes |
| Ouigo | Essential, Plus | Cafe-bar | OUIFUN (films, series, games) | Yes |
| Avlo | Single class | Vending machines only | Limited | Yes |
All services are air-conditioned. You are welcome to bring your own food and drinks on any operator. The journey passes through Camp de Tarragona on the high-speed line, though most direct services do not stop there.
No overnight train runs between Madrid and Barcelona. All services are daytime only.
Barcelona Sants
All four operators arrive at Barcelona Sants. The station is open from around 04:30 to 00:15. Platforms are accessible via lifts, escalators, or stairs from the main concourse.
For most visitors the metro is the quickest and cheapest way out. The Sants Estació stop sits directly under the concourse, with Line L3 (green) and Line L5 (blue). Line L3 reaches the Gothic Quarter and Passeig de Gràcia, where many hotels are, in around 10 to 15 minutes. If you are heavily laden or arriving late, the taxi rank is at both station entrances. Several bus lines also serve the area. The station has WiFi, luggage storage, tourist information, and a range of shops and cafes.
Travel preparation
Luggage rules
Each operator sets its own limits. If you are travelling with a large suitcase, check before you book. The rules vary considerably.
| Operator | Included allowance | Extra luggage cost |
|---|---|---|
| Renfe AVE | Suitcases and backpacks included; no strict weight limit for standard passengers | None |
| Iryo | 1 small bag + 1 cabin-size bag in Inicial class; size and weight limits apply | Varies by class; check iryo.eu |
| Ouigo | one small bag (max 36x27x15 cm) + one cabin bag (max 55x35x25 cm); combined 30 kg | €5 per additional piece |
| Avlo | Strict size and weight restrictions | €10 per suitcase/backpack; €30 for oversized or overweight items |
Avlo has the strictest limits of the four operators. If you are travelling with a large or heavy bag and considering Avlo, check the specific dimensions before booking. Once you add a luggage charge, a standard AVE fare can end up cheaper for the same trip.
Accessible travel
If you have reduced mobility, book assistance in advance rather than relying on help at the station on the day. The free service is called Adif Acerca (it was previously known as Renfe Atendo) and is run by Adif, the rail infrastructure manager, but you can request it through Renfe when you buy your ticket or by calling Renfe on 912 320 320. On AVE you can also book a Plaza H wheelchair space, which lets you travel in your own chair in a designated, anchored spot; it carries a fixed fee of €7 on AVE and other long-distance Renfe services. Spaces are limited, often just a few per train, so request the Plaza H and assistance well ahead, as availability and lead times vary by station.
A slower, cheaper alternative
A conventional train also runs between Madrid and Barcelona, taking around 9 hours at a lower fare. It only makes sense if the price matters far more than time, or you want the scenery. For almost everyone the high-speed trains are the better choice. Check renfe.com for current pricing and availability if you are not in a hurry.
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.