There are 6 ways to get from Madrid to Portbou by train (Renfe), bus, train, car, plane, or train (Renfe, Ouigo)
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Train
best- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Gironatrain Ave
- Take the train from Girona to Portboutrain R11
5h 53m€40–144Bus, train via Barcelona
cheapest- Take the bus from Madrid, Avenida de América to Barcelona, Estación de Autobuses de Santsbus Alsa
- Take the train from Barcelona Sants to Portboutrain R11
11h 8m€32–70Drive 724.5 km
- Drive from Madrid to Portboucar 724.5 km
7h 40m€112–162Fly, train
- Fly from Adolfo Suárez Madrid–Barajas Airport (MAD) to Barcelona–El Prat Airport (BCN)plane MAD - BCN
- Take the train from Barcelona-Sants to Gironatrain
- Take the train from Girona to Portboutrain
5h 42m€60–201Train via Barcelona
- Take the train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Santstrain Ave
- Take the train from Barcelona Sants to Portboutrain R11
6h 20m€39–131Bus, train
- Take the bus from Madrid - South Station to Perpignan - Bus Stationbus BlaBlaCar Bus
- Take the train from Perpignan to Cerberetrain Ter
12h 31m€32–121
Madrid to Portbou by train
Questions & Answers
The cheapest way to get from Madrid to Portbou is to bus and train via Barcelona which costs €30 - €70 and takes 11h 8m.
The fastest way to get from Madrid to Portbou is to fly and train which takes 5h 42m and costs €55 - €210.
No, there is no direct train from Madrid to Portbou. However, there are services departing from Madrid-Puerta de Atocha-Almudena Grandes and arriving at Portbou via Girona. The journey, including transfers, takes approximately 5h 53m.
The distance between Madrid and Portbou is 788 km. The road distance is 724.5 km.
The best way to get from Madrid to Portbou without a car is to train which takes 5h 53m and costs €40 - €150.
It takes approximately 5h 53m to get from Madrid to Portbou, including transfers.
Madrid to Portbou train services, operated by Renfe AVE, depart from Madrid-Puerta de Atocha-Almudena Grandes station.
Madrid to Portbou train services, operated by Renfe AVE, arrive at Girona station.
Yes, the driving distance between Madrid to Portbou is 725 km. It takes approximately 7h 40m to drive from Madrid to Portbou.
Book your Madrid to Portbou train tickets online with Omio.
What companies run services between Madrid, Spain and Portbou, Spain?
You can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Portbou via Girona in around 5h 53m.
- Website
- iberia.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Barcelona–El Prat Airport
- Ave. Duration
- 1h 18m
- When
- Every day
- Estimated price
- €45–130
- Website
- aireuropa.com
Flights from Adolfo Suárez Madrid–Barajas Airport to Barcelona–El Prat Airport
- Ave. Duration
- 1h 25m
- When
- Every day
- Estimated price
- €40–130
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Girona
- Ave. Duration
- 4h 27m
- Frequency
- Every 4 hours
- Estimated price
- €35–140
- Website
- https://www.renfe.com/es/en
Train from Barcelona-Sants to Girona
- Ave. Duration
- 40 min
- Frequency
- Every 4 hours
- Estimated price
- €9–45
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 2m
- Frequency
- Hourly
- Estimated price
- €35–120
- Website
- https://www.renfe.com/es/en
- Phone
- +34 91 232 03 20
- Website
- renfe.com
Train from Madrid-Puerta de Atocha-Almudena Grandes to Girona
- Ave. Duration
- 4h 22m
- Frequency
- Once daily
- Estimated price
- €55–80
- Website
- https://www.renfe.com/es/en
Train from Girona to Portbou
- Ave. Duration
- 1h 3m
- Frequency
- Every 2 hours
- Estimated price
- €7
- Website
- https://www.renfe.com/es/en
Train from Barcelona-Sants to Girona
- Ave. Duration
- 41 min
- Frequency
- Hourly
- Estimated price
- €8–55
- Website
- https://www.renfe.com/es/en
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 29m
- Frequency
- Twice daily
- Estimated price
- €45–65
- Website
- https://www.renfe.com/es/en
- Phone
- +34 900 41 00 41
- Website
- rodalies.gencat.cat
Train from Girona to Portbou
- Ave. Duration
- 1h 3m
- Frequency
- Hourly
- Estimated price
- €5–7
- Website
- https://rodalies.gencat.cat/en/inici/index.html
Train from Barcelona Sants to Portbou
- Ave. Duration
- 2h 35m
- Frequency
- Hourly
- Estimated price
- €10–15
- Website
- https://rodalies.gencat.cat/en/inici/index.html
- Phone
- +34 912 32 03 20
- accesibilidad@renfe.es
- Website
- renfe.com
Train from Girona to Portbou
- Ave. Duration
- 1h 4m
- Frequency
- 3 times a day
- Estimated price
- €3–5
- Website
- https://www.renfe.com/es/en/suburban
- Phone
- +34 900 926 851
- atencion.cliente@iryo.eu
- Website
- iryo.eu
Train from Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- 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 Madrid-Puerta de Atocha-Almudena Grandes to Barcelona-Sants
- Ave. Duration
- 3h 18m
- Frequency
- Every 4 hours
- Estimated price
- €29–65
- Website
- https://www.ouigo.com/es/en
- Phone
- +33 1 84 94 36 35
- Website
- track.effiliation.com
Train from Perpignan to Cerbere
- Ave. Duration
- 36 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
- +34 910 207 007
- alsa@alsa.es
- Website
- alsa.com
Bus from Madrid, Avenida de América to Barcelona, Estación de Autobuses de Sants
- Ave. Duration
- 7h 50m
- Frequency
- Every 3 hours
- Estimated price
- €22–55
- Website
- https://www.alsa.com/en/
Bus from Madrid - South Station to Perpignan - Bus Station
- Ave. Duration
- 12h 30m
- Frequency
- Once daily
- Estimated price
- €35–110
- Website
- https://www.alsa.com/en/
- Phone
- +3-389-268-0068
- Website
- blablacar.co.uk
Bus from Madrid - South Station to Perpignan - Bus Station
- Ave. Duration
- 10h 55m
- Frequency
- Once daily
- Estimated price
- €25–80
- 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 5969+ hotels available in Portbou.




























