There are 5 ways to get from Dunfermline to St Andrews by bus, train, 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

Bus  •  1 h 26 min

  1. Take the bus from Dunfermline, Bus Station to St Andrews, Bus Station X24

$6 - $9

4 alternative options

Train, bus  •  1 h 51 min

  1. Take the train from Inverkeithing to Cupar
  2. Take the bus from Cupar, Railway Station (Cupar Rail Station) to St Andrews, Bus Station X24 / ...

$13 - $23

Taxi  •  46 min

  1. Take a taxi from Dunfermline to St Andrews 37.7 miles

$110 - $140

Drive  •  46 min

  1. Drive from Dunfermline to St Andrews 37.7 miles

$8 - $12

Uber  •  46 min

  1. Take an Uber from Dunfermline to St Andrews 37.7 miles

$60 - $85

Questions & Answers

The cheapest way to get from Dunfermline to St Andrews is to bus which costs £5 - £7 and takes 1 h 26 min.

More details

The quickest way to get from Dunfermline to St Andrews is to taxi which costs £90 - £110 and takes 46 min.

More details

The distance between Dunfermline and St Andrews is 32 miles. The road distance is 37.7 miles.

Get driving directions

The bus from Dunfermline, Bus Station to St Andrews, Bus Station takes 1 h 26 min including transfers and departs every 30 minutes.

More details

Yes, there is a direct bus departing from Dunfermline, Bus Station station and arriving at St Andrews, Bus Station station. Services depart every 30 minutes, and operate Saturday and Sunday. The journey takes approximately 1 h 26 min.

More details

Map of how to get from Dunfermline to St Andrews.
Launch map view
  • Distance: 31.5 miles
  • Duration: 1 h 26 min

What companies run services between Dunfermline, Scotland and St Andrews, Scotland?

Stagecoach UK operates a bus from Dunfermline to St Andrews every 30 minutes. Tickets cost $6 - $9 and the journey takes 1 h 26 min.

Train operators
ScotRail
Phone
+44 344 811 0141
Email
customer.relations@scotrail.co.uk
Website
scotrail.co.uk
Train from Inverkeithing to Cupar
Ave. Duration
38 min
Frequency
Hourly
Estimated price
$8 - $11
Website
scotrail.co.uk
Advanced Single
$4 - $6
Anytime Day Single
$8 - $11
CrossCountry
Bus operators
Stagecoach UK
Email
customer.services@stagecoachbus.com
Website
stagecoachbus.com
Bus from Dunfermline, Bus Station to St Andrews, Bus Station
Ave. Duration
1 h 26 min
Frequency
Every 30 minutes
Estimated price
$6 - $9
Schedules at
stagecoachbus.com
Bus from Cupar, Railway Station (Cupar Rail Station) to St Andrews, Bus Station
Ave. Duration
20 min
Frequency
Every 10 minutes
Estimated price
$2 - $4
Schedules at
stagecoachbus.com
Bay Travel
Phone
+44 1383 516161
Website
bay-travel.co.uk
Bus from Cupar, Railway Station (Cupar Rail Station) to St Andrews, Alexandra Place
Ave. Duration
21 min
Frequency
Once daily
Estimated price
$5
Schedules at
bay-travel.co.uk
Other operators
Uber Edinburgh
Website
uber.com
Towncar from Dunfermline to St Andrews
Ave. Duration
46 min
Frequency
On demand
Estimated price
$60 - $85
Signup at
uber.com
Assist
$60 - $85
UberX
$60 - $85
uberXL
$95 - $130
Exec
$95 - $140
Taxi from Dunfermline to St Andrews
Ave. Duration
46 min
Estimated price
$110 - $140
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 the world?

Rome2rio's Travel Guide series provide vital information for the global traveller. Read our range of informative guides on popular transport routes and companies - including 5 incredible day trips from Florence by train, Getting to Rome from the airport and Travelling to the US: What do I need to know? - to help you get the most out of your next trip.