Lisbon to Madrid by train Lisbon to Madrid by train

Lisbon to Madrid by train

No direct train connects Lisbon and Madrid. The route requires three trains and two separate bookings via Badajoz and Entroncamento, operated by Renfe and CP. Total journey time is around 10 to 11.5 hours.

Train service

Train tickets

There is no direct train between Lisbon and Madrid. The journey requires three trains and two separate bookings. You travel via Badajoz, where the Spanish and Portuguese rail networks meet, and the full trip takes around 10 to 11.5 hours depending on your connections. That is a long day. Plan the segments before you go.

Both Portugal and Spain use EUR, so all fares are in the same currency throughout.

How the journey works

The route runs in three segments:

  1. Lisbon Oriente to Entroncamento – CP Intercity (IC) or Alfa Pendular. Around 1 hour.
  2. Entroncamento to Badajoz – CP Regional train. Around 1 hour 46 minutes. No seat reservation required.
  3. Badajoz to Madrid Puerta de Atocha-Almudena – Renfe Alvia or Media Distancia (MD). Around 4 hours 10 minutes to 5 hours 10 minutes depending on the service.

In the Madrid-to-Lisbon direction, the segments reverse: Madrid Puerta de Atocha-Almudena, then Badajoz, then Entroncamento, then Lisbon Oriente (or Santa Apolonia).

Badajoz is where you change from the CP network to Renfe, or the other way around. Check your exact connection time when booking. If your Renfe train is delayed and you miss the CP regional service, you will need to buy a new ticket for the next available departure.

Two separate bookings

There is no single booking channel for the whole journey. Buy the Renfe segment (Badajoz to Madrid) at renfe.com. Buy the CP segments (Lisbon to Badajoz) at cp.pt. That is two separate transactions on two different platforms. Third-party resellers such as Trainline or Omio may offer both legs in one transaction, but each segment still operates under its own operator’s change and refund rules.

Book both segments before you travel. The regional Badajoz to Entroncamento service is rarely full, but the Renfe Alvia from Badajoz to Madrid fills up. Book it early, especially around public holidays or in summer.

Journey times and timetable

The full journey takes approximately 10 to 11.5 hours with transfers. Treat that as a planning range. Your actual time depends on the departure you choose and how your connections line up at Badajoz and Entroncamento.

Departures from Lisbon are limited. Check the CP timetable for current options from Lisbon Oriente or Santa Apolonia.

There is no overnight train on this route. The Trenhotel Lusitania, which ran overnight between Lisbon and Madrid, was discontinued in March 2020 and has not been reinstated. All current services are daytime only.

Segment journey times

SegmentTrain typeJourney time
Lisbon Oriente to EntroncamentoCP Intercity or Alfa PendularAround 1 hour
Entroncamento to BadajozCP RegionalAround 1h 46m
Badajoz to Madrid Puerta de AtochaRenfe Alvia or MD4h 10m to 5h 10m

Tickets and fares

Booking the Renfe segment (Badajoz to Madrid)

Renfe sells tickets in three fare categories:

Fare typeSeat choiceChangesCancellation
BasicStandardPaid changeNo refund
Choose StandardStandardFirst change freePartial refund, fee applies
PremiumXL ComfortFlexible changesUp to 100% refund

Fares vary by departure, class, and how far in advance you book. Book at renfe.com to see current EUR prices. Advance fares are substantially cheaper than last-minute fares.

Booking the CP segments (Lisbon to Badajoz)

CP sells tickets at cp.pt. Promo fares offer significant discounts and are available up to 60 days before travel. Booking at least a week ahead typically gets you a better price. The Entroncamento to Badajoz regional leg is inexpensive and does not require a seat reservation.

CP adjusts its fares annually. Check cp.pt for current prices.

Ticket conditions

All tickets on both operators can be cancelled within 2 hours of purchase. After that, conditions depend on the fare type. Promo fares on both CP and Renfe are typically non-refundable.

CP refund conditions (where applicable):

  • Flexible (normal) fare: refundable up to at least 15 minutes before departure; a fee may apply for ticket-office refunds
  • Round trip: 40% fee
  • Promo/discount tickets: non-refundable

Refunds for bank card payments are returned to the original card.

Which stations to use

In Lisbon: Most CP long-distance services depart from Lisbon Oriente, which has a metro connection and is the easier station for most travellers. Some services also use Lisbon Santa Apolonia. Check your ticket for the exact departure station before you travel.

In Madrid: Renfe services from Badajoz arrive at Madrid Puerta de Atocha-Almudena. The station was officially renamed from Atocha in 2022, and you may still see the old name in some places. It connects to Metro line 1.

Train companies and services

Renfe (Spanish leg)

Renfe operates the Badajoz to Madrid segment. Two service types run on this corridor:

  • Alvia: The better option if you want comfort. Air-conditioned, with power outlets, a cafe-bar, and free WiFi on some trains. A quiet zone is available. Seat reservation is required.
  • Media Distancia (MD): A regional service. Less comfortable than Alvia but air-conditioned. Reservation required.

Choose the Alvia where your timetable allows it. The journey from Badajoz to Madrid takes nearly five hours; the extra comfort is worth it.

Small pets in carriers travel free on Renfe. Larger dogs must be muzzled and leashed and need a paid ticket. Each passenger can bring one item of hand luggage and up to three additional bags. Electric scooters are not permitted.

Iryo, the newer Spanish high-speed operator, does not serve the Badajoz corridor. Renfe is the only option for the Spanish segment.

CP (Comboios de Portugal) – Portuguese leg

CP operates both Portuguese segments:

  • Alfa Pendular (AP): CP’s premium tilting train. Used on some Lisbon to Entroncamento departures. First and second class, with a cafe-bar.
  • Intercity (IC): The standard long-distance service on this corridor. First and second class, cafe-bar on most trains.
  • Regional: The service for the Entroncamento to Badajoz segment. Basic and air-conditioned. No seat reservation required.

Rail passes

Interrail and Eurail passes are valid on both Renfe and CP services. The pass covers the right to travel; reservations are still required on most trains on this route and must be bought separately.

SegmentReservation needed with a pass?
Lisbon to Entroncamento (IC/AP)Yes, required for IC and Alfa Pendular
Entroncamento to Badajoz (Regional)No
Badajoz to Madrid (Renfe Alvia/MD)Yes, required

Book your Renfe reservation at renfe.com and your CP reservation at cp.pt or at a CP station. The two systems are entirely separate; you cannot buy a CP reservation through Renfe, or vice versa.

Pass-holder reservation fees vary. Check each operator’s website for current amounts before you travel.

Getting there by other means

The train is not always the fastest option on this route. A comparison:

  • By train: 10 to 11.5 hours, three trains, two bookings, changes required at Badajoz and Entroncamento.
  • By bus: Around 7 to 8 hours with operators such as Flixbus or Alsa. Usually cheaper than the train, and a single booking.
  • By flight: Around 1.5 hours in the air. Add 2 or more hours each end for airports and transfers. TAP Air Portugal, Iberia, and Vueling operate this route. Fastest door-to-door if the timing works.
  • By car: Around 6 to 7 hours via the A6 and IP7 motorways.

If your main goal is to get between the cities, the bus or a flight is faster. The train suits travellers who want the journey itself, or who are continuing by rail across Europe.

Time zone

Spain and Portugal are on the same time zone in summer, both UTC+1. In winter, roughly from late October to late March, Portugal moves to UTC+0 while Spain stays on UTC+1. The one-hour difference only applies in winter. Plan connections accordingly if you are travelling between October and March, particularly if you need onward transport on arrival.

Practical tips

  • Book both segments before you travel. The Badajoz to Entroncamento regional train is rarely a problem, but the Renfe Alvia from Badajoz fills up.
  • Give yourself a generous connection time at Badajoz. If a Renfe delay causes you to miss your CP train, you will need to buy a new ticket. The two operators are independent; Renfe’s delay is not CP’s problem.
  • Check the exact departure station in Lisbon. Some CP services start at Santa Apolonia; others at Oriente. They are not interchangeable.
  • The Badajoz to Madrid leg is the longest single train on this journey, at nearly five hours. If you value comfort, choose the Alvia over the Media Distancia.

Frequently asked questions

Is there a direct train between Lisbon and Madrid?

No. There is no direct train between Lisbon and Madrid. The journey requires three trains and two separate bookings, travelling via Badajoz and Entroncamento. You need to book the Spanish segment with Renfe at renfe.com and the Portuguese segments with CP at cp.pt.

How long does the Lisbon to Madrid train journey take?

The full journey takes around 10 to 11.5 hours with transfers. The route involves three trains: a CP service from Lisbon to Entroncamento (around 1 hour), a CP Regional from Entroncamento to Badajoz (around 1 hour 46 minutes), and a Renfe Alvia or Media Distancia from Badajoz to Madrid (around 4 to 5 hours). Actual times depend on your specific departure and connection times.

How much does the Lisbon to Madrid train cost?

Fares vary depending on which operator, fare type, and how far in advance you book. Book the Renfe segment at renfe.com and the CP segments at cp.pt for current EUR prices. Advance fares are substantially cheaper than last-minute fares. CP Promo tickets offer significant discounts when booked up to 60 days before travel.

Is there an overnight train between Lisbon and Madrid?

No. The former Trenhotel Lusitania overnight service was discontinued in March 2020 and has not been reinstated. Only daytime trains are available on this route.

Can I use an Interrail or Eurail pass on the Lisbon to Madrid route?

Yes, both Interrail and Eurail passes are valid on Renfe and CP services along this route. However, seat reservations are still required on most trains and must be bought separately. The Badajoz to Madrid Renfe segment and the Lisbon to Entroncamento IC or Alfa Pendular require reservations. The Entroncamento to Badajoz CP Regional does not. Book Renfe reservations at renfe.com and CP reservations at cp.pt or at a CP station.