Loco2 is changing tracks and will soon be known as Rail Europe. Read more

Ayr to Edinburgh by train

  • First train
    05:13
  • Last train
    23:00
  • Avg changes
    1
  • Fastest journey
    2hr 5m
  • Distance
    106 kilometres
  • Trains per Day
    46
  • Avg. journey time
    2hr 25m
  • Train Operators

Travelling from Ayr to Edinburgh by train

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

1. Are there direct trains from Ayr to 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 50 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 38 departures.

2. How long is the train journey from Ayr to Edinburgh?

The Ayr to Edinburgh train travel time is normally about 2 hours and 5 minutes, whatever time you make the journey.

3. What are the Ayr to Edinburgh train times and schedule?

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

When to book Ayr to Edinburgh train tickets?

Trains in the UK 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.

Help with booking alerts

Which train companies operate between Ayr and Edinburgh?

More than one train company 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
  • London North Eastern Railway
  • ScotRail
  • UK Rail Connections

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

Edinburgh to Ayr by train

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

Loco2 means a new way of booking trains online, but it also stands for low CO2 and lower cost travel. By simplifying the booking process, Loco2 hopes to encourage more people to ditch the plane and opt for a lower-carbon journey by train.

  • Easy, fast and cheap
  • Pay in EUR, GBP or USD
  • Cheaper UK tickets with Pricehack
  • 100% human support

Subscribe to our newsletter

Subscribe to receive top tips, train news and travel inspiration straight to your inbox

Child and youth passengers

The definition of "Child" and "Youth" varies by country and operator. This is why we ask for the age of young passengers.

Sometimes children below a certain age can travel without a seat for free. If you want to guarantee a seat for child passengers, enter '6' as the age of the child.

Read more about child and youth passenger ages. See also youth discounts and railcards.