Dunfermline to Edinburgh train with Scotrail

Wed 22 Jul
+ Add return
Scotrail
ScotRail
Avanti West Coast
Great Western Railway
Regionale
2,000+ travel companies
Scotrail
ScotRail
Avanti West Coast
Great Western Railway
Regionale
2,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
  • ScotrailW68696
    10:040h32
    Dunfermline City (DFE)
    10:36Edinburgh Waverley (EDB)
    £91One-way
    0 changes
  • ScotrailW68741
    17:040h33
    Dunfermline City (DFE)
    17:37Edinburgh Waverley (EDB)
    £91One-way
    0 changes
  • ScotrailW68657
    16:300h38
    Dunfermline City (DFE)
    17:08Edinburgh Waverley (EDB)
    £91One-way
    0 changes
  • ScotrailW68652
    15:280h37
    Dunfermline City (DFE)
    16:05Edinburgh Waverley (EDB)
    £91One-way
    0 changes
  • ScotrailW68662
    17:280h38
    Dunfermline City (DFE)
    18:06Edinburgh 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 coach with prices starting from £5. 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 coach costs an average of £5, and a train costs an average of £9.

Distance: 21 km

Compare train with

Most popular
Train
Coach

£9

Average Price

£5

Average Price

Cheapest

1h 6m

Average total duration

Fastest

36m

Onboard

+

30m

Additional time*

1h 14m

Average total duration

44m

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 today, Tuesday 21 July. You can also manually refresh the results below to see updated train journeys.

Last updated at
ProviderDepartsDurationArrivesChanges
Tickets
ScotrailW68741
On time
17:04 Dunfermline City (DFE)
0h33
17:37 Edinburgh Waverley (EDB)
0 changesdirect
Wednesday 22 July
ScotrailW687106:26 Dunfermline City (DFE)
0h35
7:01 Edinburgh Waverley (EDB)0 changesdirect
ScotrailC147147:06 Dunfermline City (DFE)
0h33
7:39 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW687147:22 Dunfermline City (DFE)
0h37
7:59 Edinburgh Waverley (EDB)0 changesdirect
ScotrailC149747:39 Dunfermline City (DFE)
0h37
8:16 Edinburgh Waverley (EDB)0 changesdirect
ScotrailL876338:05 Dunfermline City (DFE)
0h36
8:41 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW686388:25 Dunfermline City (DFE)
0h41
9:06 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW686928:57 Dunfermline City (DFE)
0h31
9:28 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW686469:25 Dunfermline City (DFE)
0h37
10:02 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6869610:04 Dunfermline City (DFE)
0h32
10:36 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6865510:30 Dunfermline City (DFE)
0h37
11:07 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6870111:07 Dunfermline City (DFE)
0h33
11:40 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6866011:28 Dunfermline City (DFE)
0h37
12:05 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6870512:03 Dunfermline City (DFE)
0h34
12:37 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6866812:26 Dunfermline City (DFE)
0h35
13:01 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6871713:04 Dunfermline City (DFE)
0h35
13:39 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6867513:27 Dunfermline City (DFE)
0h37
14:04 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6872314:05 Dunfermline City (DFE)
0h34
14:39 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6864114:26 Dunfermline City (DFE)
0h35
15:01 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6872915:03 Dunfermline City (DFE)
0h35
15:38 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6865215:28 Dunfermline City (DFE)
0h37
16:05 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6873616:08 Dunfermline City (DFE)
0h30
16:38 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6865716:30 Dunfermline City (DFE)
0h38
17:08 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.

Wed
22 Jul
Thu
23 Jul
Fri
24 Jul
Sat
25 Jul
Sun
26 Jul
Mon
27 Jul
Tue
28 Jul

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 £9 but you can travel from only £5 by coach.

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
Cheapest alternative travel mode
Coach from £5
Distance
21 km
Average train duration
36m
Cheapest ticket price
£9
Trains per day
8
Direct trains
8
Fastest train
32m
First train
5:54
Last train
23:51
Cheapest Month
Sept
Cheapest Day
Mon
High Season
Jul - Sept
Low Season
Jan - Mar
Busiest Day
Tue
Least Busy Day
Wed
Best time to book
77 days
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
Cheapest alternative travel mode
Coach from £5

Train companies: Scotrail, ScotRail from Dunfermline to Edinburgh trainsScotrail, ScotRail trains will get you between Dunfermline and Edinburgh from £5. 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
£9
Scotrail frequency
8 a day
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

ScotRail

Luggage & cancellation policy
Average Duration
30m
Cheapest Price
£17
ScotRail frequency
16 a day

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 £9, while the average price tends to be around £9.
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 coach, costing approximately £5.
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

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.

Departure train stations in Dunfermline
Arrival train stations in Edinburgh

Which Dunfermline station do trains to Edinburgh leave from?

Trains from Dunfermline to Edinburgh leave from Dunfermline City. The station is 1 km from Dunfermline city centre at Dunfermline Town station, Comely Park, Dunfermline, Fife, KY12 7HT.
Dunfermline CityDunfermline Town station, Comely Park, Dunfermline, Fife, KY12 7HTWifiShoppingParkingDiningAccessibilityWCLoungeLost and Found OfficeTicket OfficeBike ParkingInformation Desk
City-centre transport

Getting to Dunfermline City from Dunfermline city centre

Bus2A, 2 · 3m · £2 · every ~16 min

Dunfermline City 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

Food and drink options are available at Dunfermline City.

Wi-Fi and ATMs

Wi-Fi is available at Dunfermline City.

Tickets and information

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.

Luggage and lost property

Lost and found is available at the station.

Parking, taxis and toilets

Available at Dunfermline City: Parking, WC.

Bike and car services

Available at Dunfermline City: Bike Parking.

Accessibility

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 MargaretDunfermline Queen Margaret station, Hill of St Margaret, Dunfermline, Fife, KY12 0GBParkingAccessibilityHotelLoungeLost and Found OfficeBike ParkingInformation Desk
City-centre transport

Getting to Dunfermline Queen Margaret from Dunfermline city centre

Dunfermline Queen Margaret is 2 km from Dunfermline city centre. Public transport options include:

TrainEdinburgh - Glenrothes with Thornton, Edinburgh - Leven, Edinburgh - Perth, Glasgow Queen Street - Dundee, Edinburgh - Cowdenbeath · 3m · £1 · every ~4 min
Bus83 · 11m · £4 · every ~2 min
83 · 12m · every ~2 min
28, 19, 747, 89A, 89B, 89, X24a, X24, X27 · 16m · £2 · every ~37 min

Dunfermline Queen Margaret train station facilities and services

Dunfermline Queen Margaret has practical services for this route, including Parking, Accessibility, Hotel, Lounge, Lost and Found Office, Bike Parking and Information Desk.

Tickets and information

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.

Luggage and lost property

Lost and found is available at the station.

Parking, taxis and toilets

Available at Dunfermline Queen Margaret: Parking.

Bike and car services

Available at Dunfermline Queen Margaret: Bike Parking.

Accessibility

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.

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