- Must visit
National Museum of Scotland
Scotland's flagship museum covers science, design, natural history, and world cultures in a landmark building with excellent family appeal.
Cheapest price
kr74
Average price
kr74
Fastest journey
31 m
Average duration
35 m
Trains per day
6
Distance
21 km
The best way to find a cheap train ticket from Dunfermline to Edinburgh is to book your journey as far in advance as possible and to avoid traveling at rush hour.
The average ticket from Dunfermline to Edinburgh will cost around kr74 if you buy it on the day, but the cheapest tickets can be found for only kr74.
Of the 6 trains that leave Dunfermline for Edinburgh on Wed, Aug 26, 6 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Wed, Aug 26 the direct trains cover the 21 km distance in an average of 35 m but if you time it right, some trains will get you there in just 31 m .
On Wed, Aug 26 the slowest trains will take 37 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.
L87633
W68696
W68655
W68638
W68692
W68692
W68696
L87633
W68655
W68646Omio recommends booking the train as it is the most popular option from Dunfermline to Edinburgh among Omio's users. If you are prioritising price take the train with prices starting from kr72. For those with little time consider booking a train which can get you there in 36m. The ticket price range depends on the travel mode: a train costs an average of kr72, and a train costs an average of kr72.
Distance: 13 miles (21 km)
Most popular Train | Bus | Driving |
|---|---|---|
kr74 Average price Cheapest | kr320 Average price (fuel + tolls) | |
1h 6m Average total duration Fastest 36m Onboard + 30m Additional time* | 39m Average total duration (door-to-door) | |
Direct Options | Direct Options | Direct Options |
The journey is about 3m faster (36m by train vs 39m by car) and roughly kr246 cheaper once you factor in fuel and tolls (kr74 vs kr320). 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 Dunfermline to Edinburgh trains for today, Tuesday, August 25. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
W68705 | On time 12:03 PM Dunfermline City (DFE) | 0h34 | 12:37 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68668 | On time 12:26 PM Dunfermline City (DFE) | 0h35 | 1:01 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68717 | On time 1:04 PM Dunfermline City (DFE) | 0h35 | 1:39 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68675 | On time 1:27 PM Dunfermline City (DFE) | 0h37 | 2:04 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68723 | On time 2:05 PM Dunfermline City (DFE) | 0h34 | 2:39 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68641 | On time 2:26 PM Dunfermline City (DFE) | 0h35 | 3:01 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68729 | On time 3:03 PM Dunfermline City (DFE) | 0h35 | 3:38 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68652 | On time 3:28 PM Dunfermline City (DFE) | 0h37 | 4:05 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68736 | On time 4:08 PM Dunfermline City (DFE) | 0h30 | 4:38 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68657 | On time 4:30 PM Dunfermline City (DFE) | 0h38 | 5:08 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68741 | On time 5:04 PM Dunfermline City (DFE) | 0h33 | 5:37 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
| Wednesday, August 26 | |||||
L87633 | 8:05 AM Dunfermline City (DFE) | 0h36 | 8:41 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68638 | 8:25 AM Dunfermline City (DFE) | 0h41 | 9:06 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68692 | 8:57 AM Dunfermline City (DFE) | 0h31 | 9:28 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68646 | 9:25 AM Dunfermline City (DFE) | 0h37 | 10:02 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68696 | 10:04 AM Dunfermline City (DFE) | 0h32 | 10:36 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68655 | 10:30 AM Dunfermline City (DFE) | 0h37 | 11:07 AM Edinburgh Waverley (EDB) | 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 Dunfermline to Edinburgh run on average 10 times per day, taking around 36m. Cheap train tickets for this journey start at kr72 if you book in advance.
There are 10 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 30m.
Distance 13 miles (21 km) |
Average train duration 36m |
Cheapest ticket price kr72 |
Trains per day 10 |
Direct trains 10 |
Fastest train 30m |
First train 5:54 AM |
Last train 11:51 PM |
Cheapest Month Sep |
Cheapest Day Thu |
High Season Jul - Sep |
Low Season Jan - Mar |
Busiest Day Tue |
Least Busy Day Fri |
Best time to book 77 days |
Discover the best of Edinburgh — top attractions, local food, transport tips, budget advice, and currency essentials. Plan your perfect Edinburgh trip today.
Scotland's flagship museum covers science, design, natural history, and world cultures in a landmark building with excellent family appeal.
Major art gallery with Scottish and international works from the Renaissance onward, set dramatically on The Mound in the city centre.
Gallery of modern and contemporary art in a neoclassical building with sculpture park, strong changing exhibitions, and a peaceful setting.
Historic spine of the Old Town linking the castle and palace, lined with closes, landmarks, performers, shops, and layered city history.
Elegant shopping boulevard in the New Town with castle views, gardens below, major monuments, and strong access to central attractions.
Extinct volcano in Holyrood Park climbed for sweeping city views, sunrise walks, and one of Edinburgh's most memorable outdoor experiences.
A rich savoury pudding of sheep offal, oats, suet, onion and spices, traditionally served with neeps and tatties. Scotland’s national dish and central to Burns Suppers.
Mashed turnips and potatoes, usually served with haggis. This classic Scottish side is a staple of traditional Edinburgh meals.
A hearty soup of smoked haddock, potatoes and onions in milk or cream. Strongly linked to Scotland’s fishing heritage and widely loved in Edinburgh.
Refined Scottish fine dining in the Balmoral Hotel, known for seasonal tasting menus and polished service in an elegant setting.
Historic oyster bar and restaurant serving Scottish seafood, shellfish and game in a lively, classic Victorian dining room.
Celebrated modern Scottish restaurant focused on local produce, creative small plates and a relaxed but high-quality neighbourhood feel.
Edinburgh is pricier than many UK cities. Hotels surge in festival season, dining is mid-to-high, and transit is reasonable but not especially cheap for visitors.
Tipping is optional. In restaurants, 10-12.5% is common if no service charge is added. Round up for taxis. Cafes usually do not expect tips.
Find answers to the most common questions about traveling from Dunfermline to Edinburgh 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 Edinburgh, this guide helps you travel smarter and with confidence.

Most Dunfermline to Edinburgh trains use the Dunfermline City to Edinburgh Waverley station pair, with some services arriving at Haymarket. Use this guide to compare Dunfermline and Edinburgh train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.
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.
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.
Here are some other resources that might have the information you need