- Must visit
Dunfermline Carnegie Library & Galleries
Dunfermline’s main museum and gallery, covering local history, art, industry and Andrew Carnegie. A strong introduction to the city.
Cheapest price
£8
Average price
£8
Fastest journey
30 m
Average duration
32 m
Trains per day
6
Distance
21 km
The best way to find a cheap train ticket from Edinburgh to Dunfermline is to book your journey as far in advance as possible and to avoid travelling at rush hour.
The average ticket from Edinburgh to Dunfermline will cost around £8 if you buy it on the day, but you can find cheap train tickets today for only £8.
Of the 6 trains that leave Edinburgh for Dunfermline every day 6 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
These direct trains cover the 21 km distance in an average of 32 m but if you time it right, some trains will get you there in just 30 m .
The slowest trains will take 34 m and usually involve a change or two along the way, but you might be able to save a few pennies if you’re on a budget.
W68789
W68807
W68780
W68762
W68756
W68789
W68762
W68756
W68807
W68780Omio recommends booking the train as it is the most popular option from Edinburgh to Dunfermline among Omio's users. If you are prioritising price take the coach with prices starting from £4. For those with little time consider booking a train which can get you there in 33m. The ticket price range depends on the travel mode: a coach costs an average of £4, and a train costs an average of £5.
Distance: 21 km
Most popular Train | Coach |
|---|---|
£8 Average Price | £5 Average Price Cheapest |
1h 3m Average total duration Fastest 33m Onboard + 30m Additional time* | 1h 30m Average total duration 1h 0m Onboard + 30m Additional time* |
Direct Options | Direct Options |
The table below shows live departures for Edinburgh to Dunfermline trains for today, Monday 24 August. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
W68769 | On time 6:18 Edinburgh Waverley (EDB) | 0h33 | 6:51 Dunfermline City (DFE) | 0 changesdirect | |
C14977 | On time 6:48 Edinburgh Waverley (EDB) | 0h33 | 7:21 Dunfermline City (DFE) | 0 changesdirect | |
W68772 | On time 7:18 Edinburgh Waverley (EDB) | 0h33 | 7:51 Dunfermline City (DFE) | 0 changesdirect | |
W68636 | On time 7:46 Edinburgh Waverley (EDB) | 0h32 | 8:18 Dunfermline City (DFE) | 0 changesdirect | |
W68780 | On time 8:11 Edinburgh Waverley (EDB) | 0h34 | 8:45 Dunfermline City (DFE) | 0 changesdirect | |
W68756 | On time 8:45 Edinburgh Waverley (EDB) | 0h32 | 9:17 Dunfermline City (DFE) | 0 changesdirect | |
W68784 | On time 9:16 Edinburgh Waverley (EDB) | 0h35 | 9:51 Dunfermline City (DFE) | 0 changesdirect | |
W68762 | On time 9:45 Edinburgh Waverley (EDB) | 0h32 | 10:17 Dunfermline City (DFE) | 0 changesdirect | |
W68789 | On time 10:16 Edinburgh Waverley (EDB) | 0h30 | 10:46 Dunfermline City (DFE) | 0 changesdirect | |
W68807 | On time 10:42 Edinburgh Waverley (EDB) | 0h34 | 11:16 Dunfermline City (DFE) | 0 changesdirect | |
W68795 | On time 11:18 Edinburgh Waverley (EDB) | 0h33 | 11:51 Dunfermline City (DFE) | 0 changesdirect | |
W68822 | On time 11:48 Edinburgh Waverley (EDB) | 0h33 | 12:21 Dunfermline City (DFE) | 0 changesdirect | |
W68801 | On time 12:20 Edinburgh Waverley (EDB) | 0h33 | 12:53 Dunfermline City (DFE) | 0 changesdirect | |
W68830 | On time 12:46 Edinburgh Waverley (EDB) | 0h34 | 13:20 Dunfermline City (DFE) | 0 changesdirect | |
W68810 | On time 13:18 Edinburgh Waverley (EDB) | 0h34 | 13:52 Dunfermline City (DFE) | 0 changesdirect | |
W68840 | On time 13:48 Edinburgh Waverley (EDB) | 0h35 | 14:23 Dunfermline City (DFE) | 0 changesdirect | |
W68814 | On time 14:17 Edinburgh Waverley (EDB) | 0h34 | 14:51 Dunfermline City (DFE) | 0 changesdirect | |
W68855 | On time 14:45 Edinburgh Waverley (EDB) | 0h34 | 15:19 Dunfermline City (DFE) | 0 changesdirect | |
W68868 | On time 15:16 Edinburgh Waverley (EDB) | 0h33 | 15:49 Dunfermline City (DFE) | 0 changesdirect | |
W68863 | On time 15:45 Edinburgh Waverley (EDB) | 0h32 | 16:17 Dunfermline City (DFE) | 0 changesdirect | |
W68870 | On time 16:17 Edinburgh Waverley (EDB) | 0h34 | 16:51 Dunfermline City (DFE) | 0 changesdirect | |
W68865 | On time 16:49 Edinburgh Waverley (EDB) | 0h32 | 17:21 Dunfermline City (DFE) | 0 changesdirect | |
W68681 | On time 17:08 Edinburgh Waverley (EDB) | 0h34 | 17:42 Dunfermline City (DFE) | 0 changesdirect | |
W68871 | On time 17:18 Edinburgh Waverley (EDB) | 0h36 | 17:54 Dunfermline City (DFE) | 0 changesdirect | |
W68666 | On time 17:42 Edinburgh Waverley (EDB) | 0h34 | 18:16 Dunfermline City (DFE) | 0 changesdirect | |
W68874 | On time 18:19 Edinburgh Waverley (EDB) | 0h34 | 18:53 Dunfermline City (DFE) | 0 changesdirect | |
W68728 | On time 18:54 Edinburgh Waverley (EDB) | 0h32 | 19:26 Dunfermline City (DFE) | 0 changesdirect | |
W68875 | On time 19:19 Edinburgh Waverley (EDB) | 0h30 | 19:49 Dunfermline City (DFE) | 0 changesdirect | |
W68687 | On time 19:49 Edinburgh Waverley (EDB) | 0h32 | 20:21 Dunfermline City (DFE) | 0 changesdirect | |
W68878 | On time 20:17 Edinburgh Waverley (EDB) | 0h33 | 20:50 Dunfermline City (DFE) | 0 changesdirect | |
C14995 | On time 20:50 Edinburgh Waverley (EDB) | 0h32 | 21:22 Dunfermline City (DFE) | 0 changesdirect | |
W68879 | On time 21:18 Edinburgh Waverley (EDB) | 0h31 | 21:49 Dunfermline City (DFE) | 0 changesdirect | |
W68843 | On time 21:50 Edinburgh Waverley (EDB) | 0h35 | 22:25 Dunfermline City (DFE) | 0 changesdirect | |
W68882 | On time 22:16 Edinburgh Waverley (EDB) | 0h32 | 22:48 Dunfermline City (DFE) | 0 changesdirect | |
W68858 | On time 22:49 Edinburgh Waverley (EDB) | 0h35 | 23:24 Dunfermline City (DFE) | 0 changesdirect | |
W69829 | On time 23:17 Edinburgh Waverley (EDB) | 0h34 | 23:51 Dunfermline City (DFE) | 0 changesdirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare train and coach prices over the next three weeks. See the best deals at a glance, find the lowest fares, and choose the option that fits your budget.
Trains from Edinburgh to Dunfermline run on average 9 times per day, taking around 33m. Cheap train tickets for this journey start at £5 but you can travel from only £4 by coach.
There are 9 trains per day. The earliest train runs at 05:54, the last at 23:51. The fastest train covers the 21 km distance in 30m.
Distance 21 km |
Average train duration 33m |
Cheapest ticket price £5 |
Trains per day 9 |
Direct trains 9 |
Fastest train 30m |
First train 5:54 |
Last train 23:51 |
Cheapest Month Mar |
Cheapest Day Sat |
High Season Jul - Sept |
Low Season Oct - Dec |
Busiest Day Mon |
Least Busy Day Wed |
Best time to book 2 days |
Discover the best of Dunfermline — top attractions, local food, transport tips, budget advice, and currency essentials. Plan your perfect Dunfermline trip today.
Dunfermline’s main museum and gallery, covering local history, art, industry and Andrew Carnegie. A strong introduction to the city.
Historic house museum near the abbey with period rooms, a garden and changing displays. It adds domestic detail to Dunfermline’s story.
Volunteer-run military museum with artefacts, uniforms and records linked to the Royal and Ancient Burghs of Scotland and local service history.
Large public park with formal gardens, woodland walks and peacocks. A favourite place to stroll close to the abbey and palace ruins.
Historic quarter around the abbey, palace and old streets. Ideal for walking between major sights and getting a feel for medieval Dunfermline.
Wooded glen path and heritage area below the palace. It offers quiet walking, bridges and attractive views near the city centre.
A hearty Scottish soup of smoked haddock, potatoes and onions. Closely linked to Fife fishing traditions and commonly found across the area.
Smoked haddock in a creamy sauce, traditionally topped with mashed potato and baked. A comforting east coast Scottish fish dish popular in Fife.
Scotland’s classic savoury pudding made with sheep offal, oats and spices. A staple of traditional suppers and Burns Night menus.
Popular restaurant known for steaks, grills and seafood in a stylish but relaxed setting near the city centre.
Established Italian restaurant with pizzas, pasta and classic mains in a friendly, dependable setting for families and groups.
Well-known traditional pub serving Scottish favourites, cask ales and comfort food in a cosy historic atmosphere.
Moderate for the UK. Hotels and dining are usually cheaper than Edinburgh, while rail fares and city-centre stays can still raise daily tourist costs.
Tipping is modest. In restaurants, 10-12.5% is common if service is not included. Round up taxi fares. Cafes and pubs usually do not expect tips, but small change is appreciated.
Find answers to the most common questions about traveling from Edinburgh to Dunfermline by train. From journey times and ticket prices to direct connections, first and last departures, and even whether the route is scenic, our FAQs cover everything you need to plan your trip. Whether you’re looking for the fastest train, the cheapest option, or tips for making the most of your visit at Dunfermline, this guide helps you travel smarter and with confidence.

Most Edinburgh to Dunfermline trains use the Edinburgh Waverley to Dunfermline City station pair, with some services arriving at Dunfermline Queen Margaret. Use this guide to compare Edinburgh and Dunfermline train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
Edinburgh Waverley has practical services for this route, including Wifi, Lockers, Shopping, Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lounge, Lost and Found Office, Ticket Office, Bike Parking, Car Rental and Information Desk.
Food options include: Bagel Factory, Burger King, Caffè Nero, Costa Coffee, JD Wetherspoon, The Pasty Shop, The Beer House, M&S, Pret a Manger
Free public Wi-Fi available. ATMs are there are a few ATM machines around the station.
The ticket office is open Mon - Sat: 05:00 - 23:59, Sun: 07:00 - 23:59. Information desks are information booths are located on the concourse. .
Luggage storage is you can leave luggage at Excessive Baggage Company on Platform 2. . Lost and found is available at the station.
Available at Edinburgh Waverley: Parking, Taxis, WC.
Available at Edinburgh Waverley: Bike Parking, Car Rental.
Accessibility facilities are available at Edinburgh Waverley: Entrances are step free. Station is equipped with an elevator. Staffed with guide communicators for the deaf. Tactile warning strips are on the platform edges for the blind.
Nearby hotels include Old Waverley Hotel, Jurys Inn Edinburgh, The Scotsman Hotel.
Haymarket is 1 km from Edinburgh city centre. Public transport options include:
Haymarket has practical services for this route, including Wifi, Shopping, Parking, Dining, ATM, Accessibility, WC, Hotel, Lounge, Lost and Found Office, Ticket Office, Bike Parking and Information Desk.
Food and drink options are available at Haymarket.
Wi-Fi is available at Haymarket. ATMs are available at Haymarket.
Ticket office support is available at Haymarket. Information desks are information available from staff: Yes - from help point,Yes - from ticket office, Helpline Contact: Tel: 0800 046 1634 and 18001 0800 046 1634 (Deaf and customers who are hard of hearing), Passenger Information Systems: Departure screens, Announcements, Arrival screens.
Lost and found is available at the station.
Available at Haymarket: Parking, WC.
Available at Haymarket: Bike Parking.
Accessibility facilities are available at Haymarket: Staff help available: Yes, Step free access coverage: Yes, Step free access note: This is a Category A station. This station has step-free access to all platforms. The Passenger Assist meeting point is at the automatic ticket gates Blue Badge parking bays: 2, Accessible ticket machines: There are accessible ticket machines at this station, Accessible toilets: Yes, Ramp for train access: Yes, Wheelchairs available: Yes, Impaired mobility set down / pick up points available: No.
Edinburgh Gateway is 7 km from Edinburgh city centre. Public transport options include:
Edinburgh Gateway has practical services for this route, including Wifi, Parking, Dining, Accessibility, WC, Lounge, Lost and Found Office, Ticket Office, Bike Parking and Information Desk.
Food and drink options are available at Edinburgh Gateway.
Wi-Fi is available at Edinburgh Gateway.
Ticket office support is available at Edinburgh Gateway. Information desks are information available from staff: Yes - from help point,Yes - from ticket office, Helpline Contact: Tel: 0800 046 1634 and 18001 0800 046 1634 (Deaf and customers who are hard of hearing), Passenger Information Systems: Announcements, Arrival screens.
Lost and found is available at the station.
Available at Edinburgh Gateway: Parking, WC.
Available at Edinburgh Gateway: Bike Parking.
Accessibility facilities are available at Edinburgh Gateway: Staff help available: Yes, Step free access coverage: Yes, Step free access note: This is a Category A station. This station has step-free access to both platforms. The Passenger Assist meeting point is at the Ticket Office Blue Badge parking bays: 4, Accessible ticket machines: There are accessible ticket machines at this station, Accessible toilets: Yes, Ramp for train access: Yes, Wheelchairs available: Yes, Impaired mobility set down / pick up points available: Yes.
Dunfermline City has practical services for this route, including Wifi, Shopping, Parking, Dining, Accessibility, WC, Lounge, Lost and Found Office, Ticket Office, Bike Parking and Information Desk.
Food and drink options are available at Dunfermline City.
Wi-Fi is available at Dunfermline City.
Ticket office support is available at Dunfermline City. Information desks are information available from staff: Yes - from help point,Yes - from ticket office, Helpline Contact: Tel: 0800 046 1634 and 18001 0800 046 1634 (Deaf and customers who are hard of hearing), Passenger Information Systems: Departure screens, Arrival screens.
Lost and found is available at the station.
Available at Dunfermline City: Parking, WC.
Available at Dunfermline City: Bike Parking.
Accessibility facilities are available at Dunfermline City: Staff help available: Yes, Step free access coverage: Yes, Step free access note: This is a Category B station. Level to platform 2, subway and steep ramp to platform 1. The Passenger Assist meeting point is at the Ticket Office Blue Badge parking bays: 11, Accessible car park equipment: Wheelchair users may require assistance using car park equipment at this station, Accessible ticket machines: There are accessible ticket machines at this station, Accessible toilets: Yes, Ramp for train access: Yes, Wheelchairs available: No, Impaired mobility set down / pick up points available: No.
Dunfermline Queen Margaret is 2 km from Dunfermline city centre. Public transport options include:
Dunfermline Queen Margaret has practical services for this route, including Parking, Accessibility, Hotel, Lounge, Lost and Found Office, Bike Parking and Information Desk.
Information desks are information available from staff: Yes - from help point, Helpline Contact: Tel: 0800 046 1634 and 18001 0800 046 1634 (Deaf and customers who are hard of hearing), Passenger Information Systems: Departure screens, Announcements.
Lost and found is available at the station.
Available at Dunfermline Queen Margaret: Parking.
Available at Dunfermline Queen Margaret: Bike Parking.
Accessibility facilities are available at Dunfermline Queen Margaret: Staff help available: No, Step free access coverage: Yes, Step free access note: This is a Category A station. This station has step-free access to both platforms Blue Badge parking bays: 5, Accessible car park equipment: Wheelchair users may require assistance using car park equipment at this station, Accessible ticket machines: There are accessible ticket machines at this station, Ramp for train access: No, Wheelchairs available: No, Impaired mobility set down / pick up points available: Yes.
Here are some other resources that might have the information you need