• Our partners include:

  • National Express
  • RailEurope
  • ThamesLink
  • Virgin Trains
  • BlaBlaCar
  • Booking.com
  • Skyscanner
  • Airbnb
  • Expedia
  • Uber

There are 6 ways to get from Edinburgh to Dunfermline by train, bus, rideshare, taxi, car or towncar

Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2rio's travel planner.

Recommended option

Train  •  31 min

  1. Take the train from Edinburgh to Dunfermline Town

$6 - $8

Cheapest option

Rideshare  •  43 min

  1. Take the rideshare from Edinburgh to Dunfermline 17.5 miles

$4

4 alternative options

Bus  •  41 min

  1. Take the bus from West End, Queensferry Street to Dunfermline, Bothwell Street X55 / ...

$6 - $10

Taxi  •  29 min

  1. Take a taxi from Edinburgh to Dunfermline 17.6 miles

$55 - $70

Drive  •  29 min

  1. Drive from Edinburgh to Dunfermline 17.6 miles

$3 - $6

Uber  •  29 min

  1. Take an Uber from Edinburgh to Dunfermline 17.6 miles

$30 - $45

Questions & Answers

The cheapest way to get from Edinburgh to Dunfermline is to rideshare which costs £3 and takes 43 min.

More details

The quickest way to get from Edinburgh to Dunfermline is to taxi which costs £40 - £55 and takes 29 min.

More details

Yes, there is a direct bus departing from West End, Queensferry Street and arriving at Dunfermline, Bothwell Street. Services depart hourly, and operate every day. The journey takes approximately 41 min.

More details

Yes, there is a direct train departing from Edinburgh and arriving at Dunfermline Town. Services depart hourly. The journey takes approximately 31 min.

More details

The distance between Edinburgh and Dunfermline is 13 miles. The road distance is 17.6 miles.

Get driving directions

The best way to get from Edinburgh to Dunfermline without a car is to train which takes 31 min and costs £4 - £6.

More details

The train from Edinburgh to Dunfermline Town takes 31 min including transfers and departs hourly.

More details

Edinburgh to Dunfermline bus services, operated by Stagecoach East Scotland, depart from West End, Queensferry Street station.

More details

Edinburgh to Dunfermline train services, operated by ScotRail, depart from Edinburgh station.

More details

The best way to get from Edinburgh to Dunfermline is to train which takes 31 min and costs £4 - £6. Alternatively, you can bus, which costs £5 - £8 and takes 41 min.

Mode details

Map of how to get from Edinburgh to Dunfermline.
Launch map view
  • Distance: 13.1 miles
  • Duration: 31 min

What companies run services between Edinburgh, Scotland and Dunfermline, Scotland?

ScotRail operates a train from Edinburgh to Dunfermline hourly. Tickets cost $6 - $8 and the journey takes 31 min. Alternatively, Stagecoach East Scotland operates a bus from Edinburgh to Dunfermline every 30 minutes, and the journey takes 41 min. Scottish Citylink also services this route 3 times a day.

Train operators
ScotRail
Phone
+44 344 811 0141
Email
customer.relations@scotrail.co.uk
Website
scotrail.co.uk
Train from Edinburgh to Dunfermline Town
Ave. Duration
31 min
Frequency
Hourly
Estimated price
$6 - $8
Website
scotrail.co.uk
Advanced Single
$5 - $8
Anytime Day Single
$6 - $8
Bus operators
Stagecoach East Scotland
Website
stagecoachbus.com
Bus from West End, Queensferry Street to Dunfermline, Bothwell Street
Ave. Duration
41 min
Frequency
Every 30 minutes
Website
stagecoachbus.com
Scottish Citylink
Phone
0871 266 33 33
Email
info@citylink.co.uk
Website
citylink.co.uk
Bus from West End, Queensferry Street to Dunfermline, Bus Station
Ave. Duration
35 min
Frequency
3 times a day
Estimated price
$6 - $10
Schedules at
citylink.co.uk
Other operators
BlaBlaCar

A ridesharing platform with 40 million users, Blablacar gives you access to destinations without worrying about on-the-road chaos. The basic idea is that you carpool with locals who are already planning to drive your route and have space in their car. With some flexibility you’ll get to your destination – often faster and cheaper than other means. On the website or app, enter your departure and arrival points and your date of travel, sift through the profiles of drivers who’ve posted pre-planned drives and find one whose timing and preferences match yours. Request to join the ride, wait be accepted, and pay your share of the set price.

Rome2rio's guide to BlaBlaCar
Contact Details
Website
blablacar.com
Rideshare from Edinburgh to Dunfermline
Ave. Duration
43 min
Frequency
5 times a day
Estimated price
$4
Book at
blablacar.co.uk
Uber Edinburgh
Website
uber.com
Towncar from Edinburgh to Dunfermline
Ave. Duration
29 min
Frequency
On demand
Estimated price
$30 - $45
Signup at
uber.com
Assist
$30 - $45
UberX
$30 - $45
uberXL
$45 - $70
Exec
$50 - $70
Taxi from Edinburgh to Dunfermline
Ave. Duration
29 min
Estimated price
$55 - $70
City Cabs Ltd
Phone
+44 131 228 1211
Website
citycabs.co.uk
Edinburgh Cars
Phone
+44 131 555 1772
Central Taxis Ltd
Phone
+44 131 229 2468
Website
taxis-edinburgh.co.uk

Want to know more about travelling around United Kingdom

Rome2rio's Travel Guide series provide vital information for the global traveller. Filled with useful and timely travel information, the guides answer all the hard questions - such as 'How do I buy a ticket?', 'Should I book online before I travel? ', 'How much should I expect to pay?', 'Do the trains and buses have Wifi?' - to help you get the most out of your next trip.

More Questions & Answers

Edinburgh to Dunfermline bus services, operated by Stagecoach East Scotland, arrive at Dunfermline, Bothwell Street station.

More details

Edinburgh to Dunfermline train services, operated by ScotRail, arrive at Dunfermline Town station.

More details

Yes, the driving distance between Edinburgh to Dunfermline is 18 miles. It takes approximately 29 min to drive from Edinburgh to Dunfermline.

Get driving directions

Book your Edinburgh to Dunfermline train tickets online with Rome2rio.

Search and book

There are 2264+ hotels available in Dunfermline. Prices start at $84 USD per night.

More details

Check out Blablacar's carpooling service for rideshare options between Edinburgh and Dunfermline. A great option if you don't have a driver's licence or want to avoid public transport.

Read Rome2rio's guide to Blablacar