The average train between Dunfermline and Ayr takes 3h 1m and the fastest train takes 2h 19m. There is an hourly train service 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 6:26 AM in the morning, and the last departure from Dunfermline is at 11:50 PM which arrives into Ayr at 7:55 AM. All services require a transfer at Haymarket and take an average of 3h 1m. 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 Haymarket. The journey, including transfers, takes approximately 3h 1m.
Dunfermline to Ayr train services, operated by ScotRail, depart from Dunfermline Town station.
Dunfermline to Ayr train services, operated by ScotRail, arrive at Ayr station.
Book your Dunfermline to Ayr train tickets online with ScotRail and Lumo.
The distance between Dunfermline and Ayr is 99.9 km. The road distance is 164 km.
You can take a train from Dunfermline Town to Ayr via Haymarket, Glasgow Queen Street, and Glasgow Central in around 2h 47m.