Dunfermline to Edinburgh train with ScotRail

Sat 28 Feb
+ Add return
ScotRail
ScotRail
Great Western Rail
Avanti West Coast
West Midlands Trains
1,000+ travel companies
ScotRail
ScotRail
Great Western Rail
Avanti West Coast
West Midlands Trains
1,000+ travel companies
QR-Code
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
rate4.9
42K ratings
Google Play
rate4.6
136K reviews

The cheapest and fastest trains from Dunfermline to Edinburgh

Showing times and prices for 02 Mar

Cheapest price

£9

Average price

£9

Fastest journey

31 m

Average duration

33 m

Trains per day

12

Distance

21 km

Cheap tickets

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 travelling at rush hour.

The average ticket from Dunfermline to Edinburgh will cost around £9 if you buy it on the day, but you can find cheap train tickets today for only £9.

Fast trains

Of the 12 trains that leave Dunfermline for Edinburgh every day 12 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.

These direct trains cover the 21 km distance in an average of 33 m but if you time it right, some trains will get you there in just 31 m .

The slowest trains will take 35 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.

ScotRailY40666
10:300h37
Dunfermline City (DFE)
11:07Edinburgh Waverley (EDB)
£91One-way
0 changes
ScotRailY40651
08:250h41
Dunfermline City (DFE)
09:06Edinburgh Waverley (EDB)
£91One-way
0 changes
ScotRailY40712
11:070h33
Dunfermline City (DFE)
11:40Edinburgh Waverley (EDB)
£91One-way
0 changes
ScotRailY40659
09:250h37
Dunfermline City (DFE)
10:02Edinburgh Waverley (EDB)
£91One-way
0 changes
ScotRailY40729
13:040h35
Dunfermline City (DFE)
13:39Edinburgh Waverley (EDB)
£91One-way
0 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 train 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 train costs an average of £6, and a coach costs an average of £8.

Distance: 21 km

Compare train with

Most popular
Train
Coach

£8

Average Price

Cheapest

£8

Average Price

1h 6m

Average total duration

Fastest

36m

Onboard

+

30m

Additional time*

3h 58m

Average total duration

3h 28m

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 tomorrow, Monday 2 March. You can also manually refresh the results below to see updated train journeys.

Last updated at 19:26
ProviderDepartsDurationArrivesChanges
Tickets
scotrailY39109
On time
08:05 Dunfermline City (DFE)
0h36
08:41 Edinburgh Waverley (EDB)
0 changesdirect
scotrailY40651
On time
08:25 Dunfermline City (DFE)
0h41
09:06 Edinburgh Waverley (EDB)
0 changesdirect
scotrailY40705
On time
08:57 Dunfermline City (DFE)
0h31
09:28 Edinburgh Waverley (EDB)
0 changesdirect
scotrailY40659
On time
09:25 Dunfermline City (DFE)
0h37
10:02 Edinburgh Waverley (EDB)
0 changesdirect
scotrailY40709
On time
10:04 Dunfermline City (DFE)
0h32
10:36 Edinburgh Waverley (EDB)
0 changesdirect
scotrailY40666
On time
10:30 Dunfermline City (DFE)
0h37
11:07 Edinburgh Waverley (EDB)
0 changesdirect
scotrailY40712
On time
11:07 Dunfermline City (DFE)
0h33
11:40 Edinburgh Waverley (EDB)
0 changesdirect
scotrailY40672
On time
11:28 Dunfermline City (DFE)
0h37
12:05 Edinburgh Waverley (EDB)
0 changesdirect
scotrailY40717
On time
12:03 Dunfermline City (DFE)
0h34
12:37 Edinburgh Waverley (EDB)
0 changesdirect
scotrailY40680
On time
12:26 Dunfermline City (DFE)
0h35
13:01 Edinburgh Waverley (EDB)
0 changesdirect
scotrailY40729
On time
13:04 Dunfermline City (DFE)
0h35
13:39 Edinburgh Waverley (EDB)
0 changesdirect
scotrailY40688
On time
13:27 Dunfermline City (DFE)
0h37
14:04 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.

Mon
02 Mar
Tue
03 Mar
Wed
04 Mar
Thu
05 Mar
Fri
06 Mar
Sat
07 Mar
Sun
08 Mar

Why should you book Dunfermline to Edinburgh trains with Omio?

ScotRail as well as ScotRail offer trains services from Dunfermline to Edinburgh.
Omio is an official ticket reseller for all your travel options from Dunfermline to Edinburgh.

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

United KingdomUnited Kingdom
United KingdomUnited Kingdom
Icon of train

Trains from Dunfermline to Edinburgh run on average 8 times per day, taking around 36m. Cheap train tickets for this journey start at £6 if you book in advance.

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.

Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information
Distance
21 km
Average train duration
36m
Cheapest ticket price
£6
Trains per day
8
Direct trains
8
Fastest train
32m
First train
05:54
Last train
23:51
Fares are the lowest economy prices found on Omio. Early booking often means lower prices. Prices change daily and are subject to availability. Discount cards, coach trips, and booking fees are not included.
Price information

Train companies: ScotRail from Dunfermline to Edinburgh trainsScotRail trains will get you between Dunfermline and Edinburgh from £6. With over 1000 travel companies on Omio, you can find the best train times and tickets for your trip.

ScotRail

About
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.
Luggage & cancellation policy
Average Duration
32m
Cheapest Price
£6
Luggage included
2 large items of luggage and 1 small item included
Luggage storage
Overhead racks, designated luggage areas at end of carriages, under seats
Cancellation Policy
According to ticket conditions mentioned above
Refund
Full refund if service canceled
Amenities on board the train
Wifi
Food sold onboard
Trolley service on most routes with snacks and drinks, some stations have catering facilities
Seat reservation
Seat reservations are free but optional, recommended during peak times
Toilets
USB plugs
Accessibility
Wheelchair spaces, accessible toilets, ramps for boarding, passenger assistance service available
Pets
Small pets in carriers travel free, dogs allowed with ticket (£1-£3), maximum 2 dogs per passenger, assistance dogs free
Quiet zone

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.

FAQs
The cost of a train ticket from Dunfermline to Edinburgh can vary. The cheapest tickets are usually available from £6, while the average price tends to be around £8.
The train journey from Dunfermline to Edinburgh covers a distance of 21 km and takes approximately 32m. Trains run 8 per day.
The train distance from Dunfermline to Edinburgh is 21 km.
The first train from Dunfermline to Edinburgh leaves at 5:54.
The last train from Dunfermline to Edinburgh departs at 23:51.
Trains from Dunfermline to Edinburgh run approximately 8 times per day.
Currently, there is no high-speed train service from Dunfermline to Edinburgh.
Yes, there is a direct train between Dunfermline and Edinburgh. The service operates 8 times per day, provided by ScotRail, ScotRail.
To get from Dunfermline to Edinburgh, you can choose from several travel options including train and coach.
There is no night train service from Dunfermline to Edinburgh.
The train station in Dunfermline that goes to Edinburgh is Dunfermline City (DFE), and it arrives at Edinburgh Waverley (EDB).
The cheapest way to get from Dunfermline to Edinburgh is by train, costing approximately £6.
Booking trains from Dunfermline to Edinburgh in advance is advisable, especially during peak travel seasons or for long journeys, to ensure availability and secure better fares.
The train journey from Dunfermline to Edinburgh offers scenic views as it crosses the iconic Forth Bridge, providing picturesque landscapes of the Firth of Forth and surrounding areas.
Yes, a day trip from Dunfermline to Edinburgh is feasible, with a journey time of 32m and a distance of 21 km. There are 8 trains per day.
In Edinburgh, you can explore the vibrant atmosphere of Grassmarket with its pubs, shops, and street performances, or enjoy a ghost tour through the haunted streets and underground vaults. Attend a performance at the Edinburgh Festival Theatre, and visit the Royal Botanic Garden Edinburgh for beautiful landscapes. Discover hidden gems and local art at the Stockbridge Market. Must-see sights include Edinburgh Castle, offering panoramic views and housing the Crown Jewels, Arthur's Seat for hiking and city views, The Royal Mile lined with shops and landmarks, Holyrood Palace with its stunning gardens, and the National Museum of Scotland showcasing diverse exhibits.
To fully experience Edinburgh's historic sites, cultural attractions, and local cuisine, a stay of three to four days is recommended.
Yes, you can take the train from Dunfermline to Edinburgh.

popular train stations

Important Stations and Airports in Dunfermline and Edinburgh

Dunfermline
Edinburgh
The major train station for departures in Dunfermline is Dunfermline City. Find all the information you need to know about services, amenities and connections at Dunfermline City for your trip from Dunfermline to Edinburgh.
Amenities at train station
WifiWifi
ShoppingShopping
ParkingParking
DiningDining
AccessibilityAccessibility
WCWC
LoungeLounge
Lost and Found OfficeLost and Found Office
Ticket OfficeTicket Office
Bike ParkingBike Parking
Information DeskInformation Desk
information
ticketOfficeHours
Ticket Office Hours
  • Opening hours: Monday - Friday 06:40 - 19:45 Saturday 06:40 - 19:45 Sunday Closed
Shopping
Shopping
  • Type of shops available: News kiosk
Parking
Parking
  • Car Park: Station Car Park
Accessibility
Accessibility
  • 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
WC
WC
  • Toilets Location: The toilets are located on Platform 2. Radar - National Key Scheme
  • National key toilets: Yes
  • Baby changing facilities: Yes
Lounge
Lounge
  • Waiting rooms location: Platform 1 - Opens between 07:00 and 18:00 Platform 2 - Opens between 06:45 and 19:45
Bike Parking
Bike Parking
  • Storage sheltered: Yes
  • Storage CCTV: No
Information Desk
Information Desk
  • 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
Public transport 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.
Amenities at train station
ParkingParking
AccessibilityAccessibility
HotelHotel
LoungeLounge
Lost and Found OfficeLost and Found Office
Bike ParkingBike Parking
Information DeskInformation Desk
information
ticketOfficeHours
Distance to city center
2 km
Parking
Parking
  • Car Park: Station Car Park
Accessibility
Accessibility
  • 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
Bike Parking
Bike Parking
  • Storage sheltered: No
  • Storage CCTV: No
Information Desk
Information Desk
  • 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
Public transport 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

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

HomeTrainsTrain Times to Edinburgh Dunfermline to Edinburgh train

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.

ios-badge
android-badge
Hand With Phone