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

1h 6m • 1 change

1h 17m • 1 change

1h 10m • 1 change

1h 12m • 1 change

59 min • 1 change

54 min • 1 change

1h 9m • 1 change

1h 5m • 1 change

59 min • 1 change

54 min • 1 change

1h 9m • 1 change

1h 5m • 1 change
Want to know about travelling from Tranent 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 Tranent to Dunfermline. However, there are services departing from Tranent station and arriving at Dunfermline station via Edinburgh Waverley. The journey, including transfers, takes approximately 1h 9m.
Tranent to Dunfermline train services, operated by ScotRail, depart from Prestonpans station.
Tranent to Dunfermline train services, operated by ScotRail, arrive at Dunfermline Town station.
Book your Tranent to Dunfermline train tickets online with ScotRail.
The distance between Tranent and Dunfermline is 34.4 km. The road distance is 42 km.
You can take a train from Prestonpans to Dunfermline Town via Edinburgh Waverley in around 1h 10m.