There are 6 ways to get from Portbou to Madrid by train (Renfe, Ouigo), train, bus, car, plane, or train (Renfe)
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Train via Barcelona
best- Take the train from Portbou to Barcelona Santstrain R11
- Take the train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandestrain Ave
5h 51m€63–191Train, bus via Cerbere
- Take the train from Cerbere to Perpignantrain Ter
- Take the bus from Perpignan - Bus Station to Estación Sur de Autobusesbus BlaBlaCar Bus
12h 5m€68–117Drive 724.9 km
- Drive from Portbou to Madridcar 724.9 km
7h 38m€119–172Train, fly
- Take the train from Portbou to Barcelona-Passeig de Gràciatrain
- Fly from Barcelona–El Prat Airport (BCN) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane BCN - MAD
5h 47m€65–196Train
- Take the train from Portbou to Gironatrain R11
- Take the train from Girona to Madrid-Puerta de Atocha-Almudena Grandestrain Ave
6h 11m€90–186Train, bus
- Take the train from Port-Bou to Perpignantrain Ter
- Take the bus from PERPIGNAN, Gare Routiere, Bd Saint-Assiscle, k/SNCF to Estación Sur de Autobusesbus
14h 32m€83–135
Portbou to Madrid by train
Comparing Your Travel Options
The cheapest way to get from Portbou to Madrid is to train and bus via Cerbere which costs €65 - €120 and takes 12h 5m.
The fastest way to get from Portbou to Madrid is to train and fly which takes 5h 47m and costs €65 - €200.
No, there is no direct train from Portbou to Madrid. However, there are services departing from Portbou and arriving at Madrid-Puerta de Atocha-Almudena Grandes via Barcelona-Sants. The journey, including transfers, takes approximately 5h 51m.
The distance between Portbou and Madrid is 774 km. The road distance is 724.9 km.
The best way to get from Portbou to Madrid without a car is to train via Barcelona which takes 5h 51m and costs €60 - €200.
It takes approximately 5h 51m to get from Portbou to Madrid, including transfers.
Portbou to Madrid train services, operated by Rodalies de Catalunya, depart from Portbou station.
Portbou to Madrid train services, operated by Rodalies de Catalunya, arrive at Barcelona Sants station.
Yes, the driving distance between Portbou to Madrid is 725 km. It takes approximately 7h 38m to drive from Portbou to Madrid.
Book your Portbou to Madrid train tickets online with Omio.
What companies run services between Portbou, Spain and Madrid, Spain?
You can take a train from Portbou to Madrid-Puerta de Atocha-Almudena Grandes via Barcelona-Sants in around 5h 51m.
- Website
- iberia.com
Flights from Barcelona–El Prat Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 25m
- When
- Every day
- Estimated price
- €35–160
- Website
- vueling.com
Flights from Barcelona–El Prat Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 25m
- When
- Every day
- Estimated price
- €35–160
- Website
- aireuropa.com
Flights from Barcelona–El Prat Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 30m
- When
- Every day
- Estimated price
- €50–140
- Website
- singaporeair.com
Flights from Barcelona–El Prat Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 10m
- When
- Monday, Tuesday, Thursday, Friday, and Saturday
- Estimated price
- €70–120
- Phone
- +34 900 41 00 41
- Website
- Rodalies de Catalunya
Train from Portbou to Barcelona Sants
- Ave. Duration
- 2h 35m
- Frequency
- Every 2 hours
- Estimated price
- €18–45
- Website
- Rodalies de Catalunya
- Website
- Rodalies de Catalunya
Train from Portbou to Barcelona-Passeig de Gràcia
- Ave. Duration
- 2h 29m
- Frequency
- Every 2 hours
- Estimated price
- €18–45
- Website
- Rodalies de Catalunya
- Website
- Rodalies de Catalunya
Train from Portbou to Girona
- Ave. Duration
- 1h 3m
- Frequency
- Every 2 hours
- Estimated price
- €7–17
- Website
- Rodalies de Catalunya
- Website
- Rodalies de Catalunya
- Phone
- +34 91 232 03 20
- Website
- Renfe AVE
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 2m
- Frequency
- Hourly
- Estimated price
- €85–150
- Website
- Renfe AVE
Train from Girona to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 4h 8m
- Frequency
- 4 times a day
- Estimated price
- €100–170
- Website
- Renfe AVE
- Phone
- +34 900 926 851
- [email protected]
- Website
- Iryo
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 23m
- Frequency
- Hourly
- Estimated price
- €55–100
- Website
- Iryo
- Phone
- +34 900 759 781
- Website
- Ouigo
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 32m
- Frequency
- Every 4 hours
- Estimated price
- €45–80
- Website
- Ouigo
- Phone
- +34 91 232 03 20
- Website
- Renfe Viajeros
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 28m
- Frequency
- Twice daily
- Estimated price
- €75–110
- Website
- Renfe Viajeros
Train from Portbou to Barcelona-Passeig de Gràcia
- Ave. Duration
- 2h 29m
- Frequency
- Every 3 hours
- Estimated price
- €20–30
- Website
- Renfe Viajeros
Train from Portbou to Girona
- Ave. Duration
- 1h 3m
- Frequency
- Every 3 hours
- Estimated price
- €8–13
- Website
- Renfe Viajeros
Train from Girona to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 4h 25m
- Frequency
- Once daily
- Estimated price
- €85–130
- Website
- Renfe Viajeros
- Phone
- +33 1 84 94 36 35
- Website
- Oui.SNCF
Train from Cerbere to Perpignan
- Ave. Duration
- 41 min
- Frequency
- Every 3 hours
- Estimated price
- €7–13
- Website
- Oui.SNCF
Train from Port-Bou to Perpignan
- Ave. Duration
- 1h 2m
- Frequency
- Every 4 hours
- Estimated price
- €7–13
- Website
- Oui.SNCF
- Phone
- +33 4 13 94 30 50
- Website
- Zou! Lignes Express Régionales
Train from Cerbere to Perpignan
- Ave. Duration
- 40 min
- Frequency
- 4 times a day
- Estimated price
- €10–15
- Website
- Zou! Lignes Express Régionales
Train from Port-Bou to Perpignan
- Ave. Duration
- 1h 1m
- Frequency
- 3 times a day
- Estimated price
- €11–15
- Website
- Zou! Lignes Express Régionales
- Phone
- +34 912 32 03 20
- [email protected]
- Website
- Renfe Cercanias
Train from Portbou to Girona
- Ave. Duration
- 1h 5m
- Frequency
- 3 times a day
- Estimated price
- €5–10
- Website
- Renfe Cercanias
- Phone
- +3 318 576 2228
- Website
- BlaBlaCar Bus
Bus from Perpignan - Bus Station to Estación Sur de Autobuses
- Ave. Duration
- 10h 15m
- Frequency
- Every 4 hours
- Estimated price
- €60–100
- Website
- BlaBlaCar Bus
- Phone
- +34 910 207 007
- Website
- alsa.es
Bus from PERPIGNAN, Gare Routiere, Bd Saint-Assiscle, k/SNCF to Estación Sur de Autobuses
- Ave. Duration
- 12h 30m
- Frequency
- Once daily
- Estimated price
- €75–120
- Schedules at
- alsa.es
Want to know more about travelling around Spain
Rome2Rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.
Related travel guides
Train travel in Spain: A guide to Renfe
Read the travel guide
What are the different types of Renfe trains in Spain?
Read the travel guide
5 delightfully under-the-radar French towns you need to visit
Read the travel guide
Booking & Getting There
There are 7021+ hotels available in Madrid.




























