Dunfermline to Edinburgh train with Scotrail

Wed, Aug 26
+ Add return
Scotrail
ScotRail
Regionale
Deutsche Bahn
iryo
2,000+ travel companies
Scotrail
ScotRail
Regionale
Deutsche Bahn
iryo
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 and prices for Aug 26

Cheapest price

kr74

Average price

kr74

Fastest journey

31 m

Average duration

35 m

Trains per day

6

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

The average ticket from Dunfermline to Edinburgh will cost around kr74 if you buy it on the day, but the cheapest tickets can be found for only kr74.

Fast trains

Of the 6 trains that leave Dunfermline for Edinburgh on Wed, Aug 26, 6 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.

On Wed, Aug 26 the direct trains cover the 21 km distance in an average of 35 m but if you time it right, some trains will get you there in just 31 m .

On Wed, Aug 26 the slowest trains will take 37 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.

  • ScotrailL87633
    8:05 AM0h36
    Dunfermline City (DFE)
    8:41 AMEdinburgh Waverley (EDB)
    kr741One-way
    0 transfers
  • ScotrailW68696
    10:04 AM0h32
    Dunfermline City (DFE)
    10:36 AMEdinburgh Waverley (EDB)
    kr741One-way
    0 transfers
  • ScotrailW68655
    10:30 AM0h37
    Dunfermline City (DFE)
    11:07 AMEdinburgh Waverley (EDB)
    kr741One-way
    0 transfers
  • ScotrailW68638
    8:25 AM0h41
    Dunfermline City (DFE)
    9:06 AMEdinburgh Waverley (EDB)
    kr741One-way
    0 transfers
  • ScotrailW68692
    8:57 AM0h31
    Dunfermline City (DFE)
    9:28 AMEdinburgh Waverley (EDB)
    kr741One-way
    0 transfers

Travel Information

Compare train and bus 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 kr72. 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 kr72, and a train costs an average of kr72.

Distance: 13 miles (21 km)

Compare train with

Most popular
Train
Bus
Driving

kr74

Average price

Cheapest

kr320

Average price

(fuel + tolls)

1h 6m

Average total duration

Fastest

36m

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 train with an average price of kr74.
The fastest way to travel from Dunfermline to Edinburgh is by train with an average journey time of 36m.
It's helpful to compare your options as there are 2 ways to travel between Dunfermline and Edinburgh including taking a train and bus.
We recommend using the train as it is the most popular way to get from Dunfermline to Edinburgh among Omio's users.
Take the train. On this route, it beats driving on both time and money.

The journey is about 3m faster (36m by train vs 39m by car) and roughly kr246 cheaper once you factor in fuel and tolls (kr74 vs kr320). 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 today, Tuesday, August 25. You can also manually refresh the results below to see updated train journeys.

Last updated at
ProviderDepartsDurationArrivesTransfers
Tickets
ScotrailW68705
On time
12:03 PM Dunfermline City (DFE)
0h34
12:37 PM Edinburgh Waverley (EDB)
0 transfersDirect
ScotrailW68668
On time
12:26 PM Dunfermline City (DFE)
0h35
1:01 PM Edinburgh Waverley (EDB)
0 transfersDirect
ScotrailW68717
On time
1:04 PM Dunfermline City (DFE)
0h35
1:39 PM Edinburgh Waverley (EDB)
0 transfersDirect
ScotrailW68675
On time
1:27 PM Dunfermline City (DFE)
0h37
2:04 PM Edinburgh Waverley (EDB)
0 transfersDirect
ScotrailW68723
On time
2:05 PM Dunfermline City (DFE)
0h34
2:39 PM Edinburgh Waverley (EDB)
0 transfersDirect
ScotrailW68641
On time
2:26 PM Dunfermline City (DFE)
0h35
3:01 PM Edinburgh Waverley (EDB)
0 transfersDirect
ScotrailW68729
On time
3:03 PM Dunfermline City (DFE)
0h35
3:38 PM Edinburgh Waverley (EDB)
0 transfersDirect
ScotrailW68652
On time
3:28 PM Dunfermline City (DFE)
0h37
4:05 PM Edinburgh Waverley (EDB)
0 transfersDirect
ScotrailW68736
On time
4:08 PM Dunfermline City (DFE)
0h30
4:38 PM Edinburgh Waverley (EDB)
0 transfersDirect
ScotrailW68657
On time
4:30 PM Dunfermline City (DFE)
0h38
5:08 PM Edinburgh Waverley (EDB)
0 transfersDirect
ScotrailW68741
On time
5:04 PM Dunfermline City (DFE)
0h33
5:37 PM Edinburgh Waverley (EDB)
0 transfersDirect
Wednesday, August 26
ScotrailL876338:05 AM Dunfermline City (DFE)
0h36
8:41 AM Edinburgh Waverley (EDB)0 transfersDirect
ScotrailW686388:25 AM Dunfermline City (DFE)
0h41
9:06 AM Edinburgh Waverley (EDB)0 transfersDirect
ScotrailW686928:57 AM Dunfermline City (DFE)
0h31
9:28 AM Edinburgh Waverley (EDB)0 transfersDirect
ScotrailW686469:25 AM Dunfermline City (DFE)
0h37
10:02 AM Edinburgh Waverley (EDB)0 transfersDirect
ScotrailW6869610:04 AM Dunfermline City (DFE)
0h32
10:36 AM Edinburgh Waverley (EDB)0 transfersDirect
ScotrailW6865510:30 AM Dunfermline City (DFE)
0h37
11:07 AM Edinburgh Waverley (EDB)0 transfersDirect

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 bus

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.

Wed
Aug 26
Thu
Aug 27
Fri
Aug 28
Sat
Aug 29
Sun
Aug 30
Mon
Aug 31
Tue
Sep 01

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 10 times per day, taking around 36m. Cheap train tickets for this journey start at kr72 if you book in advance.

There are 10 trains per day. The earliest train runs at 05:54, the last at 23:51. The fastest train covers the 13 miles (21 km) distance in 30m.

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
13 miles (21 km)
Average train duration
36m
Cheapest ticket price
kr72
Trains per day
10
Direct trains
10
Fastest train
30m
First train
5:54 AM
Last train
11:51 PM
Cheapest Month
Sep
Cheapest Day
Thu
High Season
Jul - Sep
Low Season
Jan - Mar
Busiest Day
Tue
Least Busy Day
Fri
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

Train companies: Scotrail from Dunfermline to Edinburgh trainsScotrail trains will get you between Dunfermline and Edinburgh. 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
30m
Cheapest Price
kr72
Scotrail frequency
10 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

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

Scotland's flagship museum covers science, design, natural history, and world cultures in a landmark building with excellent family appeal.

  • Must visit

National Gallery of Scotland

Major art gallery with Scottish and international works from the Renaissance onward, set dramatically on The Mound in the city centre.

  • Recommended

Scottish National Gallery of Modern Art

Gallery of modern and contemporary art in a neoclassical building with sculpture park, strong changing exhibitions, and a peaceful setting.

British pound sterling (£)

Edinburgh is pricier than many UK cities. Hotels surge in festival season, dining is mid-to-high, and transit is reasonable but not especially cheap for visitors.

Average meal costs

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

Tipping culture

Tipping is optional. In restaurants, 10-12.5% is common if no service charge is added. Round up for taxis. Cafes usually do not expect tips.

FAQs: Trains from Dunfermline to Edinburgh

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
Train ticket prices from Dunfermline to Edinburgh can vary. The cheapest ticket starts at kr72, while the average price is around kr74.
The train from Dunfermline to Edinburgh takes 30m and runs 10 per day.
The distance by train from Dunfermline to Edinburgh is 13 miles (21 km).
The first train from Dunfermline to Edinburgh leaves at 5:54 AM.
The last train from Dunfermline to Edinburgh leaves at 11:51 PM.
There is no high speed train available from Dunfermline to Edinburgh.
Yes, there is a direct train from Dunfermline to Edinburgh. This service operates 10 times per day, provided by Scotrail, ScotRail.
Unfortunately, there is no night train available from Dunfermline to Edinburgh.
The train station in Dunfermline that goes to Edinburgh is Dunfermline City (DFE), which connects to Edinburgh Waverley (EDB).
The train journey from Dunfermline to Edinburgh offers scenic views of the Forth Bridge and the surrounding Firth of Forth, providing picturesque landscapes, especially as the train crosses the iconic bridge.
Yes, you can do a day trip from Dunfermline to Edinburgh. The journey takes 30m and covers 13 miles (21 km). Trains run 8 times per day, making it convenient for a day trip.
In Edinburgh, visitors can explore the vibrant atmosphere of Grassmarket, enjoy a ghost tour of the haunted streets, attend shows at the Edinburgh Festival Theatre, and visit the Royal Botanic Garden. Discover hidden gems at the Stockbridge Market. Key sights include Edinburgh Castle, Arthur's Seat, The Royal Mile, Holyrood Palace, and The National Museum of Scotland.
For a fulfilling experience, spending 2 to 3 days in Edinburgh allows you to explore its historic sites, such as Edinburgh Castle and the Royal Mile, enjoy cultural attractions, and immerse yourself in the local atmosphere.
Yes, you can take the train from Dunfermline to Edinburgh.
Since neither Dunfermline nor Edinburgh are in the Schengen Area, passport requirements depend on the specific immigration rules of United Kingdom and United Kingdom. Entry and visa requirements can be subject to change. For the latest information, check with your destination's embassy or consulate.
Popular day trips by train from Edinburgh include Glasgow, Newcastle, St Andrews, Stirling, Dundee.
We recommend using the train as it is the most popular way to get from Dunfermline to Edinburgh among Omio's users.
Items not allowed on trains typically include hazardous materials such as explosives, flammable liquids, corrosive substances, and illegal drugs. Additionally, large or bulky items that may obstruct aisles or emergency exits, as well as pets without proper carriers, may be restricted. Specific prohibited items can vary by train operator and region, so please check the rules for your particular journey.
Yes, rail passes such as the BritRail Pass are valid on most trains within the United Kingdom, offering unlimited travel on participating train operators for a set period.
The currency used in the United Kingdom is the British Pound Sterling (GBP). For travelers, using a card is generally more convenient and widely accepted, especially in cities and for transportation tickets, though carrying some cash can be useful for small purchases or in rural areas.
In Edinburgh, travelers should be cautious of pickpocketing, especially in crowded areas like the Royal Mile and public transport. Common scams include fake charity collectors and overcharging by taxi drivers who don’t use the meter. It’s advisable to use licensed taxis and keep belongings secure in busy spots. Avoid unlicensed ticket sellers near popular attractions to prevent fraud.
Pack lightweight, versatile clothing suitable for the destination's climate, and use secure, lockable luggage to protect belongings. Keep essential items like travel documents, medication, and valuables in a carry-on bag for easy access. Use packing organizers or cubes to maximize space and maintain order. Lastly, include a small first aid kit and personal hygiene items for added comfort during travel.

popular train stations

Popular train stations from Dunfermline to 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 0 miles (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 · kr16 · 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 · kr8 · every ~4 min
Bus83 · 11m · kr32 · every ~2 min
83 · 12m · every ~2 min
28, 19, 747, 89A, 89B, 89, X24a, X24, X27 · 16m · kr16 · 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

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