The average train between Dunfermline and Lanark takes 2h 52m and the fastest train takes 1h 36m. The train service runs several times per day from Dunfermline to Lanark. 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 Dunfermline and Lanark. The earliest departure is at 7:06 AM in the morning, and the last departure from Dunfermline is at 10:35 PM which arrives into Lanark at 10:14 AM. All services require a transfer at Haymarket and take an average of 2h 52m. The schedules shown below are for the next available departures.


1h 41m • 2 changes


1h 46m • 2 changes


2h 13m • 2 changes


1h 39m • 2 changes


1h 41m • 2 changes


1h 46m • 2 changes


2h 13m • 2 changes


1h 39m • 2 changes


1h 41m • 2 changes


1h 46m • 2 changes


2h 13m • 2 changes


1h 39m • 2 changes


1h 41m • 2 changes


1h 46m • 2 changes


2h 13m • 2 changes


1h 39m • 2 changes


1h 41m • 2 changes


1h 46m • 2 changes


2h 13m • 2 changes


1h 39m • 2 changes


1h 36m • 2 changes


2h 6m • 2 changes


1h 40m • 2 changes


1h 37m • 2 changes
Want to know about travelling from Dunfermline to Lanark? 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 Lanark. However, there are services departing from Dunfermline station and arriving at Lanark station via Haymarket. The journey, including transfers, takes approximately 2h 52m.
Dunfermline to Lanark train services, operated by ScotRail, depart from Dunfermline Town station.
Dunfermline to Lanark train services, operated by ScotRail, arrive at Carluke station.
Book your Dunfermline to Lanark train tickets online with ScotRail.
The distance between Dunfermline and Lanark is 48.5 km. The road distance is 95 km.
You can take a train from Dunfermline Town to Lanark via Haymarket and Carluke in around 2h 36m.