The average train between Hamilton and Dunfermline takes 1h 42m and the fastest train takes 1h 7m. The train service runs several times per day from Hamilton to Dunfermline. 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 every 4 hours between Hamilton and Dunfermline. The earliest departure is at 5:48 AM in the morning, and the last departure from Hamilton is at 9:20 PM which arrives into Dunfermline at 10:27 PM. All services require a transfer, and take on average 1h 42m. The schedules shown below are for the next available departures.

2h 3m • 1 change

1h 12m • 1 change

1h 55m • 1 change

1h 46m • 1 change

2h 3m • 1 change

1h 12m • 1 change

1h 55m • 1 change

1h 46m • 1 change

2h 3m • 1 change

1h 12m • 1 change

1h 55m • 1 change

1h 46m • 1 change

2h 3m • 1 change

1h 12m • 1 change

1h 55m • 1 change

1h 46m • 1 change

1h 51m • 1 change

1h 16m • 1 change

1h 19m • 1 change

1h 21m • 1 change
Want to know about travelling from Hamilton to Dunfermline? 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 Hamilton to Dunfermline. However, there are services departing from Hamilton station and arriving at Dunfermline station via Haymarket. The journey, including transfers, takes approximately 1h 42m.
Hamilton to Dunfermline train services, operated by ScotRail, depart from Motherwell station.
Hamilton to Dunfermline train services, operated by ScotRail, arrive at Dunfermline Town station.
Book your Hamilton to Dunfermline train tickets online with ScotRail and Cross Country.
The distance between Hamilton and Dunfermline is 49.3 km. The road distance is 93 km.
You can take a train from Motherwell to Dunfermline Town via Haymarket in around 1h 49m.