COVID-19 Travel restrictions may apply in United Kingdom. Learn More.
Duration 3h 35m
Distance 74.6 miles
Average price £51
Frequency 16/day

Trip overview

The average train between Ayr and Dunfermline takes 3h 35m and the fastest train takes 2h 34m. There is a train service every few hours 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

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

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.

There is widespread community transmission globally.
Some travel restrictions may still be in place within United Kingdom. For the latest travel status, please check the official page for United Kingdom.

Learn 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 36m.

More details

It is 62 miles from Ayr to Dunfermline. It is approximately 74.6 miles to drive.

Get driving directions

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

More details

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

More details

Book your Ayr to Dunfermline train tickets online with Omio and Omio.

Search and book

There are 3878+ 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 36m.
Train operators
ScotRail
Ave. Duration
1h
Frequency
Every 30 minutes
Estimated price
£9 - £26
Phone
+44 344 811 0141
Email
customer.relations@scotrail.co.uk
Website
scotrail.co.uk
Train from Ayr to Glasgow Central
Ave. Duration
1h
Frequency
Every 30 minutes
Estimated price
£9 - £26
Website
scotrail.co.uk
Anytime Day Single
£9 - £13
Anytime Day Single 1st Class
£20 - £26
Train from Glasgow Central to Haymarket
Ave. Duration
1h 23m
Frequency
Hourly
Estimated price
£9 - £29
Website
scotrail.co.uk
Anytime Day Single
£9 - £14
Anytime Day Single 1st Class
£22 - £29

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