The average train between Dunfermline and Longniddry takes 1h 32m and the fastest train takes 52 min. There is a train service every few hours from Dunfermline to Longniddry. 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 Longniddry. 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 Longniddry at 9:54 AM. All services require a transfer, and take on average 1h 32m. The schedules shown below are for the next available departures.

1h 6m • 1 change

1h 35m • 1 change

59 min • 1 change

1h 50m • 1 change

1h 1m • 1 change

1h 34m • 1 change

1h 26m • 1 change

1h 16m • 1 change

1h 10m • 1 change

1h 14m • 1 change

1h 14m • 1 change

1h 11m • 1 change

1h 6m • 1 change

1h 35m • 1 change

59 min • 1 change

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