Travel Information from Edinburgh to Dunfermline
| 13 miles (21 km) | |
| Train or bus | |
| $6 - $10 | |
| Bus • $6 (€5) • 40 min | |
| Train • $10 (€9) • 29 min | |
| Stagecoach East Scotland or ScotRail |
Travel 13 miles (21 km) by train or bus from Edinburgh to Dunfermline. The most popular travel companies which serve this route are Stagecoach East Scotland or ScotRail among others. Travelers can even take a direct bus or train from Edinburgh to Dunfermline.
Travel optionsfrom Edinburgh to Dunfermline
How to get from Edinburgh to Dunfermline by train, bus or flight.
Our recommendation
The best way to travel from Edinburgh to Dunfermline is by taking a train because it’s the best combination of price and speed.

Cheapest

Fastest

Other options



Find all the dates and times for this journey by train, bus, flight, and ferry .
Compare prices and tickets Prices for trains, buses and flights
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.
Nov 26
Nov 27
Nov 28
Nov 29
Nov 30
Dec 01
Dec 02
More than 1,000 travel companies trust us to sell their tickets all in one place.
FAQs: Travel from Edinburgh to Dunfermline
Travel to Dunfermline easily. Whether you want fast, cheap or something entirely different, our travel experts have collected everything you need to know so you can find the best option from Edinburgh to Dunfermline.

You can get from Edinburgh to Dunfermline 2 different ways: train or bus.
The cheapest way to go to Dunfermline from Edinburgh is by taking a bus, which costs on average $6 (€5).
This is compared to other ways of getting from Edinburgh to Dunfermline:
A bus is $5 (€4) less than a train with an average ticket price of $10 (€9) from Edinburgh to Dunfermline.
The fastest way to get to Dunfermline from Edinburgh is by train with an average travel time of 29 min.
Other travel options to Dunfermline take longer:
Getting to Dunfermline by bus takes 40 min on average.
The Edinburgh to Dunfermline distance is around 13 miles (21 km).
The average frequency per day from Edinburgh to Dunfermline is:
- 5 buses per day.
- 8 trains a day.
However, we recommend checking specific travel dates for your trip from Edinburgh to Dunfermline as scheduled services by train or bus can vary by season or day of the week.
These are the most popular departure and arrival points from Edinburgh to Dunfermline:
- Buses mostly depart from Edinburgh, Bus Station and arrive in Dunfermline, Halbeath Park and Ride.
- Trains from Edinburgh to Dunfermline most often leave from Edinburgh Waverley and arrive in Dunfermline City.
The following travel companies offer services from Edinburgh to Dunfermline:
- Travel with Stagecoach East Scotland for buses to Dunfermline. If you’re looking for a good deal on tickets, check for Stagecoach East Scotland Edinburgh to Dunfermline tickets on Omio for $6 (€5).
- Travel with ScotRail to go to Dunfermline by train. For a good deal on tickets, you can find ScotRail Edinburgh to Dunfermline tickets on Omio for $10 (€9).
Yes, there are direct routes from Edinburgh to Dunfermline with the following travel companies:
- You'll find 8 direct trains a day to Dunfermline with ScotRail.
Direct services to Dunfermline tend to save you time and add more convenience as you won't need to transfer at another stop in between, so it's worth paying attention to before booking tickets for your trip.
Travelling from Edinburgh to Dunfermline: related information
Here are some other resources that might have the information you need
