There are 4 ways to get from Midlothian to Dunfermline 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 Gorebridge to Edinburgh WaverleyTweedbank - Edinburgh
- Take the train from Edinburgh Waverley to Dunfermline TownEdinburgh - Cowdenbeath / ...
1h 38m£15–16Line 29 bus, bus
cheapest- Take the bus from Arniston Engine to Frederick Street29
- Take the bus from Princes Street to Kingsgate CentreX55
2h 4m£5–7Drive 29.4 mi
- Drive from Midlothian to Dunfermline29.4 mi
39 min£8–11Taxi
- Take the taxi from Midlothian to Dunfermline29.4 mi
39 min£60–75
Midlothian to Dunfermline by train
Questions & Answers
The cheapest way to get from Midlothian to Dunfermline is to line 29 bus and bus which costs £4 - £7 and takes 2h 4m.
The fastest way to get from Midlothian to Dunfermline is to drive which takes 39 min and costs £7 - £11.
No, there is no direct bus from Midlothian to Dunfermline. However, there are services departing from Arniston Engine and arriving at Kingsgate Centre via Princes Street. The journey, including transfers, takes approximately 2h 4m.
No, there is no direct train from Midlothian to Dunfermline. However, there are services departing from Gorebridge and arriving at Dunfermline Town via Edinburgh Waverley. The journey, including transfers, takes approximately 1h 38m.
The distance between Midlothian and Dunfermline is 28 miles. The road distance is 29.6 miles.
The best way to get from Midlothian to Dunfermline without a car is to train which takes 1h 38m and costs £14 - £17.
It takes approximately 1h 38m to get from Midlothian to Dunfermline, including transfers.
Midlothian to Dunfermline bus services, operated by Lothian Buses, depart from Arniston Engine station.
Midlothian to Dunfermline train services, operated by ScotRail, depart from Gorebridge station.
The best way to get from Midlothian to Dunfermline is to train which takes 1h 38m and costs £14 - £17. Alternatively, you can line 29 bus and bus, which costs £4 - £7 and takes 2h 4m.
What companies run services between Midlothian, Scotland and Dunfermline, Scotland?
You can take a train from Gorebridge to Dunfermline Town via Edinburgh Waverley in around 1h 38m. Alternatively, you can take a bus from Arniston Engine to Kingsgate Centre via Frederick Street and Princes Street in around 2h 4m.
Transport is disrupted due to the Russia-Ukraine war. Read more
- Phone
- +44 344 811 0141
- Website
- scotrail.co.uk
Train from Gorebridge to Edinburgh Waverley
- Ave. Duration
- 28 min
- Frequency
- Hourly
- Estimated price
- £7–9
- Website
- https://www.scotrail.co.uk/
Train from Edinburgh Waverley to Dunfermline Town
- Ave. Duration
- 32 min
- Frequency
- Hourly
- Estimated price
- £7–8
- Website
- https://www.scotrail.co.uk/
- Phone
- +44 131 555 6363
- Website
- lothianbuses.com
Bus from Arniston Engine to Frederick Street
- Ave. Duration
- 1h
- Frequency
- Every 30 minutes
- Estimated price
- £2
- Website
- https://www.lothianbuses.com/
- Phone
- 0345 241 8000
- customer.services@stagecoachbus.com
- Website
- stagecoachbus.com
Bus from Princes Street to Kingsgate Centre
- Ave. Duration
- 51 min
- Frequency
- Every 30 minutes
- Estimated price
- £3–5
- Website
- https://www.stagecoachbus.com
- Ave. Duration
- 39 min
- Estimated price
- £60–75
Swift Private Hire Taxis
- Phone
- +44 131 660 5000
- Website
- swiftprivatehire.co.uk
Aerial ABW Cabs
- Phone
- +44 131 663 3232
- Website
- aerialabwcabs.co.uk
Abbey Cabs Dalkeith
- Phone
- +44 131 357 7444
- Website
- abbeycabsdalkeith.co.uk
Toun Taxis
- Phone
- +44 131 665 0077
- Website
- toun-taxis.co.uk
R & J's Taxis
- Phone
- +44 131 665 2020
Musselburgh Taxis
- Phone
- +44 131 665 2121
- Website
- musselburghtaxis.com
9090 Taxis
- Phone
- +44 131 665 9090
- Website
- 9090taxis.com
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
Midlothian to Dunfermline bus services, operated by Lothian Buses, arrive at Frederick Street station.
Midlothian to Dunfermline train services, operated by ScotRail, arrive at Edinburgh Waverley station.
Yes, the driving distance between Midlothian to Dunfermline is 30 miles. It takes approximately 39 min to drive from Midlothian to Dunfermline.
Book your Midlothian to Dunfermline train tickets online with Omio.
There are 2443+ hotels available in Dunfermline.












