Summer in Spain? Take a Renfe train! Find all their trains and fares right here…Book now

ReferralsBusiness

No tickets in your cart.

Why not plan a trip?

My Bookings
Loading...
Loading...

TrainlineTrainline is Europe’s Nº 1 destination for train and bus tickets*

Official distributor

  • eurostar
  • sncf
  • trenitalia
  • db
  • flixtrain
  • italo
  • ouigo
  • renfe
  • westbahn
Support image
TrainlineTrainline

Search. Book. Travel.

Say hello to Your Account

All your tickets and travel info, all in one place. Easy as that.

ChatChat

Got a question? Our support team are on hand 24/7.

Companion image
TrainlineTrainline

Search. Book. Travel.

No more fumbling in your pockets

Digital tickets live neatly in our app, so you can just tap, scan and go.

ETicketETicket

All your tickets, all in the palm of your hand.

Calendar week image
TrainlineTrainline

Search. Book. Travel.

Looking for a cheap price?

Look no further. Compare tickets easily with our price calendar.

CalendarCalendar

We’ll find you the cheapest day to travel.

Support image
TrainlineTrainline

Search. Book. Travel.

Say hello to Your Account

All your tickets and travel info, all in one place. Easy as that.

ChatChat

Got a question? Our support team are on hand 24/7.

Companion image
TrainlineTrainline

Search. Book. Travel.

No more fumbling in your pockets

Digital tickets live neatly in our app, so you can just tap, scan and go.

ETicketETicket

All your tickets, all in the palm of your hand.

Calendar week image
TrainlineTrainline

Search. Book. Travel.

Looking for a cheap price?

Look no further. Compare tickets easily with our price calendar.

CalendarCalendar

We’ll find you the cheapest day to travel.

Support image
TrainlineTrainline

Search. Book. Travel.

Say hello to Your Account

All your tickets and travel info, all in one place. Easy as that.

ChatChat

Got a question? Our support team are on hand 24/7.

Companion image
TrainlineTrainline

Search. Book. Travel.

No more fumbling in your pockets

Digital tickets live neatly in our app, so you can just tap, scan and go.

ETicketETicket

All your tickets, all in the palm of your hand.

Calendar week image
TrainlineTrainline

Search. Book. Travel.

Looking for a cheap price?

Look no further. Compare tickets easily with our price calendar.

CalendarCalendar

We’ll find you the cheapest day to travel.

What customers say about Trainline

Read real reviews from real users

How to travel from Porto to Madrid by train

Want to find out more about taking the train from Porto to Madrid? Look no further.

You'll usually find 2 trains per day running between Porto and Madrid, which usually take 13 hours 22 minutes to complete the 421 km journey. It can take as little as 8 hours 37 minutes on the fastest services though, if you want to get there as quickly as possible. Although there aren't any direct services on this line, it's still easy to travel to Madrid from Porto, you'll just need to make 3 changes along the way.

You can save money on train tickets from Porto to Madrid if you book in advance, as tickets usually start from $131.30. Use our Journey Planner at the top of the page to compare ticket prices and get the cheapest fares.

Want to book your train tickets now? Just start a search with us today. If you want to find out more about the journey, read on for train schedules (including first and last train times), FAQs and tips on how to book cheap train tickets.

Porto to Madrid by train

It takes an average of 13h 22m to travel from Porto to Madrid by train, over a distance of around 262 miles (421 km). There are normally 2 trains per day traveling from Porto to Madrid and tickets for this journey start from $131.30 when you book in advance.

First train

8:00 am

Last train

7:00 pm

Departure station

Porto

Arrival station

Madrid

Journey time

From 8h 37m

Distance

262 miles (421 km)

Frequency

2 trains per day

Changes

3 changes

Price

From $131.30

Train and bus operators

BlaBlaCar Bus, Gipsyy, Flixbus, Rede Expressos

FAQs about the train journey from Porto to Madrid

Want to know more about your journey from Porto to Madrid? We've compiled some of the most frequently asked questions by our customers to help you plan your journey.

How do you get to Madrid from Porto?

To travel to Madrid from Porto, you can take the train - on average, the journey takes around 13 hours and 22 minutes, though the fastest trains can take 8 hours and 37 minutes. Use our Journey Planner to get more information on routes and timetables.

How long is the train ride from Porto to Madrid?

Trains from Porto to Madrid take an average of 13 hours and 22 minutes, although on the fastest services it can take just 8 hours and 37 minutes. You'll usually find 2 trains per day on this route, so use our Journey Planner to check specific dates as times may vary.

How much is the train to Madrid from Porto?

Train tickets to Madrid from Porto can start from $131.30 when booked in advance, but they’re usually more expensive if bought on the day of travel. Prices may also vary depending on the time of day, route, and class you choose.

What is the quickest journey time between Porto and Madrid by train?

The quickest journey time between Porto and Madrid by train is 8 hours and 37 minutes.

Porto to Madrid train times

Check out the next trains departing from Porto to Madrid for Wednesday Jul 30th 2025. For the full train timetable/schedule, or to search for a later time or date, click here.
DepartsArrivesDuration
7:00 pmPorto Sao Bento2:08 pmMadrid-Chamartín-Clara Campoamor18h 8m, 3 changes
8:00 amPorto Sao Bento5:37 pmMadrid-Chamartín-Clara Campoamor8h 37m, 3 changes

Cheap train tickets from Porto to Madrid

The price of train tickets from Porto to Madrid starts at $131.30 one-way for a Standard Class ticket if you book in advance. Booking on the day is usually more expensive and costs can vary depending on the time of day, route or class.

Book in advance

Most of the train companies across Europe release their tickets around three to six months in advance, many of which can be cheaper the earlier you book. If you know the dates you want to travel, you may be able to find some cheaper train tickets from Porto to Madrid by booking early.§

Be flexible with your travel times

Many of the train services in Europe are also popular commuter services, lots of train companies increase ticket prices during “peak hours” (generally between 06:00 – 10:00 and 15:00 – 19:00 on weekdays). If you can, consider travelling outside of peak hours to find lower priced tickets.

Choose a slower or connecting train

On some of the busier routes, you might also have the option to take a slower or connecting train. It may take a little longer than some high-speed or direct services, but if you have a little extra time on your hands, you might find a cheaper fare. Plus, you'll have more time to enjoy the view of the countryside!

Look out for special deals

Take a look at our handy guides to find out when train operators release their special deals and offers to see if you can find cheap European train tickets for your journey.

For specific information about how to get your hands on cheap tickets, check out our European train tickets hub.

§Some train companies may not offer any Advance ticket types or cheaper deals for early bookings. On rare occasions, train companies may choose to release special offers closer to the date on last-minute or late-release tickets. This is dependent on the individual train operating company you travel with.

* Based on European average monthly visitors to Trainline’s app and website from 1.1.2023 to 10.31.2023 vs other independent retailers.

Europe’s leading train and coach app

We help customers across Europe make more than 172,000 smarter journeys every day.