Madrid to Porto
Quick answer
Compare a nonstop flight to Porto with a direct coach to Campanhã. Choose using the time you need to be in town.
A coach arriving early can suit an onward train. Flying works well for a short stay if the airport Metro still runs when you land.

Compare two very different arrivals
A flight lands at Porto Airport (OPO). From there Metro line E serves the city. A coach booked to Porto TIC–Campanhã leaves you at the intermodal terminal by the mainline railway station. If the next part of your trip is a train, put Campanhã into both comparisons. If you are staying around Trindade, the airport Metro can be a straightforward arrival. Porto Airport transport · Madrid–Porto coach stops
When the overnight coach earns its place
FlixBus lists a fastest journey of about 7 hours 40 minutes, with different Madrid stops depending on the service. Check the street address on your ticket: Madrid South Bus Station and Chamartín are distinct departure points. If you will arrive before breakfast, check the first onward service and when your accommodation can accept luggage. Porto is one hour behind Madrid. FlixBus journey and stops

How to get from Madrid to Porto by train
For an all-rail route, take a Renfe train from Madrid to Badajoz, CP’s Raiano across the border to Entroncamento, then a northbound train to Porto Campanhã. The Porto connection runs through Coimbra-B. CP Raiano route and connections · Guide to the Madrid–Badajoz border connection
Check the Raiano departure first. CP’s online table gives westbound departures from Badajoz in Portuguese time, one hour behind the clock at the Spanish station. Match the Madrid arrival and the Porto train on your travel date before buying. If either connection falls outside that day’s timetable, price an overnight stop alongside the direct coach. CP border timetable (PDF)
If you already have a flight into Madrid
Compare a through booking to Porto against collecting bags and starting a new journey from a Madrid coach terminal. For separate flights, price the baggage on both tickets and check which Madrid terminal the second flight uses. A low fare with a short connection can be a poor fit if bags must be checked again. Madrid–Porto flight search · Madrid Airport terminals and trains
Porto to Madrid
For the coach, check whether your ticket says TIC–Campanhã or another stop. For the airport, check Metro line E from your starting point. Madrid is one hour ahead: use the Spanish arrival time for a meeting or a connecting train and check the actual Madrid arrival address. Porto–Madrid coach · Porto Airport Metro