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 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.
- Speed: AVE trains reach up to 310 km/h (193 mph). Barcelona to Madrid takes 2h30 to 2h45 depending on the service.
- Cost: Ouigo starts from EUR 9 on the Barcelona to Madrid corridor. Renfe AVE starts from around EUR 17 in standard class if you book early. Note that Ouigo charges EUR 5 for a suitcase or backpack; only hand luggage is included in the base fare.
- Arrival station: Most trains to Madrid arrive at Atocha, which is centrally located and well connected to the Metro.
- Environment: Travelling by train to Madrid cuts emissions by up to 86% compared to flying.
- Day trips: Toledo and Segovia are both under 30 minutes from Madrid by high-speed train, making Madrid a practical base for the wider region.
| Route | Travel Time | Starting Fare |
|---|---|---|
| Madrid to Barcelona | 2h30 to 2h45 | From EUR 9 (Ouigo) / EUR 17 (Renfe AVE) |
| Madrid to Seville | Around 2h30 | From around EUR 25 |
| Madrid to Valencia | Around 1h50 | From EUR 13 (Ouigo) |
| Paris to Madrid | Around 9 to 10h (with connection) | Fares vary; compare at Trainline.com |
High-speed train types serving Madrid
Spain’s high-speed network has several service brands, and which one you board affects your luggage allowance, on-board comfort, and where you can buy a ticket.- AVE: Renfe’s main high-speed service, running on dedicated track. Most trains from Madrid to Barcelona, Seville, and Valencia are AVE. Two classes (Standard and Comfort), a cafe-bar on board, and power sockets at every seat.
- Iryo: A full-service competitor to AVE run by Ilsa, a joint venture that includes Trenitalia. Iryo has operated on the Barcelona to Madrid route since late 2022 using Frecciarossa 1000 trains, which are designed for 360 km/h but run at up to 310 km/h on this line. Infinita Bistro class includes a meal at your seat; Inicial class has a refreshment trolley.
- Ouigo: The low-cost option on the Barcelona to Madrid corridor, with around five departures a day. Fares from EUR 9, but a EUR 5 surcharge applies for a suitcase or backpack. Rail passes are not accepted on Ouigo.
- Alvia: Renfe trains that switch between high-speed and conventional track, used for cities in northern Spain such as Bilbao and San Sebastian that are not yet on the full high-speed network.
- Avant: Short-hop high-speed services for routes under 300 km. Madrid to Toledo, Madrid to Segovia, and Madrid to Ciudad Real all run as Avant services.
Main train routes to Madrid
Madrid is directly connected by rail to Barcelona, Valencia, Seville, Bilbao, and Zaragoza, as well as international destinations including Lisbon and Paris. The Barcelona to Madrid route carries the most high-speed traffic and has the most competition.High-speed trains from Barcelona to Madrid
Around 30 high-speed trains depart daily from Barcelona to Madrid across all three operators. The journey takes 2h30 to 2h45 for the 621 km route; the fastest non-stop AVE and Iryo services run in 2h30. Most trains use Barcelona Sants.| Operator | Daily Frequency | Fare Floor | Luggage Policy | Service Level |
|---|---|---|---|---|
| Renfe AVE | 20 or more departures | From around EUR 17 (standard, early booking) | Flexible; no surcharge for bags | Standard and Comfort seating; cafe-bar on board; lounge access with Premium fare |
| Iryo | Around 5 departures | From around EUR 25 (Inicial class) | 1 small bag plus 1 cabin bag in Inicial; more in higher classes | Infinita Bistro class includes at-seat meal; 5G WiFi on board |
| Ouigo | Around 5 departures | From EUR 9 | EUR 5 surcharge for suitcase or backpack | Low-cost; cafe-bar; no pass validity |
Barcelona to Madrid: train versus flying
For this route, the train wins for most travellers. City centre to city centre by AVE takes 2h30 to 2h45 with no airport transfer. The same journey by air, including check-in, security, and transfers at both ends, typically takes three hours or more door-to-door. Fares start from EUR 9 on Ouigo, and there are departures throughout the day.Trains from other countries
There is no direct high-speed train from Paris to Madrid. You need at least one change, usually at the French border or in Barcelona, and the total journey takes around 9 to 10 hours. If you are travelling from London, the most practical routing is Eurostar to Paris, then a TGV or Renfe AVE to Barcelona, then AVE or Iryo on to Madrid. Renfe now runs cross-border AVE services from Lyon and Marseille into Spain, but these also require a connection; there is no direct service from Marseille to Madrid. No direct overnight train runs from Paris to Madrid at the time of writing.Local and regional trains
Avant services cover the short high-speed hops from Madrid. Toledo is around 30 minutes from Madrid Atocha-Almudena Grandes station, with hourly Avant departures and fares from around EUR 10. Segovia takes around 30 minutes from Chamartin. Avila is around 1h20 to 1h40 by Media Distancia regional train, as are Salamanca and Soria. For cities in northern Spain not yet served by the full high-speed network, including Bilbao, San Sebastian, and Galicia, Alvia trains use a mix of high-speed and conventional track.Train stations in Madrid
Madrid has two main rail stations: Atocha and Chamartin. Which one matters depends on where you are coming from and where you are going.Atocha station guide
Madrid Puerta de Atocha is the arrival point for most trains from Barcelona, Valencia, and southern Spain. It sits in the centre of the city and connects directly to the Metro (Line 1, Atocha Renfe stop). The station has three sections: the main high-speed terminal, a Cercanias suburban rail hall, and the Metro entrance. All passengers go through a brief X-ray security check before reaching the platform. It takes a few minutes, but give yourself at least 30 minutes before departure. The original 19th-century trainshed now houses a tropical garden, which is an unusual and genuinely pleasant thing to find inside a busy railway station.| Service Type | Destinations |
|---|---|
| AVE High-Speed | Southern Spain, Barcelona, Valencia |
| Cercanias | Greater Madrid and short-hop suburban routes |
Chamartin station guide
Madrid Chamartin-Clara Campoamor (renamed in 2020 to honour the Spanish suffragist Clara Campoamor) handles trains from northern Spain, including Galicia, Asturias, Cantabria, Salamanca, and the Basque Country. Most Alvia services also terminate here. The station has Metro connections on lines 1 and 10 and the MEEU commercial centre with shops, restaurants and other facilities.Station transfer options
If you arrive at one station and need to reach the other, two options cover the journey.| Transfer Method | Duration | Frequency | Cost |
|---|---|---|---|
| Cercanias Train | 10 to 15 mins | Every 3 to 9 mins | Around EUR 2 (free with long-distance Renfe or Iryo ticket under Cercanias Combinado) |
| Metro (Lines 1 and 9) | Around 30 mins | Every 4 to 6 mins | Variable |
Luggage and storage options
Luggage allowances vary by operator, so check before you book if you are travelling with a large bag.- Renfe AVE: No luggage surcharge. You can bring one piece of hand luggage and one larger bag, with overhead racks and end-of-carriage storage available.
- Iryo: Inicial class includes one small bag and one cabin-size bag. Higher classes allow more.
- Ouigo: Hand luggage only is included in the base fare. A EUR 5 fee applies for a suitcase or backpack. If you are booking Ouigo and travelling with a bag, factor this in from the start.
How to buy train tickets
Ticket booking options
You can book directly with each operator or use a multi-operator platform. The Renfe website (renfe.com) covers the full range of AVE fares and lets you choose your seat, but it sometimes declines non-Spanish payment cards. For Ouigo, book at ouigo.com; for Iryo, at iryo.eu. Trainline.com and Omio search across all three operators in one place, accept international cards, and are often the easiest option for travellers from outside Spain.| Booking Platform | Best For | Key Features |
|---|---|---|
| Renfe Official Site | Renfe AVE direct bookings | Full seat-map selection; Spanish domestic routes |
| Ouigo.com | Low-cost high-speed | Cheapest Barcelona to Madrid fares; add luggage at booking |
| Iryo.eu | Full-service alternative to AVE | Infinita Bistro class; 5G WiFi |
| Trainline / Omio | Multi-operator comparison | All three operators in one search; accepts international cards |
Money-saving tips
Booking early is the most reliable way to get a low fare. High-speed tickets use dynamic pricing, so the cheapest seats go first. Renfe AVE standard class starts from around EUR 17 for early bookings; Ouigo starts from EUR 9 on the Barcelona to Madrid corridor. Leave it close to departure and fares can be many times higher, especially for flexible tickets.- Book at least 30 days ahead for the lowest AVE fares
- Mid-week travel is generally cheaper than Friday or Sunday
- Compare all three operators on Trainline or Omio before buying
- Frequent Spain travellers should look at Renfe’s Tarjeta+Renfe loyalty fares
Rail pass guide
Rail passes work well for multiple journeys across Spain or Europe. All Spanish high-speed trains require a seat reservation on top of the pass; the fee is currently around EUR 10 per journey on Renfe AVE. Since April 2025, Interrail and Eurail passes are also accepted on Iryo trains, with a reservation fee required. Neither pass is valid on Ouigo.| Pass Type | Starting From | Coverage |
|---|---|---|
| Interrail Global Pass (EU residents) | From around EUR 185 (Youth) | 33 countries; valid on Renfe AVE and Iryo (reservation required) |
| Eurail Pass (Non-EU residents) | From around EUR 229 (Adult) | 33 countries; valid on Renfe AVE and Iryo (reservation required) |
Madrid travel guide
Madrid is compact enough that most of what you want to see is reachable on foot or by Metro from Atocha or Chamartin. The historic centre, the main museums, and the best neighbourhoods for eating and nightlife are all within a short Metro ride of both stations.Using Madrid public transport
The Metro has 12 lines and around 302 stations, running from 6:00 to 01:30 daily, with extended hours on weekends and public holidays. For most visitors, the Madrid Tourist Travel Pass (Zone A) is the easiest option: unlimited Metro and bus travel for a fixed price.| Pass Duration | Zone A Price |
|---|---|
| 1 day | Around EUR 8.40 |
| 3 days | Around EUR 18.40 |
| 5 days | Around EUR 26.80 |
| 7 days | Around EUR 35.40 |
Hotels near train stations
Staying near Atocha puts you within walking distance of the Prado, Reina Sofia, and Thyssen-Bornemisza museums, and gives you straightforward Metro access to the rest of the city.| Hotel Name | Distance from Station | Key Features |
|---|---|---|
| NH Madrid Atocha | 0.2 miles from Atocha | Close to Art Triangle; stylish rooms |
| NH Madrid Nacional | 0.4 miles from Atocha | Modern amenities; Botanical Garden views |
| Madrid Chamartin Affiliated by Melia | 0.1 miles from Chamartin | Buffet breakfast; spacious rooms |
Must-see places by train
Madrid’s rail connections make it a good base for the wider region. In the city, the Royal Palace is a short Metro ride from Atocha (Opera stop), and the Prado is steps from the station. La Latina and Lavapies are the neighbourhoods with the best tapas and street food; Malasana and Chueca for nightlife; Salamanca district for upmarket shopping. El Rastro flea market runs on Sunday mornings. For day trips, Toledo is the most popular: around 30 minutes from Madrid Atocha-Almudena Grandes station by AVE Avant, with hourly departures and fares from around EUR 10. Segovia, with its Roman aqueduct, is around 30 minutes from Chamartin by high-speed Avant. Avila is around 1h20 to 1h40 by regional train.Final tips for train travel to Madrid
A few things that catch travellers out:- Security check: Every Spanish high-speed station has a brief X-ray and ticket check before the departure area. It only takes a few minutes, but you need to allow for it. Be at the station at least 30 minutes before departure.
- Ouigo luggage: If you are booking Ouigo for the low fare, add EUR 5 for any suitcase or backpack. A EUR 9 ticket with a bag costs EUR 14: still competitive, but not the same headline price.
- Seat reservations are compulsory: Every Spanish high-speed ticket includes a seat reservation. Rail pass holders need to add one separately; book it early as peak-period availability can be limited.
- Cercanias Combinado is free: A Renfe AVE or Iryo long-distance ticket gives you free Cercanias travel at both ends of your journey, including between Atocha and Chamartin. You do not need a separate ticket.
- Card payments: Renfe’s website sometimes declines non-Spanish cards. If that happens, Trainline or Omio will usually complete the booking without problems.
- On board: All trains to Madrid have toilets, USB charging points, and overhead luggage racks. Many also have power sockets at seats. Renfe offers wheelchair spaces and assistance services; book these in advance through Renfe’s accessibility team.
Frequently asked questions
How fast are trains from Barcelona to Madrid, and which operators run the route?
The fastest non-stop services on the Barcelona to Madrid route take 2h30, with most trains running 2h30 to 2h45. Three operators compete on the corridor: Renfe AVE (20 or more daily departures, from around EUR 17 in standard class with early booking), Iryo (around 5 departures, from around EUR 25), and Ouigo (around 5 departures, from EUR 9, though a EUR 5 surcharge applies for a suitcase or backpack). Trains run at up to 310 km/h and depart from Barcelona Sants.
What are Madrid's two main train stations and which routes does each serve?
Most long-distance trains, including services from Barcelona, Valencia, and southern Spain, arrive at Madrid Puerta de Atocha, which is centrally located and directly connected to Metro Line 1. Madrid Chamartin-Clara Campoamor handles trains from northern Spain, including Galicia, Asturias, Cantabria, Salamanca, and the Basque Country. Always check your booking: some services from Barcelona or Seville call at both stations; others terminate at only one.
How do I get between Atocha and Chamartin stations?
The Cercanias suburban train is the fastest option: the journey takes 10 to 15 minutes and trains run every 3 to 9 minutes. The fare is around EUR 2, but if you hold a Renfe AVE or Iryo long-distance ticket the journey is free under the Cercanias Combinado scheme (valid within 4 hours of arrival or up to 3 hours before departure). The Metro takes around 30 minutes via lines 1 and 9.
Can I use an Interrail or Eurail pass on trains to Madrid?
Yes. Interrail and Eurail passes are valid on Renfe AVE and, since April 2025, also on Iryo. A separate seat reservation is required on both, currently around EUR 10 per journey on Renfe AVE. Passes are not valid on Ouigo. Youth Interrail Global Passes start from around EUR 185; adult Eurail Global Passes from around EUR 229. Check current prices at interrail.eu or eurail.com before buying.
What is the cheapest way to get a train ticket to Madrid?
Ouigo offers the lowest headline fares on the Barcelona to Madrid corridor, starting from EUR 9, but the base fare only covers hand luggage. Add EUR 5 if you are travelling with a suitcase or backpack. Renfe AVE standard class starts from around EUR 17 with early booking. Book at least 30 days ahead for the lowest prices on either operator. For a direct comparison across all three operators (Renfe, Iryo, and Ouigo), use Trainline or Omio, which also accept international payment cards.