The average train between Koper and Dunaj takes 6h 26m and the fastest train takes 4h 39m. The train service runs several times per day from Koper to Dunaj. 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 Koper and Dunaj. The earliest departure is at 5:23 AM in the morning, and the last departure from Koper is at 7:58 PM which arrives into Dunaj at 7:39 AM. All services require a transfer, and take on average 6h 26m. The schedules shown below are for the next available departures.

5h 14m • 1 change

4h 39m • 1 change
Arrives next day

10h 42m • 1 change

5h 14m • 1 change

4h 39m • 1 change
Arrives next day

5h 19m • 1 change
Arrives next day

10h 42m • 1 change

5h 14m • 1 change

4h 39m • 1 change
Arrives next day

5h 19m • 1 change
Arrives next day

10h 42m • 1 change

5h 14m • 1 change

4h 39m • 1 change
Arrives next day

5h 19m • 1 change
Arrives next day

10h 42m • 1 change

5h 14m • 1 change

4h 39m • 1 change
Arrives next day

5h 19m • 1 change
Arrives next day

10h 42m • 1 change
Want to know about travelling from Koper to Dunaj? 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 Koper to Dunaj. However, there are services departing from Koper station and arriving at Dunaj station via Ljubljana. The journey, including transfers, takes approximately 6h 26m.
Koper to Dunaj train services, operated by Slovenske železnice (SŽ), depart from Koper station.
Koper to Dunaj train services, operated by Slovenske železnice (SŽ), arrive at Brestanica station.
The distance between Koper and Dunaj is 142.4 km. The road distance is 239 km.
You can take a train from Koper to Brestanica via Ljubljana in around 4h 48m.