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

6h 39m • 1 change

6h 7m • 1 change

6h 13m • 1 change

5h 52m • 1 change

6h 39m • 1 change

6h 7m • 1 change

6h 13m • 1 change

5h 52m • 1 change

6h 39m • 1 change

6h 7m • 1 change

6h 2m • 1 change

5h 48m • 1 change

6h 7m • 1 change

6h 2m • 1 change

5h 48m • 1 change

5h 47m • 1 change

6h 39m • 1 change

6h 7m • 1 change

6h 13m • 1 change

5h 52m • 1 change

6h 39m • 1 change

6h 7m • 1 change

6h 13m • 1 change

5h 52m • 1 change
Want to know about travelling from Portbou 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 to Madrid. However, there are services departing from Portbou station and arriving at Madrid station via Barcelona-Sants. The journey, including transfers, takes approximately 6h 44m.
Portbou to Madrid train services, operated by Renfe Viajeros, depart from Port-Bou station.
Portbou to Madrid train services, operated by Renfe Viajeros, arrive at Madrid-Puerta de Atocha-Almudena Grandes station.
The distance between Portbou and Madrid is 614 km. The road distance is 773 km.
You can take a train from Port-Bou to Madrid-Puerta de Atocha-Almudena Grandes via Barcelona-Sants in around 5h 52m.