The average train between Dunfermline and Ayr takes 3h 44m and the fastest train takes 2h 47m. There is a train service every few hours from Dunfermline to Ayr. 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 Ayr. The earliest departure is at 7:06 AM in the morning, and the last departure from Dunfermline is at 11:50 PM which arrives into Ayr at 8:51 AM. All services require a transfer at Haymarket and take an average of 3h 44m. The schedules shown below are for the next available departures.
Want to know about travelling from Dunfermline to Ayr? 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 Ayr. However, there are services departing from Dunfermline station and arriving at Ayr station via Glasgow Central. The journey, including transfers, takes approximately 3h 44m.
Dunfermline to Ayr train services, operated by ScotRail, depart from Haymarket station.
Dunfermline to Ayr train services, operated by ScotRail, arrive at Ayr station.
Book your Dunfermline to Ayr train tickets online with ScotRail and Cross Country.
The distance between Dunfermline and Ayr is 99.9 km. The road distance is 162 km.
You can take a train from Dunfermline Town to Ayr via Haymarket and Glasgow Central in around 3h 26m.