Ayr to Edinburgh by train Find train times and tickets

Prices explained

Prices explained

At Loco2 we believe in price transparency. We use real data from Loco2 searches to estimate the cheapest fares you should be able to find for your journey, based on how far in advance you book.

The cheapest price is the lowest fare we've ever found for this journey. These prices can usually be found by searching when booking opens but they vary due to availability, which depends on factors like the day of the week or time of year.

30 day advance and 7 day advance prices are found by searching exactly 7 or 30 days from today. These prices fluctuate daily based on demand and availability at the time of search. For example, the 7-day price on a busy Saturday in summer is likely to be more expensive than the same journey on a Tuesday in winter.

We're always seeking to improve how price-checking works, and we welcome feedback on how we can make it better.

  1. Cheapest price £18.40
  2. 30 day advance £18.40
  • First train
    06:20
  • Last train
    23:00
  • Avg changes
    1
  • Fastest journey
    2hr 5m

Travelling from Ayr to Edinburgh by train

The fastest trains from Ayr to Edinburgh take around 2 hours and 5 minutes, covering a distance of approximately 105 kilometres. There are frequent services on the rail route between Ayr and Edinburgh.

Journeys between Ayr and Edinburgh usually involve one change of train. We have found some direct departures on this route but these are less frequent than routes requiring a change.

We usually find around 40 departures on the route from Ayr to Edinburgh every weekday that leave enough time to change trains without waiting around for longer than necessary.

There are typically fewer departures at weekends, when we found around 30 departures. The duration is normally about 2 hours and 5 minutes, whatever time you make the journey.

On weekdays the earliest train to Edinburgh is usually scheduled to depart Ayr around 06:20 and the last train is around 23:00. At weekends the first train of the day leaves Ayr around 07:05, and the last at 23:00.

Route map is indicative only and may differ from the optimal route. Actual routes will be displayed when searching.

When to book Ayr to Edinburgh train tickets?

The cheapest tickets we've found for trains from Ayr to Edinburgh are £18.40, and there isn't much difference in price depending on when you book.

Trains departing 30 days in advance will cost around £18, and when booking 7 days in advance the price is usually the same. Booking on the day of travel may be more expensive.

Trains in the United Kingdom usually open for booking around 3 months in advance. If booking is not yet open for your dates then you can set a booking alert to receive an email on the day that the cheapest tickets are released for your journey from Ayr to Edinburgh by train.

Which trains operate between Ayr and Edinburgh?

More than one type of train operates on the route from Ayr to Edinburgh, so you’ll be travelling with one or more of the following rail operators:

  • CrossCountry
  • East Coast
  • ScotRail

You can check which train you’ll be travelling on by looking for the train name in search results.

Find journey information for Edinburgh to Ayr

Route map is indicative only and may differ from the optimal route. Actual routes will be displayed when searching.

Other journeys to Edinburgh (Waverley, city centre) View all journeys to Edinburgh

Image credits: Beautiful view of Edinburgh by Shaiith

Search accommodation in Edinburgh

Airbnb
Country guide

Trains to the United Kingdom

Read our country guide

Log in / Register

  1. We'll assume you've read
    our Terms of Service.