The average train between Dumfries and Edinburgh takes 2h 44m and the fastest train takes 2h 17m. There is a train service every few hours from Dumfries to Edinburgh. 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 hourly between Dumfries and Edinburgh. The earliest departure is at 7:15 AM in the morning, and the last departure from Dumfries is at 11:08 PM which arrives into Edinburgh at 3:47 AM. All services require a transfer, and take on average 2h 44m. The schedules shown below are for the next available departures.

2h 38m • 1 change

2h 42m • 1 change

2h 38m • 1 change

2h 37m • 1 change

2h 26m • 1 change

2h 20m • 1 change

2h 38m • 1 change

2h 19m • 1 change

2h 26m • 1 change

2h 20m • 1 change

2h 38m • 1 change

2h 19m • 1 change

2h 26m • 1 change

2h 20m • 1 change

2h 38m • 1 change

2h 19m • 1 change
Want to know about travelling from Dumfries to Edinburgh? 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 Dumfries to Edinburgh. However, there are services departing from Dumfries station and arriving at Edinburgh station via Carlisle. The journey, including transfers, takes approximately 2h 44m.
Dumfries to Edinburgh train services, operated by ScotRail, depart from Dumfries station.
Dumfries to Edinburgh train services, operated by ScotRail, arrive at Edinburgh Waverley station.
Book your Dumfries to Edinburgh train tickets online with ScotRail, TransPennine Express and 2 other operators.
The distance between Dumfries and Edinburgh is 101.5 km. The road distance is 215 km.
You can take a train from Dumfries to Edinburgh Waverley via Carlisle in around 2h 43m.