There are 8 ways to get from Portbou to Madrid by train (Renfe, Ouigo), bus, car, train, 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 Port-Bou to Barcelona-Santstrain Re / ...
- Take the train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandestrain Ave
5h 51m€44–130Bus
- Take the bus from Figueres - Estación de Autobuses to Barcelona, Estació d'Autobusos Nordbus 602
- Take the bus from Barcelona, Estació d'Autobusos Nord to Madrid, Avenida de Américabus Alsa
12h 48m€53–85Drive 724.9 km
- Drive from Portbou to Madridcar 724.9 km
7h 40m€112–162Train, train to Barcelona–El Prat Airport, fly
- Take the train from Portbou to Gironatrain
- Take the train from Girona to Barcelona-Santstrain
- Fly from Barcelona–El Prat Airport (BCN) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane BCN - MAD
5h 46m€63–203Train
- Take the train from Portbou to Gironatrain R11 / ...
- Take the train from Girona to Madrid-Puerta de Atocha-Almudena Grandestrain Ave
6h 11m€45–129Train, bus
- Take the train from Port-Bou to Perpignantrain Ter
- Take the bus from Perpignan - Bus Station to Madrid - Barajas Airport T4bus BlaBlaCar Bus
14h 8m€53–81Train, train to Toulouse-Blagnac Airport, fly
- Take the train from Cerbere to Narbonnetrain
- Take the train from Narbonne to Toulouse Matabiautrain
- Fly from Toulouse-Blagnac Airport (TLS) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane TLS - MAD
8h 5m€79–269Train to Perpignan-Rivesaltes Airport, fly
- Take the train from Cerbere to Perpignantrain
- Fly from Perpignan-Rivesaltes Airport (PGF) to Adolfo Suárez Madrid–Barajas Airport (MAD)plane PGF - MAD
9h 30m€122–440
Portbou to Madrid by train
Questions & Answers
The cheapest way to get from Portbou to Madrid is to bus which costs €50 - €85 and takes 12h 48m.
The fastest way to get from Portbou to Madrid is to train and fly which takes 5h 46m and costs €60 - €210.
No, there is no direct train from Portbou to Madrid. However, there are services departing from Port-Bou 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 773 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 €40 - €130.
It takes approximately 5h 51m to get from Portbou to Madrid, including transfers.
Portbou to Madrid train services, operated by Renfe Viajeros, depart from Port-Bou station.
The best way to get from Portbou to Madrid is to train via Barcelona which takes 5h 51m and costs €40 - €130. Alternatively, you can bus, which costs €50 - €85 and takes 12h 48m.
Portbou to Madrid train services, operated by Renfe Viajeros, arrive at Barcelona-Sants station.
Yes, the driving distance between Portbou to Madrid is 725 km. It takes approximately 7h 40m to drive from Portbou to Madrid.
What companies run services between Portbou, Spain and Madrid, Spain?
You can take a train from Port-Bou to Madrid-Puerta de Atocha-Almudena Grandes via Barcelona-Sants in around 5h 51m. Alternatively, you can take a train from Portbou to Madrid, Avenida de América via Figueres, Figueres - Estación de Autobuses, and Barcelona, Estació d'Autobusos Nord in around 12h 48m.
- 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
- €45–130
Flights from Toulouse-Blagnac Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 25m
- When
- Every day
- Estimated price
- €30–140
Flights from Perpignan-Rivesaltes Airport to Adolfo Suárez Madrid–Barajas Airport via Nantes
- Ave. Duration
- 6h 20m
- When
- Friday
- Estimated price
- €85–350
- 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
- €40–130
Flights from Barcelona–El Prat Airport to Adolfo Suárez Madrid–Barajas Airport via Palma Mallorca
- Ave. Duration
- 3h 20m
- When
- Every day
- Estimated price
- €40–130
- Website
- transavia.com
Flights from Perpignan-Rivesaltes Airport to Adolfo Suárez Madrid–Barajas Airport via Paris Orly
- Ave. Duration
- 5h 36m
- When
- Monday to Friday
- Estimated price
- €100–550
- Website
- ryanair.com
Flights from Perpignan-Rivesaltes Airport to Adolfo Suárez Madrid–Barajas Airport via Charleroi
- Ave. Duration
- 6h
- When
- Sunday
- Estimated price
- €100–290
Flights from Perpignan-Rivesaltes Airport to Adolfo Suárez Madrid–Barajas Airport via Marrakech
- Ave. Duration
- 8h 10m
- When
- Friday
- Estimated price
- €100–290
- Website
- volotea.com
Flights from Toulouse-Blagnac Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 30m
- When
- Friday
- Estimated price
- €30–170
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Port-Bou to Barcelona-Sants
- Ave. Duration
- 2h 35m
- Frequency
- Every 2 hours
- Estimated price
- €15–20
- Website
- https://www.renfe.com/es/en
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 28m
- Frequency
- Twice daily
- Estimated price
- €45–65
- Website
- https://www.renfe.com/es/en
Train from Portbou to Girona
- Ave. Duration
- 1h 3m
- Frequency
- Every 2 hours
- Estimated price
- €7–10
- Website
- https://www.renfe.com/es/en
Train from Girona to Barcelona-Sants
- Ave. Duration
- 41 min
- Frequency
- Hourly
- Estimated price
- €17–55
- Website
- https://www.renfe.com/es/en
Train from Girona to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 4h 24m
- Frequency
- Once daily
- Estimated price
- €50–95
- Website
- https://www.renfe.com/es/en
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 2m
- Frequency
- Hourly
- Estimated price
- €35–110
- Website
- https://www.renfe.com/es/en
Train from Girona to Barcelona-Sants
- Ave. Duration
- 41 min
- Frequency
- 5 times a day
- Estimated price
- €9–45
- Website
- https://www.renfe.com/es/en
Train from Girona to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 4h 8m
- Frequency
- 5 times a day
- Estimated price
- €40–120
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- iryo.eu
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 20m
- Frequency
- Hourly
- Estimated price
- €35–95
- Website
- https://iryo.eu/en/home
- Phone
- +34 910 780 990
- Website
- ouigo.com
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 17m
- Frequency
- Every 4 hours
- Estimated price
- €29–60
- Website
- https://www.ouigo.com/es/en
- Phone
- +34 900 41 00 41
- Website
- rodalies.gencat.cat
Train from Portbou to Girona
- Ave. Duration
- 1h 3m
- Frequency
- Hourly
- Estimated price
- €5–7
- Website
- https://rodalies.gencat.cat/en/inici/index.html
- Phone
- +33 1 84 94 36 35
- Website
- track.effiliation.com
Train from Port-Bou to Perpignan
- Ave. Duration
- 58 min
- Frequency
- Every 4 hours
- Estimated price
- €7–16
- Website
- https://track.effiliation.com/servlet/effi.redir?id_compteur=23007591&url=https%3A%2F%2Fwww.sncf-connect.com%2Fen-en%2F
- 2nd Class
- €7–11
- Rail 1st Class
- €11–16
Train from Cerbere to Narbonne
- Ave. Duration
- 1h 26m
- Frequency
- Every 4 hours
- Estimated price
- €17–40
- Website
- https://track.effiliation.com/servlet/effi.redir?id_compteur=23007591&url=https%3A%2F%2Fwww.sncf-connect.com%2Fen-en%2F
- 2nd Class
- €17–26
- Rail 1st Class
- €27–40
Train from Narbonne to Toulouse Matabiau
- Ave. Duration
- 1h 34m
- Frequency
- Hourly
- Estimated price
- €15–35
- Website
- https://track.effiliation.com/servlet/effi.redir?id_compteur=23007591&url=https%3A%2F%2Fwww.sncf-connect.com%2Fen-en%2F
Train from Cerbere to Perpignan
- Ave. Duration
- 37 min
- Frequency
- Every 3 hours
- Estimated price
- €7–15
- Website
- https://track.effiliation.com/servlet/effi.redir?id_compteur=23007591&url=https%3A%2F%2Fwww.sncf-connect.com%2Fen-en%2F
- 2nd Class
- €7–10
- Rail 1st Class
- €10–15
- Phone
- +33 1 84 94 36 35
- Website
- sncf-connect.com
Train from Narbonne to Toulouse Matabiau
- Ave. Duration
- 1h 12m
- Frequency
- 3 times a day
- Estimated price
- €16–40
- Website
- https://www.sncf-connect.com/en-en
- Phone
- +34 93 593 13 00
- info@sagales.com
- Website
- sagales.com
Bus from Figueres - Estación de Autobuses to Barcelona, Estació d'Autobusos Nord
- Ave. Duration
- 2h 35m
- Frequency
- 3 times a day
- Estimated price
- €25
- Website
- https://www.sagales.com/en
- Book at
- https://www.sagales.com/sale/?sgLang=en
- Phone
- +34 910 207 007
- alsa@alsa.es
- Website
- alsa.com
Bus from Barcelona, Estació d'Autobusos Nord to Madrid, Avenida de América
- Ave. Duration
- 7h 50m
- Frequency
- Every 3 hours
- Estimated price
- €25–55
- Website
- https://www.alsa.com/en/
- Phone
- +3-389-268-0068
- Website
- blablacar.co.uk
Bus from Perpignan - Bus Station to Madrid - Barajas Airport T4
- Ave. Duration
- 11h 15m
- Frequency
- 3 times a day
- Estimated price
- €45–60
- Website
- https://www.blablacar.co.uk/bus
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
More Questions & Answers
There are 6880+ hotels available in Madrid.


































