The average train between Ayr and Lockerbie takes 2h 32m and the fastest train takes 1h 47m. There is a train service every few hours from Ayr to Lockerbie. 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 every 2 hours between Ayr and Lockerbie. The earliest departure is at 5:15 AM in the morning, and the last departure from Ayr is at 11:05 PM which arrives into Lockerbie at 5:52 AM. All services require a transfer, and take on average 2h 32m. The schedules shown below are for the next available departures.

2h 9m • 1 change

2h 7m • 1 change

2h 24m • 1 change

2h 4m • 1 change

2h 9m • 1 change

2h 7m • 1 change

2h 24m • 1 change

2h 4m • 1 change

2h 9m • 1 change

2h 7m • 1 change

2h 24m • 1 change

2h 4m • 1 change

2h 9m • 1 change

2h 7m • 1 change

2h 24m • 1 change

2h 4m • 1 change
Want to know about travelling from Ayr to Lockerbie? 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 Lockerbie. However, there are services departing from Ayr station and arriving at Lockerbie station via Glasgow Central. The journey, including transfers, takes approximately 2h 32m.
Ayr to Lockerbie train services, operated by ScotRail, depart from Ayr station.
Ayr to Lockerbie train services, operated by ScotRail, arrive at Lockerbie station.
Book your Ayr to Lockerbie train tickets online with ScotRail, Avanti West Coast and TransPennine Express.
The distance between Ayr and Lockerbie is 89.2 km. The road distance is 187 km.
You can take a train from Ayr to Lockerbie via Glasgow Central in around 2h 48m.