The average train between Dunfermline and York takes 3h 29m and the fastest train takes 3h 1m. There is an hourly train service 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:51 PM which arrives into York at 11:13 AM. All services require a transfer, and take on average 3h 29m. The schedules shown below are for the next available departures.

3h 27m • 1 change

3h 29m • 1 change

3h 51m • 1 change
Arrives next day

8h 2m • 1 change

3h 25m • 1 change

3h 8m • 1 change

3h 13m • 1 change

3h 11m • 1 change

3h 7m • 1 change

3h 13m • 1 change

3h 14m • 1 change

3h 12m • 1 change

3h 25m • 1 change

3h 7m • 1 change

3h 15m • 1 change

3h 13m • 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 Edinburgh Waverley. The journey, including transfers, takes approximately 3h 29m.
Dunfermline to York train services, operated by ScotRail, depart from Dunfermline Town station.
Dunfermline to York train services, operated by ScotRail, arrive at York station.
Book your Dunfermline to York train tickets online with ScotRail, London North Eastern Railway Limited (LNER) and Cross Country.
The distance between Dunfermline and York is 279.6 km. The road distance is 352 km.
You can take a train from Dunfermline Town to York via Edinburgh Waverley in around 3h 6m.