- Must visit
National Museum of Scotland
Scotland’s flagship museum covering science, world cultures, design, fashion, and Scottish history in one major city-centre complex.










Cheapest price
$11
Average price
$11
Fastest journey
31m
Average duration
35m
Trains per day
10
Distance
20 km
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 bus with prices starting from $6. 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 bus costs an average of $6, and a train costs an average of $11.
Distance: 13 miles (21 km)
Most popular Train | Bus | Driving |
|---|---|---|
$11 Average price | $6 Average price Cheapest | $49 Average price (fuel + tolls) |
1h 6m Average total duration Fastest 36m Onboard + 30m Additional time* | 1h 14m Average total duration 44m Onboard + 30m Additional time* | 39m Average total duration (door-to-door) |
Direct Options | Direct Options | Direct Options |
This is compared to other travel options from Dunfermline to Edinburgh:
A bus is $5 (€4) less than a train for this route with tickets for a train from Dunfermline to Edinburgh costing on average $11 (€9).
Other travel options to Edinburgh take longer:
Bus takes on average 44m.
The journey is about 3m faster (36m by train vs 39m by car) and roughly $38 (€31) cheaper once you factor in fuel and tolls ($11 (€9) vs $49 (€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 Dunfermline to Edinburgh trains for today, Saturday, July 11. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
L87620 | On time 7:06 AM Dunfermline City (DFE) | 0h33 | 7:39 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68713 | On time 7:24 AM Dunfermline City (DFE) | 0h35 | 7:59 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68689 | On time 8:03 AM Dunfermline City (DFE) | 0h37 | 8:40 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68639 | On time 8:24 AM Dunfermline City (DFE) | 0h35 | 8:59 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68693 | On time 9:13 AM Dunfermline City (DFE) | 0h33 | 9:46 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68647 | On time 9:32 AM Dunfermline City (DFE) | 0h39 | 10:11 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68697 | On time 10:05 AM Dunfermline City (DFE) | 0h34 | 10:39 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68654 | On time 10:30 AM Dunfermline City (DFE) | 0h37 | 11:07 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68702 | On time 11:07 AM Dunfermline City (DFE) | 0h31 | 11:38 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
W68659 | On time 11:27 AM Dunfermline City (DFE) | 0h36 | 12:03 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
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 8 times per day, taking around 36m. Cheap train tickets for this journey start at $11 (€9) but you can travel from only $6 (€5) by bus.
There are 8 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 32m.
Distance 13 miles (21 km) |
Average train duration 36m |
Cheapest ticket price $11 (€9) |
Trains per day 8 |
Direct trains 8 |
Fastest train 32m |
First train 5:54 AM |
Last train 11:51 PM |
Cheapest Month Sep |
Cheapest Day Mon |
High Season Jul - Sep |
Low Season Jan - Mar |
Busiest Day Tue |
Least Busy Day Wed |
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 covering science, world cultures, design, fashion, and Scottish history in one major city-centre complex.
The principal national art gallery in central Edinburgh, known for Scottish and European masterpieces and an easy-to-visit Princes Street Gardens setting.
A striking neo-Gothic gallery dedicated to portraits of figures from Scottish history, with strong permanent displays and temporary exhibitions.
Edinburgh’s most famous historic street, linking the castle and Holyrood, lined with closes, monuments, museums, and major visitor sights.
One of Edinburgh’s essential viewpoints, known for sunrise and sunset city panoramas and its concentration of monuments.
A curving, colorful Old Town street that is heavily photographed and widely associated with Edinburgh’s most social-media-friendly streetscape.
Scotland’s national dish made from minced offal, oats, suet, and spices, traditionally served with neeps and tatties. It is closely associated with Edinburgh and Burns Night suppers.
A rich Scottish soup of smoked haddock, potatoes, and onions, often finished with milk or cream. It is a classic warming dish found in many Edinburgh pubs and restaurants.
A small double-crust meat pie, usually filled with seasoned minced lamb or mutton. It is a traditional Scottish snack commonly found in bakeries and football kiosks.
A long-established local favourite serving modern Scottish dishes with local produce in a relaxed setting. Popular for haggis, seafood, and dependable service.
A well-known gastropub by Tom Kitchin offering refined Scottish pub food in a warm neighbourhood atmosphere. Good for elevated classics and seasonal ingredients.
A reliable city-centre seafood restaurant known for Scottish mussels, oysters, and fish dishes. Casual and lively, it is a strong choice for local coastal flavours.
Edinburgh is pricey by UK standards, especially in August. Dining and hotels cost more than in many other British cities.
Service is sometimes included. If not, tip 10-12.5% in restaurants for good service. Round up in taxis. Tipping is not expected for pubs or takeaway, but small change is appreciated.
Official public transport app
Edinburgh Waverley, Edinburgh -> Princes Street, Edinburgh
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