The average train between Dunfermline and Prestwick takes 3h 5m and the fastest train takes 2h 10m. There is a train service every few hours from Dunfermline to Prestwick. 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 hourly between Dunfermline and Prestwick. The earliest departure is at 6:26 AM in the morning, and the last departure from Dunfermline is at 11:51 PM which arrives into Prestwick at 9:44 AM. All services require a transfer at Haymarket and take an average of 3h 5m. The schedules shown below are for the next available departures.


2h 40m • 2 changes


2h 36m • 2 changes


2h 40m • 2 changes
Arrives next day


2h 53m • 2 changes


2h 49m • 2 changes


2h 22m • 2 changes


2h 42m • 2 changes


2h 17m • 2 changes


2h 50m • 2 changes


2h 39m • 2 changes


2h 51m • 2 changes


2h 44m • 2 changes


2h 29m • 2 changes


2h 33m • 2 changes


2h 33m • 2 changes


2h 32m • 2 changes
Want to know about travelling from Dunfermline to Prestwick? 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 Dunfermline to Prestwick. However, there are services departing from Dunfermline station and arriving at Prestwick station via Haymarket. The journey, including transfers, takes approximately 3h 5m.
Dunfermline to Prestwick train services, operated by ScotRail, depart from Dunfermline Town station.
Dunfermline to Prestwick train services, operated by ScotRail, arrive at Prestwick Town station.
Book your Dunfermline to Prestwick train tickets online with ScotRail.
The distance between Dunfermline and Prestwick is 96.2 km. The road distance is 160 km.
You can take a train from Dunfermline Town to Prestwick Town via Haymarket, Glasgow Queen Street, and Glasgow Central in around 2h 42m.