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

1h 19m • 1 change

1h 27m • 1 change

47 min • 1 change

1h 1m • 1 change

1h 1m • 1 change

1h 13m • 1 change

54 min • 1 change

49 min • 1 change

1h 1m • 1 change

1h 13m • 1 change

54 min • 1 change

49 min • 1 change

1h 1m • 1 change

1h 13m • 1 change

54 min • 1 change

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