The average train between Dunbar and Ayr takes 3h 5m and the fastest train takes 2h 21m. 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:44 AM in the morning, and the last departure from Dunbar is at 10:35 PM which arrives into Ayr at 9:52 AM. All services require a transfer at Edinburgh Waverley and take an average of 3h 5m. The schedules shown below are for the next available departures.


2h 47m • 2 changes


3h 1m • 2 changes


2h 47m • 2 changes


2h 39m • 2 changes


2h 41m • 2 changes


2h 21m • 2 changes


2h 43m • 2 changes


2h 48m • 2 changes


3h 8m • 2 changes


2h 51m • 2 changes


2h 49m • 2 changes


2h 47m • 2 changes


2h 21m • 2 changes


2h 41m • 2 changes


2h 39m • 2 changes


2h 40m • 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 5m.
Dunbar to Ayr train services, operated by TransPennine Express, depart from Dunbar station.
Dunbar to Ayr train services, operated by TransPennine Express, arrive at Ayr station.
Book your Dunbar to Ayr train tickets online with TransPennine Express, ScotRail and 2 other operators.
The distance between Dunbar and Ayr is 145.5 km. The road distance is 188 km.
You can take a train from Dunbar to Ayr via Edinburgh Waverley, Glasgow Queen Street, and Glasgow Central in around 2h 59m.