Train service

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
Renfe
Renfe is Spain’s national railway operator, offering high-speed, long-distance, and regional train services with extensive domestic coverage.
Check times & pricesOfficial websiteTrain tickets

Raileurope
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.
Omio
Omio connects you with over 1,000 transport providers - trains, buses, flights, and more - to simplify your travel planning.
Direct high-speed trains run between Barcelona and Madrid throughout the day, with approximately 30 or more departures spread across four operators. The fastest services take approximately 2 hours 30 minutes to 2 hours 40 minutes; the average across all trains and all stops is closer to 3 hours 15 minutes. Three operators share the route alongside Renfe, Spain's national rail company: Avlo, which is Renfe's own low-cost sub-brand; Iryo, a private high-speed operator; and OUIGO España, a budget carrier. Promotional fares on the cheapest services are advertised from around 9 euros on certain departures, subject to availability, while standard fares on Renfe or Iryo typically range from around 25 to 80 euros depending on the operator, fare type, and how far ahead you book. All trains depart from Barcelona Sants and arrive at either Madrid Puerta de Atocha-Almudena Grandes or Madrid Chamartín-Clara Campoamor, depending on the specific service.
Journey Time: Fastest and Average Explained
The gap between the fastest and the average journey time on this route is wider than most travellers expect, and understanding it will save you from disappointment.
The fastest non-stop services cover the approximately 503 kilometres between the two cities in roughly 2 hours 30 minutes to 2 hours 40 minutes. These trains run at speeds of around 300 kilometres per hour, making the Barcelona to Madrid corridor one of the faster intercity rail journeys in Europe.
The average time across all services is closer to 3 hours 15 minutes. That figure reflects services that make one or more intermediate stops, lower-cost trains scheduled at slightly reduced speeds on certain segments, and the natural spread of departure times across the day. Budget services tend to fall toward the longer end of that range.
As of the date this article was last updated, Adif, the Spanish rail infrastructure manager, had temporary speed restrictions in effect on parts of the network. Renfe has advised that some services may experience delays as a result of these restrictions, for reasons outside Renfe's control. That situation may have changed by the time you read this, so it is worth checking live journey times when you search for tickets rather than relying solely on the headline fastest figure.
The general range to plan around is 2.5 to 3.5 hours, with most services falling between 2 hours 45 minutes and 3 hours 20 minutes.
The Four Train Operators on This Route
Four distinct operators run high-speed trains between Barcelona and Madrid. They differ in price, flexibility, onboard experience, and which booking channels carry their tickets.
Renfe AVE
Renfe is Spain's national rail operator. AVE, which stands for Alta Velocidad Española, is its high-speed network, and the Barcelona to Madrid corridor is one of its flagship routes. Renfe runs a large number of daily departures on the route and offers several fare types, ranging from a basic non-refundable fare to a fully flexible premium option that includes meals in an upgraded cabin on some services. Renfe tickets are available directly at renfe.com and through most major international booking agents. If you need a guaranteed seat at a predictable price, Renfe's mid-range fares booked two to three weeks ahead are usually a reliable option.
Avlo
Avlo is Renfe's low-cost sub-brand, modelled on budget airline ticketing. Seats are assigned, baggage allowances are more restrictive than on standard AVE services, and the cheapest fares carry no flexibility for changes or refunds. The trade-off is price: Avlo promotional fares are among the lowest available on the route from the Renfe side. Avlo tickets are sold primarily at renfe.com and may not appear on all third-party booking platforms, so if you are searching for the cheapest Renfe fares and not finding them through an aggregator, it is worth checking directly.
Iryo
Iryo is a privately owned high-speed operator that entered the Spanish market in 2022. It runs its own rolling stock on the Barcelona to Madrid route and competes directly with Renfe AVE on price and quality. Iryo's fare ladder runs from a basic non-refundable tier up through standard and fully flexible options, and its prices are frequently comparable to or slightly below Renfe AVE for equivalent flexibility. Iryo tickets are available at iryo.eu and through Rail Europe and Trainline, among other agents.
OUIGO España
OUIGO España is the Spanish operation of the OUIGO group, which is associated with SNCF, France's national rail operator, and it applies an ultra-low-cost model to Spanish high-speed rail. Promotional fares are advertised from around 9 euros per adult on certain departures. That headline fare applies to the cheapest available seat on a given departure, booked as far ahead as possible, with no luggage beyond a small personal item included. Checking a bag, selecting a specific seat, and other options each carry additional charges. OUIGO's ticketing conditions differ from Renfe and Iryo in ways that matter if your plans might change: most OUIGO fares are non-refundable and non-changeable. OUIGO tickets are sold primarily at ouigo.com. Aggregator availability varies and should be confirmed at the time you search.
Ticket Prices: What to Expect
Fares on this route are yield-managed, meaning they rise as departure dates approach and as cheaper seat allocations sell out. The figures below are indicative ranges. Current prices will vary, and you should check live fares before drawing any conclusions about what a ticket will cost.
| Operator | Fare type | Indicative range | Key conditions |
|---|---|---|---|
| OUIGO España | Budget, no frills | From around 9 euros | Non-refundable; luggage extra; book direct |
| Avlo (Renfe) | Budget | From around 10 to 20 euros | Non-refundable; limited aggregator availability |
| Iryo | Standard, non-refundable | From around 25 to 55 euros | Available through major agents |
| Renfe AVE | Standard | From around 30 to 60 euros | Multiple fare types; varies by lead time |
| Renfe AVE | Premium | From around 80 to 150 euros | Upgraded seating; meals on some services |
| Iryo | Premium | From around 80 to 150 euros | Upgraded cabin equivalent |
The single most effective way to get a lower fare on this route is to book early. For OUIGO and Avlo, the cheapest seats often appear when tickets first go on sale, typically several weeks to months before departure. For Renfe AVE and Iryo, fares at two to three weeks out are usually meaningfully lower than fares bought in the final few days. Travelling on weekday mornings or early afternoons, rather than Friday evenings or Sunday afternoons, also tends to produce lower fares across all operators.
Searching across operators simultaneously is worth doing. The cheapest departure on a given day might be OUIGO on one date and Iryo on another. If your plans are flexible enough to travel mid-week or to choose between a morning and an afternoon departure, that flexibility has real monetary value on this route.
Stations: Departure and Arrival
Barcelona Sants
All high-speed services between Barcelona and Madrid depart from Barcelona Sants. This is Barcelona's main long-distance rail station, located in the Eixample district, roughly two kilometres southwest of the city centre. Metro lines 3 and 5 serve the station directly, and it is well connected to the rest of the city by bus. Most visitors staying anywhere in central Barcelona or the tourist districts will reach Sants comfortably within 20 to 30 minutes by metro.
Some services also call at Barcelona Passeig de Gràcia, a stop in the centre of the Eixample that is more convenient for travellers staying in that part of the city. Check your specific service when booking, as not all trains stop there.
Madrid Puerta de Atocha-Almudena Grandes
The majority of Barcelona to Madrid high-speed services arrive at Madrid Puerta de Atocha-Almudena Grandes. This is Madrid's primary long-distance rail terminal, located in the southern part of the city centre near the El Retiro park and the Paseo del Prado museum district. Metro line 1 connects Atocha to the rest of the city. For most first-time visitors to Madrid, Atocha is the more convenient arrival point.
Madrid Chamartín-Clara Campoamor
Some services, including certain departures from budget carriers and trains that continue onward to other destinations beyond Madrid, terminate at Chamartín rather than Atocha. Chamartín is in the northern part of the city, a longer journey from the tourist centre, but it is well served by metro and commuter rail connections. The station itself is modern and easy to navigate.
Check your specific train's arrival station when you book. Both stations are functional and well connected; the difference is the time and routing to wherever you are staying.
Booking Options
For most international travellers, the simplest approach is to search across operators using a booking platform that covers Renfe, Iryo, and OUIGO together, confirm which service best suits your time and flexibility requirements, and book directly through that platform or through an operator's own site.
Renfe tickets are available at renfe.com and through Rail Europe, Trainline, Omio, and other major agents. Iryo tickets are available at iryo.eu and through Rail Europe and Trainline. OUIGO tickets are primarily available at ouigo.com; aggregator coverage varies and should be verified at the time you search.
Avlo fares, being a Renfe sub-brand, may not appear consistently across all aggregators. If you are specifically trying to find the lowest Renfe price and an aggregator is not showing it, check renfe.com directly.
Tickets typically go on sale two to three months before departure, sometimes further ahead. For travel in a popular period such as a Spanish public holiday or a summer weekend, searching as soon as the booking window opens is advisable.
Booking with a Eurail or Interrail Pass
Holders of a Eurail Global Pass or an Interrail Global Pass can travel on Renfe AVE and Iryo services between Barcelona and Madrid, but they cannot board these trains on a pass alone. A mandatory seat reservation is required in addition to the pass, and that reservation carries a fee. The fee varies depending on the operator, the class of travel, and how far in advance you book.
OUIGO España does not participate in the Eurail or Interrail schemes. Pass holders who want to use their pass on this route must choose a Renfe or Iryo service. Avlo's pass reservation availability is variable and should be confirmed against current operator policy before you plan around it.
Reservations for pass holders can be made through the Eurail and Interrail booking services, through Rail Europe, and at station ticket offices. Reservation availability is limited on popular departures, particularly at peak travel periods, so booking the reservation as early as possible is worth doing even if you already hold a valid pass.
Pass reservation policies and fees are updated periodically. Verify current conditions through Eurail's or Interrail's official channels before finalising your travel plans.
Onboard Experience and Route
The Barcelona to Madrid line runs southwest from the Catalan coast, climbs into the foothills behind the city, and then crosses the broad plateau of the Spanish interior known as the meseta. For the first part of the journey, the terrain is varied: you pass through tunnels in the Catalan hinterland, emerge into open countryside, and begin a long traverse of Castile-La Mancha, the high central plain that covers much of interior Spain.
The landscape is not dramatic in an Alpine sense. It is open and austere: wide agricultural fields, olive groves, vineyards, scattered villages, and the particular quality of light that the meseta has on a clear morning. At 300 kilometres per hour, individual features pass quickly, but the overall character of the landscape is readable over the course of the journey.
The trains themselves are clean, quiet, and equipped with air conditioning, a cafeteria car or trolley service (configuration varies by operator), power sockets, and generally reliable onboard Wi-Fi on Renfe AVE and Iryo services. Budget services are similarly modern; the range of included amenities on the cheapest fare types is more limited. Seats are comfortable for a journey of this length.
Most passengers use the time to work, read, or rest. The two to three hours crossing the interior of Spain at speed, watching the meseta unfold, has its own understated appeal.
Tips for Getting the Best Price
Search early and across operators. The booking window on this route opens several weeks to months before departure, and the cheapest allocations are released first.
For budget services, the lowest fares go quickly. If you see a fare that fits your budget, booking it is usually better than waiting.
For Renfe AVE and Iryo, prices in the two-to-three-week window are often reasonable and allow more flexibility than last-minute booking. The final few days before departure tend to see the highest fares unless an operator is discounting unsold seats, which does happen but cannot be relied upon.
Travelling on Tuesday, Wednesday, or Thursday is generally cheaper than Friday evening or Sunday afternoon, when this corridor carries high demand from business and leisure travellers alike.
Morning departures during weekday peak hours can carry slightly higher fares on some operators. Mid-morning or early-afternoon slots often offer better value, and the journey is short enough that the exact departure time rarely matters much.
If you hold a rail pass, factor in the mandatory reservation fee when comparing the pass route against point-to-point tickets. For a single return trip, point-to-point tickets are often cheaper in total than a multi-country pass plus two reservation fees. The pass makes more economic sense when used across many journeys in several countries.
Frequently asked questions
How long does the train from Barcelona to Madrid take?
The fastest services take approximately 2 hours 30 minutes to 2 hours 40 minutes. The average across all trains and stops is closer to 3 hours 15 minutes. Most services fall between 2 hours 45 minutes and 3 hours 20 minutes.
How many trains run between Barcelona and Madrid each day?
Approximately 30 or more high-speed services run each day across four operators. The majority are direct, with no change of train required.
Which operators run trains between Barcelona and Madrid?
Four operators serve the route: Renfe AVE, Avlo (Renfe's low-cost sub-brand), Iryo, and OUIGO España. They differ in price, included amenities, and ticketing conditions.
How cheap are train tickets from Barcelona to Madrid?
Promotional fares on OUIGO España are advertised from around 9 euros on certain departures, subject to availability. Avlo fares start from around 10 to 20 euros. Standard Renfe AVE and Iryo fares typically range from around 25 to 80 euros depending on the fare type and lead time.
Which stations do the trains use in Barcelona and Madrid?
All high-speed services depart from Barcelona Sants. Some services also call at Barcelona Passeig de Gracia. In Madrid, most services arrive at Madrid Puerta de Atocha-Almudena Grandes. Some services terminate at Madrid Chamartin-Clara Campoamor. Check your specific train when booking.
Can I use a Eurail or Interrail pass on this route?
Pass holders can travel on Renfe AVE and Iryo services but must also buy a mandatory paid seat reservation. OUIGO España does not accept Eurail or Interrail passes. Avlo reservation availability for pass holders is variable and should be confirmed before travel.
Where can I buy Barcelona to Madrid train tickets?
Renfe tickets are available at renfe.com and through Rail Europe, Trainline, and Omio. Iryo tickets are available at iryo.eu and through Rail Europe and Trainline. OUIGO España tickets are sold primarily at ouigo.com. Avlo fares may not appear on all aggregators, so checking renfe.com directly is advisable.
How far in advance should I book?
Tickets typically go on sale two to three months before departure. For budget services, the cheapest seats are released first and go quickly. Booking two to three weeks ahead generally produces reasonable fares on Renfe AVE and Iryo.