Elgin
Elgin
Dunfermline
Dunfermline
Train Driving

Elgin to Dunfermline

Updated: 28 May 2026

The journey from Elgin to Dunfermline covers approximately 230 km through the heart of the Scottish Highlands. You can travel via the A96 and A9 roads or take the ScotRail network. The train route typically requires a change at Inverness or Perth. This trip connects the historic Moray region with the former royal capital of Scotland. Expect scenic views of the Cairngorms National Park during your transit.

Total Distance: Driving distance 230 km, straight-line air distance 175 km.
Fastest Way
Driving takes 3 hours, which is faster than the train when accounting for station transfers.
Cheapest Way
Driving is generally cheaper for groups of two or more, costing roughly 40 GBP in fuel.
Compare Elgin to Dunfermline Routes
Train
Connecting
Driving
Direct
Duration 3 hours 15 mins 3 hours
Avg Price 45-80 GBP 35-50 GBP fuel
Operator ScotRail Personal Vehicle
Route Elgin Station to Inverness, then change for Dunfermline Town. A96 to Inverness, then A9 south towards Perth and M90 to Dunfermline.
Tip Book your tickets via the ScotRail app to secure Advance fares. Watch for average speed cameras on the A9 between Inverness and Perth.
Travel Tips
  • Advance Booking
    Always book train tickets at least 12 weeks ahead for the best prices.
  • A9 Traffic
    Check Traffic Scotland before departing, as the A9 is prone to congestion during peak holiday times.
  • Station Facilities
    Elgin station has limited facilities, so grab snacks before you arrive.
  • Parking
    Dunfermline town centre parking can be busy; use the multi-storey car parks.
  • Weather
    Scottish weather changes rapidly; always carry a waterproof jacket.
Safety Tips
  • Road Safety
    The A9 is a major arterial route; stay alert for heavy goods vehicles.
  • Night Travel
    Avoid driving on rural Moray roads late at night due to deer crossings.
  • Emergency
    Keep a fully charged phone and a power bank for long journeys.
  • Station Security
    Keep your luggage with you at all times in busy transit hubs like Inverness.
People Also Ask
  • Is there a direct train from Elgin to Dunfermline?
    No, you must change at Inverness or Perth.
  • How long is the drive?
    The drive typically takes 3 hours depending on traffic.
  • Are there buses available?
    Yes, Citylink operates services, but they are slower than trains.
  • Is the A9 safe?
    The A9 is a major road with many safety improvements, but requires caution.
  • What is the best way to travel?
    Driving offers the most flexibility, while trains are more relaxing.
Quick Info
  • From Elgin, Scotland, United Kingdom
  • To Dunfermline, Fife, United Kingdom
  • Modes
Best Time to Travel

May to September for clear road conditions and longer daylight hours.

Things to Do in Dunfermline
1
Dunfermline Abbey
Visit the final resting place of Robert the Bruce. The site features stunning Romanesque architecture.
2
Pittencrieff Park
Known locally as The Glen, this park offers beautiful gardens and resident peacocks. It is perfect for a relaxing afternoon walk.
3
Andrew Carnegie Birthplace Museum
Explore the life of the famous philanthropist. The museum is housed in his original cottage.
4
Dunfermline Carnegie Library
This award-winning building combines modern design with historic archives. It offers a great view of the Abbey.
Tags
Elgin to Dunfermline train ScotRail Elgin to Fife travel from Moray to Dunfermline A96 to A9 route Dunfermline travel guide Scotland train travel Elgin transport options Fife commuting guide