There are 7 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 SantsR11 / ...
- Take the train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena GrandesAve
5h 26m€46–185Train, bus
cheapest- Take the train from Portbou to Barcelona SantsR11 / ...
- Take the bus from Barcelona, Estació d'Autobusos Nord to Madrid, Avenida de AméricaAlsa
11h 45m€39–88Drive 725 km
- Drive from Portbou to Madrid725 km
7h 40m€113–163Train to Barcelona–El Prat Airport, fly
- Take the train from Portbou to Barcelona Sants
- Fly from Barcelona–El Prat Airport (BCN) to Adolfo Suárez Madrid–Barajas Airport (MAD)BCN - MAD
6h 1m€64–173Train
- Take the train from Portbou to GironaR11 / ...
- Take the train from Girona to Madrid-Puerta de Atocha-Almudena GrandesAve
5h 46m€60–179Bus
- Take the bus from CERBÈRE - Centre-Ville to PERPIGNAN - Gare Routière Bd St Assiscle540
- Take the bus from Perpignan - Bus Station to Madrid - South StationBlaBlaCar Bus
14h 35mTrain, train to Toulouse-Blagnac Airport, fly
- Take the train from Cerbere to Narbonne
- Take the train from Narbonne to Toulouse Matabiau
- Fly from Toulouse-Blagnac Airport (TLS) to Adolfo Suárez Madrid–Barajas Airport (MAD)TLS - MAD
7h 44m€78–254
Portbou to Madrid by train
Questions & Answers
The cheapest way to get from Portbou to Madrid is to train and bus which costs €35 - €90 and takes 11h 45m.
The fastest way to get from Portbou to Madrid is to train via Barcelona which takes 5h 26m and costs €45 - €190.
No, there is no direct bus from Portbou to Madrid station. However, there are services departing from CERBÈRE - Centre-Ville and arriving at Madrid - South Station via Perpignan - Bus Station. The journey, including transfers, takes approximately 14h 35m.
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 26m.
The distance between Portbou and Madrid is 774 km. The road distance is 725 km.
The best way to get from Portbou to Madrid without a car is to train via Barcelona which takes 5h 26m and costs €45 - €190.
It takes approximately 5h 26m to get from Portbou to Madrid, including transfers.
Portbou to Madrid bus services, operated by liO Occitanie - Pyrénées-Orientales, depart from CERBÈRE - Centre-Ville station.
Portbou to Madrid train services, operated by Rodalies de Catalunya, depart from Portbou station.
The best way to get from Portbou to Madrid is to train via Barcelona which takes 5h 26m and costs €45 - €190. Alternatively, you can bus, which costs and takes 14h 35m.
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 26m. Alternatively, you can take a bus from CERBÈRE - Centre-Ville to Madrid - South Station via PERPIGNAN - Gare Routière Bd St Assiscle and Perpignan - Bus Station in around 14h 35m.
- 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
- €40–150
Flights from Toulouse-Blagnac Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 25m
- When
- Every day
- Estimated price
- €30–140
- 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
- €45–140
Flights from Barcelona–El Prat Airport to Adolfo Suárez Madrid–Barajas Airport via Palma Mallorca
- Ave. Duration
- 3h 10m
- When
- Every day
- Estimated price
- €45–140
- Website
- volotea.com
Flights from Toulouse-Blagnac Airport to Adolfo Suárez Madrid–Barajas Airport
- Ave. Duration
- 1h 30m
- When
- Monday, Tuesday, Wednesday, Friday, and Sunday
- Estimated price
- €40–160
- Phone
- +34 900 41 00 41
- Website
- rodalies.gencat.cat
Train from Portbou to Barcelona Sants
- Ave. Duration
- 2h 35m
- Frequency
- Hourly
- Estimated price
- €10–15
- Website
- https://rodalies.gencat.cat/en/inici/index.html
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
- +34 91 232 03 20
- Website
- renfe.com
Train from Barcelona-Sants to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 2h 37m
- Frequency
- Hourly
- Estimated price
- €45–170
- Website
- https://www.renfe.com/es/en
Train from Girona to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 43m
- Frequency
- 5 times a day
- Estimated price
- €60–170
- 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
- 2h 59m
- Frequency
- Hourly
- Estimated price
- €45–130
- 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
- 2h 52m
- Frequency
- Every 4 hours
- Estimated price
- €35–85
- Website
- https://www.ouigo.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
- Twice daily
- Estimated price
- €45–65
- Website
- https://www.renfe.com/es/en
Train from Portbou to Girona
- Ave. Duration
- 1h 3m
- Frequency
- 5 times a day
- Estimated price
- €7–10
- Website
- https://www.renfe.com/es/en
Train from Girona to Madrid-Puerta de Atocha-Almudena Grandes
- Ave. Duration
- 3h 58m
- Frequency
- Once daily
- Estimated price
- €55–120
- Website
- https://www.renfe.com/es/en
- Phone
- +33 1 84 94 36 35
- Website
- track.effiliation.com
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
- €16–30
- Website
- https://track.effiliation.com/servlet/effi.redir?id_compteur=23007591&url=https%3A%2F%2Fwww.sncf-connect.com%2Fen-en%2F
- 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
- €14–35
- Website
- https://www.sncf-connect.com/en-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 4 hours
- Estimated price
- €25–70
- Website
- https://www.alsa.com/en/
Bus from Perpignan - Bus Station to Madrid - South Station
- Ave. Duration
- 12h 30m
- Frequency
- Once daily
- Estimated price
- €75–130
- Website
- https://www.alsa.com/en/
- Phone
- +33 805 60 81 00
- Website
- lio.laregion.fr
Bus from CERBÈRE - Centre-Ville to PERPIGNAN - Gare Routière Bd St Assiscle
- Ave. Duration
- 1h 45m
- Frequency
- 3 times a day
- Schedules at
- lio-occitanie.fr
- Phone
- +3-389-268-0068
- Website
- blablacar.co.uk
Bus from Perpignan - Bus Station to Madrid - South Station
- Ave. Duration
- 11h 50m
- Frequency
- 3 times a day
- Estimated price
- €25–120
- 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
Portbou to Madrid bus services, operated by liO Occitanie - Pyrénées-Orientales, arrive at PERPIGNAN - Gare Routière Bd St Assiscle 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 40m to drive from Portbou to Madrid.
There are 6938+ hotels available in Madrid.


































