The average train between Ayr and Dunbar takes 3h 12m and the fastest train takes 2h 15m. There is a train service every few hours from Ayr to Dunbar. 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 Ayr and Dunbar. The earliest departure is at 7:05 AM in the morning, and the last departure from Ayr is at 11:05 PM which arrives into Dunbar at 9:44 AM. All services require a transfer at Glasgow Central and take an average of 3h 12m. The schedules shown below are for the next available departures.


2h 49m • 2 changes


2h 57m • 2 changes


3h • 2 changes


2h 49m • 2 changes


2h 27m • 2 changes


2h 26m • 2 changes


2h 57m • 2 changes


2h 39m • 2 changes


2h 27m • 2 changes


2h 27m • 2 changes


2h 27m • 2 changes


2h 31m • 2 changes
Want to know about travelling from Ayr to Dunbar? 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 Ayr to Dunbar. However, there are services departing from Ayr station and arriving at Dunbar station via Glasgow Central. The journey, including transfers, takes approximately 3h 12m.
Ayr to Dunbar train services, operated by ScotRail, depart from Ayr station.
Ayr to Dunbar train services, operated by ScotRail, arrive at Dunbar station.
Book your Ayr to Dunbar train tickets online with ScotRail, Cross Country and 2 other operators.
The distance between Ayr and Dunbar is 145.5 km. The road distance is 188 km.
You can take a train from Ayr to Dunbar via Glasgow Central, Glasgow Queen Street, and Edinburgh Waverley in around 3h 2m.