Colourful buildings along the Douro riverbank in Porto
Routes

Porto to Madrid

Northern Portugal into Spain by rail and connection.

By the Viamo editorial team · Editor Terje Moy · Last updated July 2026 · 5 min read

Fastest ~3–4h by flight

At a glance Typical options on this route – details, caveats and booking advice below.
✈️ Flight~1h15 air / ~3–4h doIberia/TAP/Vueling, fastest realistic option
🚌 Bus~8–10hRede Expressos/ALSA, cheapest, overnight available
🚗 Car~5h30–6h600km via Vilar Formoso/Salamanca, scenic Douro route
🚆 TrainDirect high-speed link in development/transition; check current CP/Ren

Planning this trip? Currency converter · Jet-lag calculator · Trip budget · Compare routes

Porto and Madrid are separated by roughly 600 km and an international border, and the journey between them is more of an adventure than a routine hop. The overnight train is atmospheric; the plane is fastest door-to-door; buses are cheap; and the drive is genuinely beautiful in places. Here is how every option compares.

By train: the long-awaited direct service

For years, the lack of a fast direct train between Portugal and Spain was one of the frustrations of Iberian travel. The historic Lusitânia overnight train between Lisbon and Madrid was suspended in 2020, and for a while direct passenger rail across the border effectively stopped.

A new high-speed Iberian link between Lisbon and Madrid (with stops including Porto) has been in development, with significant investment from both governments. As of mid-2026, direct high-speed services between Portugal and Spain are progressively resuming or under active expansion — check current Renfe and CP (Comboios de Portugal) timetables for the most up-to-date situation, as schedules on this corridor are changing.

In the meantime, the practical option by rail is either a train–bus combination (typically Porto to Vigo by CP, then a Renfe regional service or bus onward to Madrid), or waiting for the current high-speed developments to be confirmed for your travel dates. See our guide to travelling Portugal by train and the high-speed rail overview for the broader context.

The fastest option: flying

Flights from Porto Francisco Sá Carneiro Airport to Madrid Barajas (Adolfo Suárez) take approximately 1 hour 15 minutes and are operated by Iberia, TAP Air Portugal, Vueling and occasionally low-cost carriers. Services run several times daily.

Porto airport is well connected to the city centre via Metro Line E (the violet line), reaching Trindade in the heart of Porto in about 35 minutes. Madrid Barajas is served by Metro Line 8 to Nuevos Ministerios (connecting to the city centre) and the Cercanías suburban railway. Airport transfers at both ends add perhaps 40–50 minutes each, putting the realistic door-to-door time at around 3–4 hours — comfortably faster than any ground option.

Budget fares on this route can be very low when booked ahead. Flying is the pragmatic choice when speed or price is the priority.

Long-distance coaches

Several coach operators, including Rede Expressos (Portugal's national coach network) and ALSA on the Spanish side, offer services between Porto and Madrid. Journey times run to approximately 8–10 hours, usually with at least one stop at or near the Portuguese-Spanish border. Overnight services are available and can save on accommodation, making a 9-hour overnight coach from Porto to Madrid a reasonable strategy for budget travellers.

Fares start low and represent the cheapest way to make the journey. The main terminus in Porto is the Campanhã bus station adjacent to the main railway station; in Madrid, coaches typically arrive at Estación Sur de Autobuses in the south of the city.

Driving from Porto to Madrid

The road from Porto to Madrid is roughly 600 km, typically via the A1 south from Porto toward Vilar Formoso, crossing into Spain at the border near Fuentes de Oñoro, then taking the A-62 east to Salamanca and the A-50/A-6 into Madrid. This central route passes through some outstanding scenery: the Douro Valley (if you take the northern route via Régua) is one of Portugal's most dramatic landscapes, and the drive into Salamanca — with its tawny stone university quarter — is a genuine highlight.

Without stops, the drive takes around 5h30–6 hours. Motorway tolls are significant in Portugal on the A1 corridor. Spain has fewer tolls on this particular route. If you plan to stop in Salamanca (a UNESCO World Heritage university city just across the border) or explore the Douro wine country, allow a full day or more — the route becomes an itinerary in its own right.

Hire car cross-border: if using a rental car, always check the hire company's policy on driving into Spain. Most major operators allow it on request (sometimes with a small supplementary fee), but it should be confirmed in advance.

The border crossing

Both Portugal and Spain are in the Schengen Area, so there are no passport controls at the land border and the crossing is seamless for all Schengen-entitled travellers. Non-EU travellers should count time in both countries against the same Schengen allowance — see our guide to the 90/180-day rule for the details.

Which should you choose?

If speed and convenience are the priority, flying wins by a comfortable margin. If you want the journey to be an experience, driving via the Douro and Salamanca is genuinely rewarding. The coach suits budget travellers willing to spend 8–10 hours on the road. For rail, check the current state of the Portugal–Spain high-speed project before booking — the situation is evolving and direct services may be available for your travel dates.

Frequently asked questions

Is there a direct train from Porto to Madrid?

Direct passenger rail between Portugal and Spain has been disrupted in recent years, and the corridor is in a period of transition as new high-speed infrastructure is developed. Check current CP and Renfe timetables for the latest — direct or near-direct services are being introduced progressively.

How long does the coach from Porto to Madrid take?

Direct services typically take 8–10 hours. Overnight departures are available and allow you to travel while you sleep, arriving in Madrid in the morning ready to explore.

How far is it from Porto to Madrid by road?

Approximately 600 km via the most common route through Vilar Formoso and Salamanca. Without stops, driving time is around 5h30–6 hours, not counting border waiting or fuel stops.

Can I hire a car in Porto and drive to Madrid?

Yes, but check the hire company's cross-border policy before booking. Most major operators permit driving into Spain, sometimes with a supplementary fee that must be arranged in advance — never assume it is automatically included.

Sources and further reading: