The average train between Dunbar and Ayr takes 3h 54m and the fastest train takes 2h 49m. There is a train service every few hours from Dunbar 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 Dunbar and Ayr. The earliest departure is at 6:55 AM in the morning, and the last departure from Dunbar is at 10:35 PM which arrives into Ayr at 8:24 AM. All services require a transfer at Edinburgh Waverley and take an average of 3h 54m. The schedules shown below are for the next available departures.


2h 59m • 2 changes


3h 14m • 2 changes


3h 15m • 2 changes


3h 21m • 2 changes


2h 59m • 2 changes


3h 14m • 2 changes


3h 15m • 2 changes


3h 21m • 2 changes


2h 59m • 2 changes


3h 14m • 2 changes


3h 15m • 2 changes


3h 21m • 2 changes
Want to know about travelling from Dunbar 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 Dunbar to Ayr. However, there are services departing from Dunbar station and arriving at Ayr station via Edinburgh Waverley. The journey, including transfers, takes approximately 3h 54m.
Dunbar to Ayr train services, operated by ScotRail, depart from Dunbar station.
Dunbar to Ayr train services, operated by ScotRail, arrive at Ayr station.
Book your Dunbar to Ayr train tickets online with ScotRail, London North Eastern Railway Limited (LNER) and 2 other operators.
The distance between Dunbar and Ayr is 145.5 km. The road distance is 186 km.
You can take a train from Dunbar to Ayr via Edinburgh Waverley and Glasgow Central in around 3h 29m.