Skip to main content

How to get from Edinburgh to Dunfermline by bus and train?

From Edinburgh to Dunfermline by bus and train

To get from Edinburgh to Dunfermline in Scotland, take the SCOTRAIL train from Edinburgh station to Dunfermline Town station. Next, take the 7B bus from City Railway Station, Dunfermline station to Kingsgate Centre, Dunfermline station. The total trip duration for this route is approximately 42 min. The bus and train schedule from Edinburgh may change. We recommend you check the updated bus and train schedule to Dunfermline on the Moovit app.

42min
Train - SCOTRAIL
Bus - 7B7B
Leaves from Edinburgh

Step by Step

  • 1
    Start from train station
    Start from train station
    Edinburgh
  • 2
    Train - SCOTRAILSCOTRAIL
    Wait for train
    SCOTRAIL
    Leven
  • 3
    Ride to train station
    Ride to train station
    Dunfermline Town
    34 min
  • 4
    Walk to bus station
    Walk to bus station
    City Railway Station, Dunfermline
    ID 6500D0369
    80 m • 2 min
  • 5
    Bus - 7B7B
    Wait for bus
    7B
    Kelty
  • 6
    Ride to bus station Kingsgate Centre, Dunfermline
    Ride to bus station
    Kingsgate Centre, Dunfermline
    ID 6500D1169
    3 min
*Duration based on 8am traffic

Alternative route from Edinburgh to Dunfermline by bus and train via SCOTRAIL and X55

To get from Edinburgh to Dunfermline in Scotland, take the SCOTRAIL train from Edinburgh station to Rosyth station. Next, take the X55 bus from Railway Station, Rosyth station to Kingsgate Centre, Dunfermline station. The total trip duration for this route is approximately 48 min. The bus and train schedule from Edinburgh may change. We recommend you check the updated bus and train schedule to Dunfermline on the Moovit app.

48min
Train - SCOTRAIL
Bus - X55X55
Leaves from Edinburgh

Step by Step

  • 1
    Start from train station
    Start from train station
    Edinburgh
  • 2
    Train - SCOTRAILSCOTRAIL
    Wait for train
    SCOTRAIL
    Leven
  • 3
    Ride to train station
    Ride to train station
    Rosyth
    29 min
  • 4
    Walk to bus station
    Walk to bus station
    Railway Station, Rosyth
    ID 6500D1071
    240 m • 4 min
  • 5
    Bus - X55X55
    Wait for bus
    X55
    Dunfermline
  • 6
    Ride to bus station Kingsgate Centre, Dunfermline
    Ride to bus station
    Kingsgate Centre, Dunfermline
    ID 6500D1169
    13 min
*Duration based on 8am traffic
The Most Popular Urban Mobility App in Scotland.
All local mobility options in one app

Public transport directions from Edinburgh to Dunfermline

The distance between Edinburgh, Scotland and Dunfermline, Scotland is approximately 29.09 km, which can typically be travelled in 42 min. Moovit will show you the directions from Edinburgh to Dunfermline by bus and train, so no matter how you choose to travel in Scotland – you will always have plenty of easy options.

Bus And Train schedule from Edinburgh to Dunfermline

To check the bus and train schedule from Edinburgh to Dunfermline using the Moovit app, first download and open the app on your smartphone. Enter your starting point (Edinburgh) and destination (Dunfermline), then select the desired date and time of travel. Moovit will show all available bus and train routes, estimated travel times, and any required transfers. You can view detailed departure and arrival times for each bus and train, as well as real-time updates for delays or changes. Use this information to plan your trip and stay up to date with the latest bus and train schedules.

Alternative route from Edinburgh to Dunfermline by bus and train via SCOTRAIL and X55

To get from Edinburgh to Dunfermline in Scotland, take the SCOTRAIL train from Edinburgh station to Rosyth station. Next, take the X55 bus from Railway Station, Rosyth station to Kingsgate Centre, Dunfermline station. The total trip duration for this route is approximately 48 min. The bus and train schedule from Edinburgh may change. We recommend you check the updated bus and train schedule to Dunfermline on the Moovit app.

48min
Train - SCOTRAIL
Bus - X55X55
Leaves from Edinburgh

Step by Step

  • 1
    Start from train station
    Start from train station
    Edinburgh
  • 2
    Train - SCOTRAILSCOTRAIL
    Wait for train
    SCOTRAIL
    Leven
  • 3
    Ride to train station
    Ride to train station
    Rosyth
    29 min
  • 4
    Walk to bus station
    Walk to bus station
    Railway Station, Rosyth
    ID 6500D1071
    240 m • 4 min
  • 5
    Bus - X55X55
    Wait for bus
    X55
    Dunfermline
  • 6
    Ride to bus station Kingsgate Centre, Dunfermline
    Ride to bus station
    Kingsgate Centre, Dunfermline
    ID 6500D1169
    13 min
*Duration based on 8am traffic

Questions & Answers

  • What is the fastest way to get from Edinburgh to Dunfermline?

    The fastest way takes 42 minutes, using Train line SCOTRAIL, Bus line 7B.

  • What is the alternative route to get from Edinburgh to Dunfermline?

    The alternative route takes 48 minutes, using Train line SCOTRAIL, Bus line X55.

  • Is there a direct train between Edinburgh and Dunfermline?

    No, you’ll have to take one train line and one bus line in total. The total travelling time is 42 min.

  • Which train line goes from Edinburgh to Dunfermline?

    The SCOTRAIL train line goes from Leven station near Edinburgh in Edinburgh to Dunfermline Town station. From there you’ll have to take one bus line till Dunfermline Town station near Dunfermline in Scotland.

  • How long does it take to travel from Edinburgh to Dunfermline by train and bus?

    The total travel time between Edinburgh in Edinburgh and Dunfermline in Scotland by train and bus is about 42 min.

  • Where do I get on the train near Edinburgh to get to Dunfermline?

    Get on the SCOTRAIL train from the Leven station near Edinburgh in Edinburgh.

  • Where do I get off the train when travelling between Edinburgh and Dunfermline?

    Get off the train at the Dunfermline Town stop, which is closest to Dunfermline in Scotland.

  • When is the first train from Edinburgh to Dunfermline?

    The first train from Edinburgh in Edinburgh to Dunfermline in Scotland is ScotRail. It leaves the Edinburgh station at 06:18.