The average train between Portbou Station and Madrid takes 8h 4m and the fastest train takes 5h 43m. The train service runs several times per day from Portbou Station to Madrid. 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 4 times a day between Portbou Station and Madrid. The earliest departure is at 10:05 AM in the morning, and the last departure from Portbou Station is at 8:25 PM which arrives into Madrid at 9:52 AM. All services require a transfer, and take on average 8h 4m. The schedules shown below are for the next available departures.

6h 20m • 1 change

6h 12m • 1 change
Arrives next day

13h 28m • 1 change

6h 13m • 1 change

6h 20m • 1 change

6h 12m • 1 change
Arrives next day

13h 28m • 1 change

5h 43m • 1 change

6h 20m • 1 change

6h 53m • 1 change
Arrives next day

13h 27m • 1 change

5h 43m • 1 change

6h 20m • 1 change

6h 12m • 1 change
Arrives next day

13h 27m • 1 change

6h 13m • 1 change

6h 20m • 1 change

6h 12m • 1 change
Arrives next day

13h 28m • 1 change
Want to know about travelling from Portbou Station to Madrid? 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 Portbou Station to Madrid. However, there are services departing from Portbou Station station and arriving at Madrid station via Girona. The journey, including transfers, takes approximately 8h 4m.
Portbou Station to Madrid train services, operated by Renfe Viajeros, depart from Port-Bou station.
Portbou Station to Madrid train services, operated by Renfe Viajeros, arrive at Madrid-Puerta de Atocha-Almudena Grandes station.
Book your Portbou Station to Madrid train tickets online with Renfe Viajeros, Renfe AVE and Rodalies de Catalunya.
The distance between Portbou Station and Madrid is 613.9 km. The road distance is 772 km.
You can take a train from Port-Bou to Madrid-Puerta de Atocha-Almudena Grandes via Girona in around 6h 11m.