Dunfermline to Edinburgh train with Scotrail

Sat 05 Sept
+ 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

The cheapest and fastest trains from Dunfermline to Edinburgh

Showing times, prices and bookable tickets for 05 Sept

Cheapest price on 05 Sept

£8

Average ticket price on 05 Sept

£8

Fastest journey on 05 Sept

31 m

Average journey duration on 05 Sept

33 m

Trains on 05 Sept

24

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 £8 if you buy it on the day, but you can find cheap train tickets today for only £8.

Fast trains

On Sat 05 Sept, we found 24 trains from Dunfermline to Edinburgh, including 24 direct services.

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 33 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.

  • ScotrailW68709
    6:260h36
    Dunfermline City (DFE)
    7:02Edinburgh Waverley (EDB)
    £81One-way
    0 changes
  • ScotrailW68713
    7:240h35
    Dunfermline City (DFE)
    7:59Edinburgh Waverley (EDB)
    £81One-way
    0 changes
  • ScotrailL87620
    7:060h33
    Dunfermline City (DFE)
    7:39Edinburgh Waverley (EDB)
    £81One-way
    0 changes
  • ScotrailW68693
    9:130h33
    Dunfermline City (DFE)
    9:46Edinburgh Waverley (EDB)
    £81One-way
    0 changes
  • ScotrailW68689
    8:030h37
    Dunfermline City (DFE)
    8:40Edinburgh Waverley (EDB)
    £81One-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 an average ticket price of £5 For those with little time, consider booking a train, which has an average total journey time of 1h 5m. Average ticket prices depend on the travel mode: a coach costs an average of £5, while a train costs an average of £8.

Distance: 21 km

Compare train with

Most popular
Train
Coach
Driving

£8

Average Price

£5

Average Price

Cheapest

£36

Average Price

(fuel + tolls)

1h 5m

Average total duration

Fastest

35m

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

The cheapest way to travel from Dunfermline to Edinburgh is a coach with an average price of £5.

This is compared to other travel options from Dunfermline to Edinburgh:

A coach is £4 less than a train for this route with tickets for a train from Dunfermline to Edinburgh costing on average £8.

The fastest way to travel from Dunfermline to Edinburgh is by train with an average journey time of 35m.

Other travel options to Edinburgh take longer:

Coach takes on average 44m.

It's helpful to compare your options as there are 2 ways to travel between Dunfermline and Edinburgh including taking a train and coach.
Take the train. On this route, it beats driving on both time and money.

The journey is about 4m faster (35m by train vs 39m by car) and roughly £28 cheaper once you factor in fuel and tolls (£8 vs £36). 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.

Live departures

Dunfermline to Edinburgh train times

The table below shows live departures for Dunfermline to Edinburgh trains for tomorrow, Saturday 5 September. You can also manually refresh the results below to see updated train journeys.

Last updated at
ProviderDepartsDurationArrivesChanges
Tickets
ScotrailW687096:26 Dunfermline City (DFE)
0h36
7:02 Edinburgh Waverley (EDB)0 changesdirect
ScotrailL876207:06 Dunfermline City (DFE)
0h33
7:39 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW687137:24 Dunfermline City (DFE)
0h35
7:59 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW686898:03 Dunfermline City (DFE)
0h37
8:40 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW686398:24 Dunfermline City (DFE)
0h35
8:59 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW686939:13 Dunfermline City (DFE)
0h33
9:46 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW686479:32 Dunfermline City (DFE)
0h39
10:11 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6869710:05 Dunfermline City (DFE)
0h34
10:39 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6865410:30 Dunfermline City (DFE)
0h37
11:07 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6870211:07 Dunfermline City (DFE)
0h31
11:38 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6865911:27 Dunfermline City (DFE)
0h36
12:03 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6870612:04 Dunfermline City (DFE)
0h33
12:37 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6866912:28 Dunfermline City (DFE)
0h38
13:06 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6871513:04 Dunfermline City (DFE)
0h38
13:42 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6867613:26 Dunfermline City (DFE)
0h35
14:01 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6872114:06 Dunfermline City (DFE)
0h37
14:43 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6864214:26 Dunfermline City (DFE)
0h38
15:04 Edinburgh Waverley (EDB)0 changesdirect
ScotrailC1498215:06 Dunfermline City (DFE)
0h34
15:40 Edinburgh Waverley (EDB)0 changesdirect
ScotrailC1497515:28 Dunfermline City (DFE)
0h39
16:07 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6873516:08 Dunfermline City (DFE)
0h36
16:44 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6865616:30 Dunfermline City (DFE)
0h38
17:08 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6874217:01 Dunfermline City (DFE)
0h33
17:34 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6866317:27 Dunfermline City (DFE)
0h37
18:04 Edinburgh Waverley (EDB)0 changesdirect
ScotrailW6874518:12 Dunfermline City (DFE)
0h35
18:47 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.

Sat
05 Sept
Sun
06 Sept
Mon
07 Sept
Tue
08 Sept
Wed
09 Sept
Thu
10 Sept
Fri
11 Sept

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 35m. Cheap train tickets for this journey start at £8 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
35m
Cheapest ticket price
£8
Trains per day
8
Direct trains
8
Fastest train
32m
First train
5:54
Last train
23:51
Cheapest Month
Sept
Cheapest Day
Thu
High Season
Jul - Sept
Low Season
Jan - Mar
Busiest Day
Tue
Least Busy Day
Wed
Best time to book
1 day
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 Scotrail Duration
32m
Cheapest Scotrail Price
£8
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 ScotRail Duration
30m
Cheapest ScotRail Price
£15
ScotRail frequency
16 a day

Complete guide to Edinburgh

Things to do in Edinburgh

Discover the best of Edinburgh — top attractions, local food, transport tips, budget advice, and currency essentials. Plan your perfect Edinburgh trip today.

  • Must visit

National Museum of Scotland

National museum covering science, design, world cultures and Scottish history. Excellent for varied collections and a dramatic central hall.

  • Must visit

Scottish National Gallery

Major art gallery with Scottish and international works from the Renaissance to the late nineteenth century, beside Princes Street Gardens.

  • Recommended

Fruitmarket

Contemporary art gallery in a converted schoolhouse, known for thoughtful exhibitions by Scottish and international artists near the Royal Mile.

Pound sterling (£)

Moderate for the UK. Rooms and dining are pricier in peak season, but buses are affordable and budget eats are easy to find.

Average meal costs

Budget
£8-15 for fast food or a simple meal.
Mid-range
£20-35 per person for a restaurant meal.
Fine dining
£70+ per person for upscale dining.
Coffee
£3-4.50 for a cappuccino.

Tipping culture

Tipping is optional. In restaurants, 10-12.5% is common if service is not included. Round up taxi fares. Cafés and pubs usually do not expect tips.

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 £8, 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 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 · £0.90 · 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