Dunfermline to Edinburgh train

Sun, Jun 23
+ Add return
Scan to get our free app
Use our app to get live travel updates and book mobile tickets for trains, buses, flights, and ferries.
App Store
42K ratings
Google Play
136K reviews

Cheap train tickets and times from Dunfermline to Edinburgh

Showing times and prices for Jun 23


Fastest Journey

35 m


37 m

Trains per day



21 km

Cheap train tickets from Dunfermline to start from $9 with an average ticket price of $9.

The fastest train from Dunfermline to takes 35m in comparison to an average duration of 37m and covers a distance of 21 km.

4 trains that leave Dunfermline for every day with 4 travelling directly.

0 transfers
0 transfers
0 transfers
0 transfers

Compare prices and tickets Dunfermline to Edinburgh by train

Jun 23
Jun 24
Jun 25
Jun 26
Jun 27
Jun 28
Jun 29

More than 1,000 travel companies trust us to sell their tickets all in one place.

Deutsche Bahn

Overview: Train from Dunfermline to Edinburgh

distanceDistance13 miles (21 km)
durationAverage train duration32 min
priceAverage train ticket price$10 (€8)
frequencyTrain frequency16 a day
changesDirect trainYes, there are 16 direct trains a day
carriersTrain providersScotRail

Trains from Dunfermline to Edinburgh cover the 13 miles (21 km) long route taking on average 32 min with our travel partners like ScotRail. Normally, there are 16 trains operating per day, including direct services available. While the average ticket price for this route costs around $10 (€8), you can find the cheapest train ticket for as low as $6 (€5). Travelers depart most frequently from Dunfermline City and arrive in Edinburgh Waverley.

Train companies: ScotRail from Dunfermline to Edinburgh trains

Find the best trains to Edinburgh from Dunfermline with Omio's travel partners ScotRail from $6 (€5). We can find you the best deals, schedules and tickets when comparing and booking the best trip.

Scotrail is a train operating company in Scotland, providing rail services throughout the country. It operates a wide range of services, from commuter trains to long-distance intercity services. The company operates a variety of train types, including the Class 380, Class 385, Class 156, Class 158 and Class 170. These trains offer a range of onboard facilities, such as free Wi-Fi, power sockets, and comfortable seating. Scotrail also offers a range of ticket types, including Advance, Off-Peak, and Anytime tickets. The most popular routes for Scotrail include Glasgow to Edinburgh, Glasgow to Inverness, and Edinburgh to Aberdeen.

Dunfermline to Edinburgh train information with ScotRail:

  • Average Duration: 32 min
  • Cheapest Price: $6
  • ScotRail frequency: 16 a day

FAQs: Trains from Dunfermline to Edinburgh

FAQs: Travel by train from Dunfermline to Edinburgh 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 Dunfermline to Edinburgh.
Cheap train tickets from Dunfermline to Edinburgh can start from as little as $6 (€5) when you book in advance. The average train ticket price for Dunfermline to Edinburgh is $10 (€8); however, prices vary depending on the time of day and class and they tend to be more expensive on the day.
On average the Dunfermline to Edinburgh train travel time is 32 min   for the 13 mile (21 km) long journey, but the duration can vary if you travel on weekends and holidays.
The first train from Dunfermline to Edinburgh leaves at 5: 26 AM. Plan your trip with the Journey Planner   from Omio.
The last train from Dunfermline to Edinburgh leaves at 11: 09 PM.
Yes, it is possible to travel from Dunfermline to Edinburgh without having to change trains with ScotRail. There are 16 direct trains from Dunfermline to Edinburgh each day. There may be fewer direct services available on weekends or holidays.
Take the Dunfermline to Edinburgh train with ScotRail. However, it's always good to check out all possible train providers for the route to Edinburgh from Dunfermline as there might be differences in the amenities they offer.
No, there are no night trains, the latest train for this route is 11: 09 PM.

When departing from Dunfermline, you have various train station options to start your journey from including Dunfermline City and Dunfermline Queen Margaret. When arriving in Edinburgh, you can end your route in train stations like Edinburgh Waverley, Edinburgh Park and Edinburgh Gateway.

Passengers board the train most frequently from Dunfermline City, which is located around 0.7 miles (1.2 km) away from the city centre, and they get off the train at Edinburgh Waverley, located 0.4 miles (727 m) away from the city centre.

A day trip to Edinburgh from Dunfermline is worth doing with a journey time of 32 min each way. Check with Omio app   the best way to travel.
The cheapest month for a train from Dunfermline to Edinburgh is November.
Yes, you can take a train between Dunfermline and Edinburgh.

Important Stations and Airports in Dunfermline and Edinburgh

Dunfermline City is the most popular Dunfermline railway station for Omio travelers, but it's not the only one. Read all the information you need to know about the main train stations in Dunfermline for your trip to Edinburgh.
Amenities at station
Public transit options for Dunfermline City
Location for Rail Replacement Services: Buses pick up/drop off from Station car park (disabled spaces) off of St. Margarets drive - KY12 7HT.
Dunfermline Queen MargaretParkingAccessibility
Amenities at station
Public transit options for Dunfermline Queen Margaret
Location for Rail Replacement Services: Buses pick up/drop off from the station car park at the entrance to Platform 2

The Omio App Makes Travel Planning Easy

We’ll get you where you want to go. From live train updates to mobile tickets, our innovative app is the ideal way to plan and keep track of your travel.

Hand With Phone
More routes, destinations and providers