The average train between Dunfermline and York takes 3h 34m and the fastest train takes 3h 1m. There is a train service every few hours from Dunfermline to York. 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 Dunfermline and York. The earliest departure is at 6:26 AM in the morning, and the last departure from Dunfermline is at 11:50 PM which arrives into York at 7:53 AM. All services require a transfer, and take on average 3h 34m. The schedules shown below are for the next available departures.

3h 15m • 1 change

3h 8m • 1 change

3h 16m • 1 change

3h 9m • 1 change

3h 25m • 1 change

3h 7m • 1 change

3h 15m • 1 change

3h 8m • 1 change

3h 25m • 1 change

3h 7m • 1 change

3h 15m • 1 change

3h 8m • 1 change
Want to know about travelling from Dunfermline to York? 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 Dunfermline to York. However, there are services departing from Dunfermline station and arriving at York station via York. The journey, including transfers, takes approximately 3h 34m.
Dunfermline to York train services, operated by ScotRail, depart from Edinburgh Waverley station.
Dunfermline to York train services, operated by ScotRail, arrive at York station.
Book your Dunfermline to York train tickets online with ScotRail, Cross Country and London North Eastern Railway Limited (LNER).
The distance between Dunfermline and York is 279.6 km. The road distance is 352 km.
London North Eastern Railway Limited (LNER) operates a train from Edinburgh Waverley to York hourly. Tickets cost £55–90 and the journey takes 2h 14m. Cross Country also services this route hourly.