Edinburgh to Dunfermline train with Scotrail

Wed, Aug 05
+ 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 Edinburgh to Dunfermline

Showing times and prices for Aug 05

Cheapest price

€9

Average price

€9

Fastest journey

32 m

Average duration

33 m

Trains per day

6

Distance

21 km

Cheap tickets

The best way to find a cheap train ticket from Edinburgh to Dunfermline is to book your journey as far in advance as possible and to avoid traveling at rush hour.

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

Fast trains

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

On Wed, Aug 05 the 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 32 m .

On Wed, Aug 05 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.

  • Scotrail
    5:18 AM0h33
    Edinburgh
    5:51 AMDunfermline
    91One-way
    0 transfers
  • Scotrail
    9:45 AM0h32
    Edinburgh
    10:17 AMDunfermline
    91One-way
    0 transfers
  • Scotrail
    6:18 AM0h33
    Edinburgh
    6:51 AMDunfermline
    91One-way
    0 transfers
  • Scotrail
    8:45 AM0h32
    Edinburgh
    9:17 AMDunfermline
    91One-way
    0 transfers
  • Scotrail
    11:18 PM0h33
    Edinburgh
    11:51 PMDunfermline
    91One-way
    0 transfers

Travel Information

Compare train and bus for Edinburgh to Dunfermline

Omio recommends booking the train as it is the most popular option from Edinburgh to Dunfermline among Omio's users. If you are prioritising price take the bus with prices starting from €5. For those with little time consider booking a train which can get you there in 33m. The ticket price range depends on the travel mode: a bus costs an average of €5, and a train costs an average of €6.

Distance: 13 miles (21 km)

Compare train with

Most popular
Train
Bus
Driving

€9

Average price

€5

Average price

Cheapest

€40

Average price

(fuel + tolls)

1h 3m

Average total duration

Fastest

33m

Onboard

+

30m

Additional time*

1h 30m

Average total duration

1h 0m

Onboard

+

30m

Additional time*

40m

Average total duration

(door-to-door)

Direct Options

Direct Options

Direct Options

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

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

A bus is €4 less than a train for this route with tickets for a train from Edinburgh to Dunfermline costing on average €9.

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

Other travel options to Dunfermline take longer:

Bus takes on average 1h 0m.

It's helpful to compare your options as there are 2 ways to travel between Edinburgh and Dunfermline including taking a train and bus.
We recommend using the train as it is the most popular way to get from Edinburgh to Dunfermline among Omio's users.
Take the train. On this route, it beats driving on both time and money.

The journey is about 7m faster (33m by train vs 40m by car) and roughly €31 cheaper once you factor in fuel and tolls (€9 vs €40). 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

Edinburgh to Dunfermline train times

The table below shows live departures for Edinburgh to Dunfermline trains for today, Tuesday, August 4. You can also manually refresh the results below to see updated train journeys.

Last updated at
ProviderDepartsDurationArrivesTransfers
Tickets
ScotrailW68830
On time
12:46 PM Edinburgh Waverley (EDB)
0h34
1:20 PM Dunfermline City (DFE)
0 transfersDirect
ScotrailW68810
On time
1:18 PM Edinburgh Waverley (EDB)
0h34
1:52 PM Dunfermline City (DFE)
0 transfersDirect
ScotrailW68840
On time
1:48 PM Edinburgh Waverley (EDB)
0h35
2:23 PM Dunfermline City (DFE)
0 transfersDirect
ScotrailW68814
On time
2:17 PM Edinburgh Waverley (EDB)
0h34
2:51 PM Dunfermline City (DFE)
0 transfersDirect
ScotrailW68855
On time
2:45 PM Edinburgh Waverley (EDB)
0h34
3:19 PM Dunfermline City (DFE)
0 transfersDirect
Scotrail5:18 AM Edinburgh
0h33
5:51 AM Dunfermline0 transfersDirect
Scotrail6:18 AM Edinburgh
0h33
6:51 AM Dunfermline0 transfersDirect
Scotrail8:45 AM Edinburgh
0h32
9:17 AM Dunfermline0 transfersDirect
Scotrail9:45 AM Edinburgh
0h32
10:17 AM Dunfermline0 transfersDirect

This is the last train of the day.

Find all the dates and times for this journey

Compare prices and tickets Edinburgh to Dunfermline 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 05
Thu
Aug 06
Fri
Aug 07
Sat
Aug 08
Sun
Aug 09
Mon
Aug 10
Tue
Aug 11

Why should you book Edinburgh to Dunfermline trains with Omio?

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

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 Edinburgh to Dunfermline.
  • 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 Edinburgh to Dunfermline.

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 Edinburgh to Dunfermline.

Journey information

Overview: Train from Edinburgh to Dunfermline

United KingdomUnited Kingdom
United KingdomUnited Kingdom
Icon of train

Trains from Edinburgh to Dunfermline run on average 9 times per day, taking around 33m. Cheap train tickets for this journey start at €6 but you can travel from only €5 by bus.

There are 9 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 31m.

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
Bus from €5
Distance
13 miles (21 km)
Average train duration
33m
Cheapest ticket price
€6
Trains per day
9
Direct trains
9
Fastest train
31m
First train
5:54 AM
Last train
11:51 PM
Cheapest Month
Mar
Cheapest Day
Tue
High Season
Jul - Sep
Low Season
Oct - Dec
Busiest Day
Mon
Least Busy Day
Fri
Best time to book
2 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
Bus from €5

Train companies: Scotrail, ScotRail from Edinburgh to Dunfermline trainsScotrail, ScotRail trains will get you between Edinburgh and Dunfermline 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
31m
Cheapest Price
€6
Scotrail frequency
9 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
29m
Cheapest Price
€17
ScotRail frequency
16 a day

Complete guide to Dunfermline

Things to do in Dunfermline

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

  • Must visit

Dunfermline Carnegie Library & Galleries

Award-winning museum and gallery exploring Dunfermline's royal, industrial, and Carnegie history. The city's essential cultural visit.

  • Recommended

Abbot House Heritage Centre

Historic house beside the abbey with heritage rooms and changing exhibitions. It offers intimate insight into old Dunfermline life.

  • Recommended

Scottish Naval Museum

Volunteer-run naval museum on a former Royal Navy base nearby. Excellent for Cold War, maritime, and dockyard history enthusiasts.

Pound sterling (£)

Moderate for the UK: hotels and meals are usually below Edinburgh, while rail links and local buses keep sightseeing and day trips fairly manageable.

Average meal costs

Budget
£8-12 for fast food or a simple lunch.
Mid-range
£18-30 per person for a restaurant meal.
Fine dining
£50+ per person for upscale dining.
Coffee
£2.80-4 for cappuccino or latte.

Tipping culture

Restaurants: 10-12.5% if not already added. Taxis: round up or add about 10%. Cafes: tipping is optional, usually just small change.

FAQs: Trains from Edinburgh to Dunfermline

Find answers to the most common questions about traveling from Edinburgh to Dunfermline 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 Dunfermline, this guide helps you travel smarter and with confidence.

FAQs
Train ticket prices from Edinburgh to Dunfermline can vary. The cheapest ticket starts at €6, while the average price is around €9.
The train from Edinburgh to Dunfermline takes 31m and runs 9 per day.
The distance by train from Edinburgh to Dunfermline is 13 miles (21 km).
The first train from Edinburgh to Dunfermline leaves at 5:54 AM.
The last train from Edinburgh to Dunfermline leaves at 11:51 PM.
There is no high speed train available from Edinburgh to Dunfermline.
Yes, there is a direct train from Edinburgh to Dunfermline. This service operates 9 times per day, provided by Scotrail, ScotRail.
Unfortunately, there is no night train available from Edinburgh to Dunfermline.
The train station in Edinburgh that goes to Dunfermline is Edinburgh Waverley (EDB), which connects to Dunfermline City (DFE).
The cheapest way to get from Edinburgh to Dunfermline is by bus, with a cost of around €5.
The train journey from Edinburgh to Dunfermline offers scenic views of the Firth of Forth, including the iconic Forth Bridge, alongside picturesque Scottish countryside landscapes.
Yes, a day trip from Edinburgh to Dunfermline is feasible. The journey takes 31m and the distance is 13 miles (21 km). Trains operate 9 times per day.
Two to three days are recommended to explore Dunfermline’s historical sites, parks, and cultural attractions.
Yes, you can take the train from Edinburgh to Dunfermline.
Since neither Edinburgh nor Dunfermline 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 Dunfermline include Glasgow, Kirkcaldy, Dundee, Ingliston, Stirling.
We recommend using the train as it is the most popular way to get from Edinburgh to Dunfermline 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 Dunfermline, travelers should be aware of common urban safety concerns such as pickpocketing in busy areas and on public transportation. It's advisable to stay vigilant when using ATMs and avoid sharing personal information with strangers. Scams involving overpriced taxi fares or unofficial taxi services can occur, so using licensed taxis or reputable ride-hailing apps is recommended. Overall, Dunfermline is considered a safe destination, but standard precautions help ensure a secure visit.
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 Edinburgh to Dunfermline

Most Edinburgh to Dunfermline trains use the Edinburgh Waverley to Dunfermline City station pair, with some services arriving at Dunfermline Queen Margaret. Use this guide to compare Edinburgh and Dunfermline train stations on this route, check city-centre transport, alongside checking practicalities like train station facilities and services.

Departure train stations in Edinburgh
Arrival train stations in Dunfermline
Edinburgh WaverleyPrinces St, Edinburgh EH1 1BB, United Kingdom+44 3457114141WifiLockersShoppingParkingDiningATMTaxisAccessibilityWCHotelLoungeLost and Found OfficeTicket OfficeBike ParkingCar RentalInformation Desk
City-centre transport

Getting to Edinburgh Waverley from Edinburgh city centre

BusUk090 · 12m · €1 · every ~32 min

Edinburgh Waverley train station facilities and services

Edinburgh Waverley has practical services for this route, including Wifi, Lockers, Shopping, Parking, Dining, ATM, Taxis, Accessibility, WC, Hotel, Lounge, Lost and Found Office, Ticket Office, Bike Parking, Car Rental, and Information Desk.

Food and drink

Food options include: Bagel Factory, Burger King, Caffè Nero, Costa Coffee, JD Wetherspoon, The Pasty Shop, The Beer House, M&S, Pret a Manger

Wi-Fi and ATMs

Free public Wi-Fi available. ATMs are there are a few ATM machines around the station.

Tickets and information

The ticket office is open Mon - Sat: 05:00 - 23:59, Sun: 07:00 - 23:59. Information desks are information booths are located on the concourse. .

Luggage and lost property

Luggage storage is you can leave luggage at Excessive Baggage Company on Platform 2. . Lost and found is available at the station.

Parking, taxis and toilets

Available at Edinburgh Waverley: Parking, Taxis, WC.

Bike and car services

Available at Edinburgh Waverley: Bike Parking, Car Rental.

Accessibility

Accessibility facilities are available at Edinburgh Waverley: Entrances are step free. Station is equipped with an elevator. Staffed with guide communicators for the deaf. Tactile warning strips are on the platform edges for the blind.

Shops, hotels and contact

Nearby hotels include Old Waverley Hotel, Jurys Inn Edinburgh, The Scotsman Hotel.

HaymarketHaymarket station, Haymarket Terrace, Edinburgh, City of Edinburgh, EH12 5EYWifiShoppingParkingDiningATMAccessibilityWCHotelLoungeLost and Found OfficeTicket OfficeBike ParkingInformation Desk
City-centre transport

Getting to Haymarket from Edinburgh city centre

Haymarket is 1 km from Edinburgh city centre. Public transport options include:

Train3m · €1
BusN44, N25, 26, 31, 33, 44, 25, 3, 4 · 6m · €1 · every ~114 min
N107, N113 · 7m · €1
TramT50 · 6m · €4 · every ~30 min

Haymarket train station facilities and services

Haymarket has practical services for this route, including Wifi, Shopping, Parking, Dining, ATM, Accessibility, WC, Hotel, Lounge, Lost and Found Office, Ticket Office, Bike Parking, and Information Desk.

Food and drink

Food and drink options are available at Haymarket.

Wi-Fi and ATMs

Wi-Fi is available at Haymarket. ATMs are available at Haymarket.

Tickets and information

Ticket office support is available at Haymarket. 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, Announcements, Arrival screens.

Luggage and lost property

Lost and found is available at the station.

Parking, taxis and toilets

Available at Haymarket: Parking, WC.

Bike and car services

Available at Haymarket: Bike Parking.

Accessibility

Accessibility facilities are available at Haymarket: Staff help available: Yes, Step free access coverage: Yes, Step free access note: This is a Category A station. This station has step-free access to all platforms. The Passenger Assist meeting point is at the automatic ticket gates Blue Badge parking bays: 2, Accessible ticket machines: There are accessible ticket machines at this station, Accessible toilets: Yes, Ramp for train access: Yes, Wheelchairs available: Yes, Impaired mobility set down / pick up points available: No.

Edinburgh GatewayEdinburgh Gateway station, 1 Myreton Drive, Gogar, Lothian, EH12 9GFWifiParkingDiningAccessibilityWCLoungeLost and Found OfficeTicket OfficeBike ParkingInformation Desk
City-centre transport

Getting to Edinburgh Gateway from Edinburgh city centre

Edinburgh Gateway is 7 km from Edinburgh city centre. Public transport options include:

TrainEdinburgh - Leven, Edinburgh - Perth, Edinburgh - Dundee, Edinburgh - Cowdenbeath, Edinburgh - Glenrothes with Thornton, Edinburgh - Aberdeen, Edinburgh - Inverkeithing · 9m · €3 · every ~10 min
Bus100 · 27m · €2 · every ~30 min
12, 22A, 22 · 44m · €2 · every ~14 min
TramT50 · 24m · €4 · every ~30 min

Edinburgh Gateway train station facilities and services

Edinburgh Gateway has practical services for this route, including Wifi, 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 Edinburgh Gateway.

Wi-Fi and ATMs

Wi-Fi is available at Edinburgh Gateway.

Tickets and information

Ticket office support is available at Edinburgh Gateway. 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: Announcements, Arrival screens.

Luggage and lost property

Lost and found is available at the station.

Parking, taxis and toilets

Available at Edinburgh Gateway: Parking, WC.

Bike and car services

Available at Edinburgh Gateway: Bike Parking.

Accessibility

Accessibility facilities are available at Edinburgh Gateway: Staff help available: Yes, Step free access coverage: Yes, Step free access note: This is a Category A station. This station has step-free access to both platforms. The Passenger Assist meeting point is at the Ticket Office Blue Badge parking bays: 4, Accessible ticket machines: There are accessible ticket machines at this station, Accessible toilets: Yes, Ramp for train access: Yes, Wheelchairs available: Yes, Impaired mobility set down / pick up points available: Yes.

Most popular train connections to 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