Lisbon to Madrid by train Lisbon to Madrid by train

Trains to Madrid

High-speed trains to Madrid reach 310 km/h. Barcelona to Madrid takes 2h30 to 2h45, with three operators competing: Renfe AVE, Iryo, and Ouigo from EUR 9. Atocha station for most arrivals.

Train service

Renfe

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

Train tickets

Madrid has one of the most useful rail networks in Europe, and for most journeys the train is the obvious choice. Renfe runs the backbone of the system, but three operators now compete on the Barcelona corridor, and regional Avant and Alvia services reach dozens of Spanish cities beyond the high-speed lines. Whether you are coming from Barcelona in under three hours, making a day trip to Toledo in 30 minutes, or taking the longer haul from Paris via Barcelona, the key facts are below.
  • 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.
RouteTravel TimeStarting Fare
Madrid to Barcelona2h30 to 2h45From EUR 9 (Ouigo) / EUR 17 (Renfe AVE)
Madrid to SevilleAround 2h30From around EUR 25
Madrid to ValenciaAround 1h50From EUR 13 (Ouigo)
Paris to MadridAround 9 to 10h (with connection)Fares vary; compare at Trainline.com
Ticket tips: Book early for the lowest fares. Seat reservations are compulsory on all high-speed trains and are included in the ticket price. Rail pass holders pay a separate reservation fee, currently around EUR 10 per journey on Renfe AVE. In busy periods, reservation availability can be tight, so book as soon as you know your dates.

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.
OperatorDaily FrequencyFare FloorLuggage PolicyService Level
Renfe AVE20 or more departuresFrom around EUR 17 (standard, early booking)Flexible; no surcharge for bagsStandard and Comfort seating; cafe-bar on board; lounge access with Premium fare
IryoAround 5 departuresFrom around EUR 25 (Inicial class)1 small bag plus 1 cabin bag in Inicial; more in higher classesInfinita Bistro class includes at-seat meal; 5G WiFi on board
OuigoAround 5 departuresFrom EUR 9EUR 5 surcharge for suitcase or backpackLow-cost; cafe-bar; no pass validity
Avlo, Renfe’s low-cost brand, has also operated on this corridor, though its services on the route have changed over time; check current availability when booking.

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 TypeDestinations
AVE High-SpeedSouthern Spain, Barcelona, Valencia
CercaniasGreater Madrid and short-hop suburban routes
If you have a Renfe AVE or Iryo long-distance ticket, the Cercanias Combinado scheme gives you a free Cercanias connection at both ends of your journey, including between Atocha and Chamartin. The free journey is available within 4 hours of arriving or up to 3 hours before your departure. Atocha also has luggage lockers and a staffed left-luggage office if you want to drop your bags before checking in.

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 MethodDurationFrequencyCost
Cercanias Train10 to 15 minsEvery 3 to 9 minsAround EUR 2 (free with long-distance Renfe or Iryo ticket under Cercanias Combinado)
Metro (Lines 1 and 9)Around 30 minsEvery 4 to 6 minsVariable
The Cercanias is faster. If you have a Renfe AVE or Iryo ticket, it is also free under the Cercanias Combinado scheme.

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.
Atocha has secure luggage lockers and a staffed left-luggage office, useful if you arrive before your hotel check-in or have a late departure. Small pets in approved carriers are allowed on Renfe trains; Ouigo also accepts small pets for a fee. Children under 4 travel free on all Spanish high-speed trains but need a zero-cost ticket booked in their name.

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 PlatformBest ForKey Features
Renfe Official SiteRenfe AVE direct bookingsFull seat-map selection; Spanish domestic routes
Ouigo.comLow-cost high-speedCheapest Barcelona to Madrid fares; add luggage at booking
Iryo.euFull-service alternative to AVEInfinita Bistro class; 5G WiFi
Trainline / OmioMulti-operator comparisonAll 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 TypeStarting FromCoverage
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)
Pass prices change with travel days and season. Check current prices at interrail.eu or eurail.com before buying.

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 DurationZone A Price
1 dayAround EUR 8.40
3 daysAround EUR 18.40
5 daysAround EUR 26.80
7 daysAround EUR 35.40
Check current prices at crtm.es before buying. If you prefer pay-as-you-go, the Multi Card covers single and 10-trip tickets on both Metro and buses. A single Zone A journey costs around EUR 1.50 to EUR 2.00; a 10-trip Multi-Card is around EUR 12 to EUR 13.

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 NameDistance from StationKey Features
NH Madrid Atocha0.2 miles from AtochaClose to Art Triangle; stylish rooms
NH Madrid Nacional0.4 miles from AtochaModern amenities; Botanical Garden views
Madrid Chamartin Affiliated by Melia0.1 miles from ChamartinBuffet 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.