There are 5 ways to get from Dunfermline to Midlothian by train, bus, car, or taxi
Select an option below to see step-by-step directions and to compare ticket prices and travel times in Rome2Rio's travel planner.
Train
best- Take the train from Dunfermline Town to Edinburgh WaverleyCowdenbeath - Edinburgh / ...
- Take the train from Edinburgh Waverley to GorebridgeEdinburgh - Tweedbank
1h 25m£16–18Bus, line 29 bus
cheapest- Take the bus from Bus Station to Princes StreetX55
- Take the bus from Frederick Street to Terminus29
2h 3m£5–7Drive 29.6 mi
- Drive from Dunfermline to Midlothian29.6 mi
39 min£8–11Taxi
- Take the taxi from Dunfermline to Midlothian29.6 mi
39 min£60–75Bus
- Take the bus from St Leonard's Church to Bus StationX55
- Take the bus from Edinburgh, Bus Station to Shank BridgeX95
2h 15m£6–10
Dunfermline to Midlothian by train
Questions & Answers
The cheapest way to get from Dunfermline to Midlothian is to bus and line 29 bus which costs £5 - £7 and takes 2h 3m.
The fastest way to get from Dunfermline to Midlothian is to drive which takes 39 min and costs £7 - £11.
No, there is no direct bus from Dunfermline station to Midlothian. However, there are services departing from Bus Station and arriving at Terminus via Frederick Street. The journey, including transfers, takes approximately 2h 3m.
No, there is no direct train from Dunfermline to Midlothian. However, there are services departing from Dunfermline Town and arriving at Gorebridge via Edinburgh Waverley. The journey, including transfers, takes approximately 1h 25m.
The distance between Dunfermline and Midlothian is 28 miles. The road distance is 29.8 miles.
The best way to get from Dunfermline to Midlothian without a car is to train which takes 1h 25m and costs £16 - £19.
It takes approximately 1h 25m to get from Dunfermline to Midlothian, including transfers.
Dunfermline to Midlothian bus services, operated by Stagecoach East Scotland, depart from Bus Station.
Dunfermline to Midlothian train services, operated by ScotRail, depart from Dunfermline Town station.
The best way to get from Dunfermline to Midlothian is to train which takes 1h 25m and costs £16 - £19. Alternatively, you can bus and line 29 bus, which costs £5 - £7 and takes 2h 3m.
What companies run services between Dunfermline, Scotland and Midlothian, Scotland?
You can take a train from Dunfermline Town to Gorebridge via Edinburgh Waverley in around 1h 25m. Alternatively, you can take a bus from Bus Station to Terminus via Princes Street and Frederick Street in around 2h 3m.
- Phone
- +44 344 811 0141
- Website
- scotrail.co.uk
Train from Dunfermline Town to Edinburgh Waverley
- Ave. Duration
- 32 min
- Frequency
- Hourly
- Estimated price
- £8–10
- Website
- https://www.scotrail.co.uk/
Train from Edinburgh Waverley to Gorebridge
- Ave. Duration
- 28 min
- Frequency
- Hourly
- Estimated price
- £8–9
- Website
- https://www.scotrail.co.uk/
- Phone
- 0345 241 8000
- customer.services@stagecoachbus.com
- Website
- stagecoachbus.com
Bus from Bus Station to Princes Street
- Ave. Duration
- 52 min
- Frequency
- Every 10 minutes
- Estimated price
- £3–5
- Website
- https://www.stagecoachbus.com
Bus from St Leonard's Church to Bus Station
- Ave. Duration
- 55 min
- Frequency
- Every 10 minutes
- Estimated price
- £3–5
- Website
- https://www.stagecoachbus.com
- Phone
- +44 131 555 6363
- Website
- lothianbuses.com
Bus from Frederick Street to Terminus
- Ave. Duration
- 1h 4m
- Frequency
- Every 15 minutes
- Estimated price
- £2
- Website
- https://www.lothianbuses.com/
- Phone
- 01896 754350
- info@bordersbuses.co.uk
- Website
- bordersbuses.co.uk
Bus from Edinburgh, Bus Station to Shank Bridge
- Ave. Duration
- 50 min
- Frequency
- Hourly
- Estimated price
- £3–5
- Website
- https://www.bordersbuses.co.uk/
- Ave. Duration
- 39 min
- Estimated price
- £60–75
Uptown Cabs
- Phone
- +44 1383 621 117
M & M Taxis
- Phone
- +44 1383 727 235
Corporate Taxi Dunfermline
- Phone
- +44 1383 252 525
- Website
- corporatetaxi.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.
Related travel guides
Travelling to the UK: What do I need to know?
Read the travel guide
More Questions & Answers
Dunfermline to Midlothian bus services, operated by Stagecoach East Scotland, arrive at Princes Street station.
Dunfermline to Midlothian train services, operated by ScotRail, arrive at Edinburgh Waverley station.
Yes, the driving distance between Dunfermline to Midlothian is 30 miles. It takes approximately 39 min to drive from Dunfermline to Midlothian.
Book your Dunfermline to Midlothian train tickets online with Omio.
There are 2218+ hotels available in Midlothian.
















