- Must visit
Dunfermline Carnegie Library & Galleries
Award-winning museum and gallery exploring Dunfermline's royal, industrial, and Carnegie history. The city's essential cultural visit.
Cheapest price
€9
Average price
€9
Fastest journey
32 m
Average duration
33 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 traveling at rush hour.
The average ticket from Edinburgh to Dunfermline will cost around €9 if you buy it on the day, but the cheapest tickets can be found for only €9.
Of the 6 trains that leave Edinburgh for Dunfermline on Wed, Aug 05, 6 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Wed, Aug 05 the direct trains cover the 21 km distance in an average of 33 m but if you time it right, some trains will get you there in just 32 m .
On Wed, Aug 05 the slowest trains will take 33 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.










Omio 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 bus with prices starting from €5. 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 bus costs an average of €5, and a train costs an average of €6.
Distance: 13 miles (21 km)
Most popular Train | Bus | Driving |
|---|---|---|
€9 Average price | €5 Average price Cheapest | €40 Average price (fuel + tolls) |
1h 3m Average total duration Fastest 33m Onboard + 30m Additional time* | 1h 30m Average total duration 1h 0m Onboard + 30m Additional time* | 40m Average total duration (door-to-door) |
Direct Options | Direct Options | Direct Options |
This is compared to other travel options from Edinburgh to Dunfermline:
A bus is €4 less than a train for this route with tickets for a train from Edinburgh to Dunfermline costing on average €9.
Other travel options to Dunfermline take longer:
Bus takes on average 1h 0m.
The journey is about 7m faster (33m by train vs 40m by car) and roughly €31 cheaper once you factor in fuel and tolls (€9 vs €40). You'll also arrive in the city centre rather than hunting for parking, and you can work, read, or watch the landscape go by instead of concentrating on the road.
Direct services run with Scotrail, ScotRail.
Driving is still worth considering if you want to stop along the way or need a car once you arrive.
The table below shows live departures for Edinburgh to Dunfermline trains for today, Tuesday, August 4. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
W68830 | On time 12:46 PM Edinburgh Waverley (EDB) | 0h34 | 1:20 PM Dunfermline City (DFE) | 0 transfersDirect | |
W68810 | On time 1:18 PM Edinburgh Waverley (EDB) | 0h34 | 1:52 PM Dunfermline City (DFE) | 0 transfersDirect | |
W68840 | On time 1:48 PM Edinburgh Waverley (EDB) | 0h35 | 2:23 PM Dunfermline City (DFE) | 0 transfersDirect | |
W68814 | On time 2:17 PM Edinburgh Waverley (EDB) | 0h34 | 2:51 PM Dunfermline City (DFE) | 0 transfersDirect | |
W68855 | On time 2:45 PM Edinburgh Waverley (EDB) | 0h34 | 3:19 PM Dunfermline City (DFE) | 0 transfersDirect | |
![]() | 5:18 AM Edinburgh | 0h33 | 5:51 AM Dunfermline | 0 transfersDirect | |
![]() | 6:18 AM Edinburgh | 0h33 | 6:51 AM Dunfermline | 0 transfersDirect | |
![]() | 8:45 AM Edinburgh | 0h32 | 9:17 AM Dunfermline | 0 transfersDirect | |
![]() | 9:45 AM Edinburgh | 0h32 | 10:17 AM Dunfermline | 0 transfersDirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare train and bus 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 €6 but you can travel from only €5 by bus.
There are 9 trains per day. The earliest train runs at 05:54, the last at 23:51. The fastest train covers the 13 miles (21 km) distance in 31m.
Distance 13 miles (21 km) |
Average train duration 33m |
Cheapest ticket price €6 |
Trains per day 9 |
Direct trains 9 |
Fastest train 31m |
First train 5:54 AM |
Last train 11:51 PM |
Cheapest Month Mar |
Cheapest Day Tue |
High Season Jul - Sep |
Low Season Oct - Dec |
Busiest Day Mon |
Least Busy Day Fri |
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.
Award-winning museum and gallery exploring Dunfermline's royal, industrial, and Carnegie history. The city's essential cultural visit.
Historic house beside the abbey with heritage rooms and changing exhibitions. It offers intimate insight into old Dunfermline life.
Volunteer-run naval museum on a former Royal Navy base nearby. Excellent for Cold War, maritime, and dockyard history enthusiasts.
Historic public park with gardens, peacocks, and palace views. The town's best-loved green space and a top place for a relaxed walk.
Historic quarter around the abbey, palace, and old houses. The best area for absorbing the city's royal and medieval atmosphere.
Main shopping and civic street linking key heritage sights. Useful for orienting yourself while experiencing everyday city life.
A rich meat broth with barley, root vegetables and beef or mutton. A classic Scottish farmhouse soup still found on local menus in Fife.
Smoked haddock poached in milk, then mixed with mashed potato and butter. It is a beloved Scottish fish dish often served in coastal Fife.
Minced sheep offal with oats, suet and spices, cooked in a casing. Scotland's national dish and a staple at traditional suppers.
Refined restaurant within a country house hotel near Dunfermline, known for polished service and seasonal Scottish produce.
Popular steakhouse and grill in central Dunfermline, known for quality beef, hearty Scottish dishes and a lively casual setting.
Established gastropub serving Scottish and British classics, cask ales and comfort food in a relaxed historic inn atmosphere.
Moderate for the UK: hotels and meals are usually below Edinburgh, while rail links and local buses keep sightseeing and day trips fairly manageable.
Restaurants: 10-12.5% if not already added. Taxis: round up or add about 10%. Cafes: tipping is optional, usually just small change.
Official public transport app
Dunfermline City Railway Station -> Dunfermline Bus Station
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