- Must visit
National Museum of Scotland
Scotland’s flagship museum covering history, science, design and world cultures in a landmark Victorian building. A top all-round visit in the city.
Cheapest price
$12
Average price
$20
Fastest journey
55 m
Average duration
58 m
Trains per day
24
Distance
50 km
The best way to find a cheap train ticket from St Andrews to Edinburgh is to book your journey as far in advance as possible and to avoid traveling at rush hour.
The average ticket from St Andrews to Edinburgh will cost around $20 if you buy it on the day, but the cheapest tickets can be found for only $12.
Of the 24 trains that leave St Andrews for Edinburgh on Sat, Jun 20, 24 travel direct so it’s quite easy to avoid journeys where you’ll have to change along the way.
On Sat, Jun 20 the direct trains cover the 50 km distance in an average of 58 m but if you time it right, some trains will get you there in just 55 m .
On Sat, Jun 20 the slowest trains will take 1 h and usually involve a change or two along the way, but you might be able to save a few pennies if you’re on a budget.
C01990
C01941
C02009
L87596
L87076
L87080
L87076
C14659
L87068
C14665Omio recommends booking the train as it is the most popular option from St Andrews to Edinburgh among Omio's users. If you are prioritising price take the train with prices starting from $4. For those with little time consider booking a train which can get you there in 1h 8m. The ticket price range depends on the travel mode: a train costs an average of $4, and a train costs an average of $4.
Distance: 31 miles (50 km)
Most popular Train | Driving |
|---|---|
$12 Average price Cheapest | $64 Average price (fuel + tolls) |
1h 38m Average total duration Fastest 1h 8m Onboard + 30m Additional time* | 1h 25m Average total duration (door-to-door) |
![]() Most popular train company | Your own car or car rental |
Direct Options | Direct Options |
Other travel options to Edinburgh take longer:
Bus takes on average 1h 53m.
The journey is about 17m faster (1h 8m by train vs 1h 25m by car) and roughly $52 (€43) cheaper once you factor in fuel and tolls ($12 (€10) vs $64 (€53)). You'll also arrive in the city centre rather than hunting for parking, and you can work, read, or watch the landscape go by instead of concentrating on the road.
Direct services run with Scotrail, London North Eastern Railway, CrossCountry.
Driving is still worth considering if you want to stop along the way or need a car once you arrive.
The table below shows live departures for St Andrews to Edinburgh trains for today, Friday, June 19. You can also manually refresh the results below to see updated train journeys.
| Provider | Departs | Duration | Arrives | Transfers | Tickets |
|---|---|---|---|---|---|
L87526 | On time 5:54 AM Leuchars station (LEU) | 1h14 | 7:08 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87534 | On time 6:44 AM Leuchars station (LEU) | 1h19 | 8:03 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87062 | On time 7:27 AM Leuchars station (LEU) | 1h08 | 8:35 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87547 | On time 7:50 AM Leuchars station (LEU) | 1h19 | 9:09 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
C14660 | On time 8:38 AM Leuchars station (LEU) | 1h00 | 9:38 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87555 | On time 8:53 AM Leuchars station (LEU) | 1h12 | 10:05 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
C01942 | On time 9:22 AM Leuchars station (LEU) | 1h03 | 10:25 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
G01153 | On time 9:46 AM Leuchars station (LEU) | 1h08 | 10:54 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87566 | On time 10:01 AM Leuchars station (LEU) | 1h14 | 11:15 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87069 | On time 10:26 AM Leuchars station (LEU) | 0h57 | 11:23 AM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87072 | On time 12:22 PM Leuchars station (LEU) | 1h01 | 1:23 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87593 | On time 12:52 PM Leuchars station (LEU) | 1h15 | 2:07 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87074 | On time 1:30 PM Leuchars station (LEU) | 0h58 | 2:28 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87597 | On time 1:55 PM Leuchars station (LEU) | 1h11 | 3:06 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87075 | On time 2:31 PM Leuchars station (LEU) | 0h58 | 3:29 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87599 | On time 2:53 PM Leuchars station (LEU) | 1h18 | 4:11 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87079 | On time 3:25 PM Leuchars station (LEU) | 0h59 | 4:24 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87527 | On time 3:56 PM Leuchars station (LEU) | 1h17 | 5:13 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
N36386 | On time 4:24 PM Leuchars station (LEU) | 1h01 | 5:25 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87536 | On time 4:54 PM Leuchars station (LEU) | 1h16 | 6:10 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87081 | On time 5:37 PM Leuchars station (LEU) | 0h55 | 6:32 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87542 | On time 5:53 PM Leuchars station (LEU) | 1h19 | 7:12 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87549 | On time 7:01 PM Leuchars station (LEU) | 1h11 | 8:12 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
C01960 | On time 7:48 PM Leuchars station (LEU) | 1h01 | 8:49 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87558 | On time 7:57 PM Leuchars station (LEU) | 1h17 | 9:14 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
L87082 | On time 8:46 PM Leuchars station (LEU) | 1h04 | 9:50 PM Edinburgh Waverley (EDB) | 0 transfersDirect | |
This is the last train of the day. | |||||
Find all the dates and times for this journey
Compare train prices over the next three weeks. See the best deals at a glance, find the lowest fares, and choose the option that fits your budget.
Trains from St Andrews to Edinburgh run on average 9 times per day, taking around 1h 8m. Cheap train tickets for this journey start at $4 (€4) if you book in advance.
There are 8 trains per day. The earliest train runs at 00:02, the last at 23:56. The fastest train covers the 31 miles (50 km) distance in 1h 0m.
Distance 31 miles (50 km) |
Average train duration 1h 8m |
Cheapest ticket price $4 (€4) |
Trains per day 9 |
Direct trains 8 |
Fastest train 1h 0m |
First train 12:02 AM |
Last train 11:56 PM |
Cheapest Month Jan |
Cheapest Day Wed |
High Season Jul - Sep |
Low Season Jan - Mar |
Busiest Day Sun |
Least Busy Day Thu |
Best time to book 4 days |
Discover the best of Edinburgh — top attractions, local food, transport tips, budget advice, and currency essentials. Plan your perfect Edinburgh trip today.
Scotland’s flagship museum covering history, science, design and world cultures in a landmark Victorian building. A top all-round visit in the city.
Major national art gallery on The Mound with Scottish and European masterpieces. Central, elegant and one of Edinburgh’s classic cultural stops.
Striking red-sandstone gallery dedicated to portraits of figures from Scottish history and culture. Well regarded for both the collection and the building itself.
Edinburgh’s most famous historic street linking the castle and Holyroodhouse, lined with closes, courtyards, shops and major sights.
One of Edinburgh’s essential viewpoints, especially popular for sunrise and sunset photography. Famous for sweeping views over the city and Arthur’s Seat.
Ancient volcanic peak in Holyrood Park with the city’s most famous hike and outstanding panoramic views. A classic outdoor Edinburgh experience.
Scotland’s best-known national dish: a peppery savoury pudding traditionally made with oats and offal, served with mashed turnips and potatoes. It is strongly associated with Edinburgh and Burns supps
A rich Scottish soup made with smoked haddock, potatoes and onions. Though from Cullen, it is a classic on Edinburgh menus and a comforting local staple
A traditional hearty soup of barley, root vegetables and usually lamb or mutton. It is a long-standing Scottish comfort food commonly found in pubs and cafes
A polished gastropub from Tom Kitchin, known for refined Scottish pub classics, seasonal produce and a warm neighbourhood atmosphere
A long-established seafood restaurant popular for Scottish mussels, fish dishes and a relaxed city-centre setting
A respected upscale seafood restaurant focused on high-quality Scottish fish and shellfish in an elegant contemporary space
Edinburgh is pricier than many UK cities, especially for hotels and dining in the centre during peak season.
Service is sometimes included. If not, tip 10-12.5% in restaurants for good service. Rounding up is common in taxis. Tipping is not expected for counter service.
Official public transport app
Edinburgh Waverley, Edinburgh -> Princes Street, Edinburgh
Find answers to the most common questions about traveling from St Andrews to Edinburgh by train. From journey times and ticket prices to direct connections, first and last departures, and even whether the route is scenic, our FAQs cover everything you need to plan your trip. Whether you’re looking for the fastest train, the cheapest option, or tips for making the most of your visit at Edinburgh, this guide helps you travel smarter and with confidence.

Here are some other resources that might have the information you need