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

2h 28m • 1 change

2h 21m • 1 change

2h 38m • 1 change

2h 20m • 1 change

2h 28m • 1 change

2h 21m • 1 change

2h 38m • 1 change

2h 20m • 1 change

2h 28m • 1 change

2h 21m • 1 change

2h 38m • 1 change

2h 20m • 1 change

2h 28m • 1 change

2h 21m • 1 change

2h 38m • 1 change

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