W6869610:040h32Dunfermline City (DFE)10:36Edinburgh Waverley (EDB)£91One-way0 changes
W6874117:040h33Dunfermline City (DFE)17:37Edinburgh Waverley (EDB)£91One-way0 changes
W6865716:300h38Dunfermline City (DFE)17:08Edinburgh Waverley (EDB)£91One-way0 changes
W6865215:280h37Dunfermline City (DFE)16:05Edinburgh Waverley (EDB)£91One-way0 changes
W6866217:280h38Dunfermline City (DFE)18:06Edinburgh Waverley (EDB)£91One-way0 changes
W6873616:080h30Dunfermline City (DFE)16:38Edinburgh Waverley (EDB)£91One-way0 changes
W686928:570h31Dunfermline City (DFE)9:28Edinburgh Waverley (EDB)£91One-way0 changes
W6869610:040h32Dunfermline City (DFE)10:36Edinburgh Waverley (EDB)£91One-way0 changes
W6874117:040h33Dunfermline City (DFE)17:37Edinburgh Waverley (EDB)£91One-way0 changes
C147147:060h33Dunfermline City (DFE)7:39Edinburgh Waverley (EDB)£91One-way0 changes
Travel Information
Compare train and coach for Dunfermline to Edinburgh
Omio 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 coach with prices starting from £5. 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 coach costs an average of £5, and a train costs an average of £9.
Distance: 21 km
Compare train with
Most popular Train | Coach |
|---|---|
£9 Average Price | £5 Average Price Cheapest |
1h 6m Average total duration Fastest 36m Onboard + 30m Additional time* | 1h 14m Average total duration 44m Onboard + 30m Additional time* |
Direct Options | Direct Options |
Live departures
Dunfermline to Edinburgh train times
The table below shows live departures for Dunfermline to Edinburgh trains for today, Tuesday 21 July. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Changes | Tickets |
|---|---|---|---|---|---|
W68741 | On time 17:04 Dunfermline City (DFE) | 0h33 | 17:37 Edinburgh Waverley (EDB) | 0 changesdirect | |
| Wednesday 22 July | |||||
W68710 | 6:26 Dunfermline City (DFE) | 0h35 | 7:01 Edinburgh Waverley (EDB) | 0 changesdirect | |
C14714 | 7:06 Dunfermline City (DFE) | 0h33 | 7:39 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68714 | 7:22 Dunfermline City (DFE) | 0h37 | 7:59 Edinburgh Waverley (EDB) | 0 changesdirect | |
C14974 | 7:39 Dunfermline City (DFE) | 0h37 | 8:16 Edinburgh Waverley (EDB) | 0 changesdirect | |
L87633 | 8:05 Dunfermline City (DFE) | 0h36 | 8:41 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68638 | 8:25 Dunfermline City (DFE) | 0h41 | 9:06 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68692 | 8:57 Dunfermline City (DFE) | 0h31 | 9:28 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68646 | 9:25 Dunfermline City (DFE) | 0h37 | 10:02 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68696 | 10:04 Dunfermline City (DFE) | 0h32 | 10:36 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68655 | 10:30 Dunfermline City (DFE) | 0h37 | 11:07 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68701 | 11:07 Dunfermline City (DFE) | 0h33 | 11:40 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68660 | 11:28 Dunfermline City (DFE) | 0h37 | 12:05 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68705 | 12:03 Dunfermline City (DFE) | 0h34 | 12:37 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68668 | 12:26 Dunfermline City (DFE) | 0h35 | 13:01 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68717 | 13:04 Dunfermline City (DFE) | 0h35 | 13:39 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68675 | 13:27 Dunfermline City (DFE) | 0h37 | 14:04 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68723 | 14:05 Dunfermline City (DFE) | 0h34 | 14:39 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68641 | 14:26 Dunfermline City (DFE) | 0h35 | 15:01 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68729 | 15:03 Dunfermline City (DFE) | 0h35 | 15:38 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68652 | 15:28 Dunfermline City (DFE) | 0h37 | 16:05 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68736 | 16:08 Dunfermline City (DFE) | 0h30 | 16:38 Edinburgh Waverley (EDB) | 0 changesdirect | |
W68657 | 16:30 Dunfermline City (DFE) | 0h38 | 17:08 Edinburgh Waverley (EDB) | 0 changesdirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare prices and tickets Dunfermline to Edinburgh by train or coach
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.
22 Jul
23 Jul
24 Jul
25 Jul
26 Jul
27 Jul
28 Jul
Why should you book Dunfermline to Edinburgh trains with Omio?
Why book with Omio vs Scotrail?
- Compare with other providers: On Omio, you can not only buy tickets for Scotrail, but also compare tickets for the likes of ScotRail to find the best option for your trip from Dunfermline to Edinburgh.
- Designed for International Travelers: Omio is in your language including 24/7 customer service and offers multiple payment options, including PayPal, credit cards, and bank transfer, in your preferred currency.
- Compare all your options: Omio allows you to compare Scotrail with all available travel options, which are train and bus to ensure you get the best deal for traveling from Dunfermline to Edinburgh.
Why book with Omio over Wanderu or Rome2rio?
- Multiple modes of transport: Omio allows you to compare travel options including train and bus to find the ideal travel option from Dunfermline to Edinburgh.
Journey information
Overview: Train from Dunfermline to Edinburgh
Trains from Dunfermline to Edinburgh run on average 8 times per day, taking around 36m. Cheap train tickets for this journey start at £9 but you can travel from only £5 by coach.
There are 8 trains per day. The earliest train runs at 05:54, the last at 23:51. The fastest train covers the 21 km distance in 32m.
Distance 21 km |
Average train duration 36m |
Cheapest ticket price £9 |
Trains per day 8 |
Direct trains 8 |
Fastest train 32m |
First train 5:54 |
Last train 23:51 |
Cheapest Month Sept |
Cheapest Day Mon |
High Season Jul - Sept |
Low Season Jan - Mar |
Busiest Day Tue |
Least Busy Day Wed |
Best time to book 77 days |
Train companies: Scotrail, ScotRail from Dunfermline to Edinburgh trainsScotrail, ScotRail trains will get you between Dunfermline and Edinburgh from £5. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.
Scotrail
ScotRail
FAQs: Dunfermline to Edinburgh train
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.

popular train stations
Important Stations and Airports in Dunfermline and Edinburgh
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.
Which Dunfermline station do trains to Edinburgh leave from?
Getting to Dunfermline City from Dunfermline city centre
Dunfermline City 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
Food and drink options are available at Dunfermline City.
Wi-Fi and ATMs
Wi-Fi is available at Dunfermline City.
Tickets and information
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.
Luggage and lost property
Lost and found is available at the station.
Parking, taxis and toilets
Available at Dunfermline City: Parking, WC.
Bike and car services
Available at Dunfermline City: Bike Parking.
Accessibility
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.
Getting to Dunfermline Queen Margaret from Dunfermline city centre
Dunfermline Queen Margaret is 2 km from Dunfermline city centre. Public transport options include:
Dunfermline Queen Margaret train station facilities and services
Dunfermline Queen Margaret has practical services for this route, including Parking, Accessibility, Hotel, Lounge, Lost and Found Office, Bike Parking and Information Desk.
Tickets and information
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.
Luggage and lost property
Lost and found is available at the station.
Parking, taxis and toilets
Available at Dunfermline Queen Margaret: Parking.
Bike and car services
Available at Dunfermline Queen Margaret: Bike Parking.
Accessibility
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.
Getting to Edinburgh Waverley from Edinburgh city centre
Edinburgh Waverley 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 and drink
Food options include: Bagel Factory, Burger King, Caffè Nero, Costa Coffee, JD Wetherspoon, The Pasty Shop, The Beer House, M&S, Pret a Manger
Wi-Fi and ATMs
Free public Wi-Fi available. ATMs are there are a few ATM machines around the station.
Tickets and information
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 and lost property
Luggage storage is you can leave luggage at Excessive Baggage Company on Platform 2. . Lost and found is available at the station.
Parking, taxis and toilets
Available at Edinburgh Waverley: Parking, Taxis, WC.
Bike and car services
Available at Edinburgh Waverley: Bike Parking, Car Rental.
Accessibility
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.
Shops, hotels and contact
Nearby hotels include Old Waverley Hotel, Jurys Inn Edinburgh, The Scotsman Hotel.
Getting to Haymarket from Edinburgh city centre
Haymarket is 1 km from Edinburgh city centre. Public transport options include:
Haymarket train station facilities and services
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
Food and drink options are available at Haymarket.
Wi-Fi and ATMs
Wi-Fi is available at Haymarket. ATMs are available at Haymarket.
Tickets and information
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.
Luggage and lost property
Lost and found is available at the station.
Parking, taxis and toilets
Available at Haymarket: Parking, WC.
Bike and car services
Available at Haymarket: Bike Parking.
Accessibility
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.
Getting to Edinburgh Gateway from Edinburgh city centre
Edinburgh Gateway is 7 km from Edinburgh city centre. Public transport options include:
Edinburgh Gateway train station facilities and services
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
Food and drink options are available at Edinburgh Gateway.
Wi-Fi and ATMs
Wi-Fi is available at Edinburgh Gateway.
Tickets and information
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.
Luggage and lost property
Lost and found is available at the station.
Parking, taxis and toilets
Available at Edinburgh Gateway: Parking, WC.
Bike and car services
Available at Edinburgh Gateway: Bike Parking.
Accessibility
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.
Most popular train connections from Dunfermline
More options for your journey from Dunfermline to Edinburgh
Here are some other resources that might have the information you need
