- Must visit
National Museum of Scotland
Scotland’s flagship museum with collections spanning natural history, science, design, fashion, and Scottish history. A top all-round choice for first-time visitors.
Cheapest price
$11
Average price
$11
Fastest journey
37 m
Average duration
40 m
Trains per day
3
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 $11 if you buy it on the day, but the cheapest tickets can be found for only $11.
Of the 3 trains that leave Dunfermline for Edinburgh on Thu, May 28, 3 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Thu, May 28 the direct trains cover the 21 km distance in an average of 40 m but if you time it right, some trains will get you there in just 37 m .
On Thu, May 28 the slowest trains will take 41 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 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 | $50 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 $50 (€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, Wednesday, May 27. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
![]() | 7:25 AM Dunfermline | 0h41 | 8:06 AM Edinburgh | 0 transfersDirect | |
![]() | 8:25 AM Dunfermline | 0h41 | 9:06 AM Edinburgh | 0 transfersDirect | |
![]() | 9:04 AM Dunfermline | 0h32 | 9:36 AM Edinburgh | 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 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 with collections spanning natural history, science, design, fashion, and Scottish history. A top all-round choice for first-time visitors.
The national art gallery in central Edinburgh, known for European masters and Scottish art. Easy to combine with Princes Street Gardens and the Royal Mile.
A striking red-sandstone gallery dedicated to portraits of people who shaped Scottish history and culture. Popular for both the collection and the architecture.
Edinburgh’s most famous historic street, linking the castle and Holyroodhouse through closes, courtyards, shops, and major heritage sites.
A central public garden below the castle with iconic skyline views, floral displays, and easy access to both Old and New Town sights.
One of the city’s classic viewpoints, known for panoramic views, monuments, and sunrise or sunset photography. Especially popular on social media.
Scotland’s best-known national dish: a savory pudding traditionally made with minced offal, oats, onion, and spices, served with mashed turnips and potatoes.
A rich Scottish soup of smoked haddock, potatoes, and onions, closely associated with the northeast but widely loved in Edinburgh.
A hearty traditional soup made with barley, root vegetables, and usually lamb or mutton, valued as classic Scottish comfort food.
A popular gastropub by Tom Kitchin serving refined Scottish pub classics in a warm, stylish, and relaxed setting.
A long-established local favorite serving traditional Scottish dishes with local ingredients in a comfortable, accessible city-center setting.
One of Scotland’s oldest pubs, offering classic Scottish food and a historic tavern atmosphere slightly outside the city center.
Expensive by UK standards. Hotels peak in summer and festival season, while pubs and casual dining are more manageable.
About 10-12.5% in restaurants if service is not already included. Round up for taxis. Tips are optional in pubs and cafes.
Official public transport app
Edinburgh Waverley -> 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.

Here are some other resources that might have the information you need