The average train between Madrid and Portbou takes 6h 52m and the fastest train takes 5h 24m. The train service runs several times per day from Madrid to Portbou. The journey time may be longer on weekends and holidays; use the search form on this page to search for a specific travel date.
Trains run every 4 hours between Madrid and Portbou. The earliest departure is at 7:27 AM in the morning, and the last departure from Madrid is at 7:34 PM which arrives into Portbou at 9:59 AM. All services require a transfer, and take on average 6h 52m. The schedules shown below are for the next available departures.

6h 24m • 1 change

5h 53m • 1 change

5h 24m • 1 change

6h 30m • 1 change

6h 24m • 1 change

5h 53m • 1 change

5h 24m • 1 change

6h 30m • 1 change

6h 24m • 1 change

5h 53m • 1 change

5h 24m • 1 change

6h 30m • 1 change

6h 24m • 1 change

5h 53m • 1 change

5h 24m • 1 change

6h 30m • 1 change

6h 24m • 1 change

5h 53m • 1 change

5h 24m • 1 change

6h 30m • 1 change

5h 54m • 1 change

5h 54m • 1 change

7h 1m • 1 change
Arrives next day

14h 25m • 1 change

5h 54m • 1 change

5h 54m • 1 change

5h 24m • 1 change

7h 1m • 1 change
Want to know about travelling from Madrid to Portbou? We have put together a list of the most frequently asked questions from our users such as: What is the cheapest mode of transport? What is the quickest option? How much do tickets usually cost? and many more.
No, there is no direct train from Madrid to Portbou. However, there are services departing from Madrid station and arriving at Portbou station via Girona. The journey, including transfers, takes approximately 6h 52m.
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 Port-Bou station.
Book your Madrid to Portbou train tickets online with Renfe AVE, Renfe Viajeros and Renfe Cercanias.
The distance between Madrid and Portbou is 614 km. The road distance is 788 km.
You can take a train from Madrid-Puerta de Atocha-Almudena Grandes to Port-Bou via Girona in around 5h 28m.