Duration 3h 26m
Distance 74.7 miles
Average price £56
Frequency Hourly

Trip overview

The average train between Ayr and Dunfermline takes 3h 26m and the fastest train takes 2h 30m. There is an hourly train service from Ayr to Dunfermline. The journey time may be longer on weekends and holidays; use the search form on this page to search for a specific travel date.

Train • 3h 4m

  1. Ayr
  2. Glasgow Central
  3. Dunfermline
3h 4m
Bookable on Rome2rio
£17 - £156

Frequently asked questions

Want to know about travelling from Ayr to Dunfermline? 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 Dunfermline. However, there are services departing from Ayr and arriving at Dunfermline Town via Glasgow Central and Haymarket. The journey, including transfers, takes approximately 3h 4m.

More details

The distance between Ayr and Dunfermline is 62 miles. The road distance is 74.7 miles.

Get driving directions

Ayr to Dunfermline train services, operated by ScotRail, depart from Ayr station.

More details

Ayr to Dunfermline train services, operated by CrossCountry, arrive at Haymarket station.

More details

Book your Ayr to Dunfermline train tickets online with Omio, Rome2rio and two other operators.

Search and book

There are 1959+ hotels available in Dunfermline. Prices start at £75 per night.

More details

What companies run services between Ayr and Dunfermline?

You can take a train from Ayr to Dunfermline via Glasgow Central and Haymarket in around 3h 4m.
Train operators
Ave. Duration
1h
Frequency
Every 30 minutes
Estimated price
£9 - £26
Ave. Duration
53 min
Frequency
Every 4 hours
Estimated price
£30 - £120
Ave. Duration
59 min
Frequency
6 times a week
Estimated price
£5 - £8

Get the Rome2rio app

Find the best way to get from A to B, anywhere in the world, on your mobile or tablet.

Compare your options: plane, train, bus, car, ferry, bike share, driving and walking directions all in one search.

Learn more about our apps