The average train between York and Midlothian takes 3h 15m and the fastest train takes 2h 49m. There is a train service every few hours from York to Midlothian. The journey time may be longer on weekends and holidays; use the search form on this page to search for a specific travel date.
Trains run hourly between York and Midlothian. The earliest departure is at 5:45 AM in the morning, and the last departure from York is at 10:05 PM which arrives into Midlothian at 6:41 AM. All services require a transfer, and take on average 3h 15m. The schedules shown below are for the next available departures.

2h 50m • 1 change

2h 49m • 1 change
Arrives next day

8h 36m • 1 change

3h 26m • 1 change

3h 8m • 1 change

2h 51m • 1 change

2h 52m • 1 change

3h 26m • 1 change

3h 8m • 1 change

2h 51m • 1 change

2h 52m • 1 change

3h 26m • 1 change

3h 8m • 1 change

2h 51m • 1 change

2h 52m • 1 change
Want to know about travelling from York to Midlothian? We have put together a list of the most frequently asked questions from our users such as: What is the cheapest mode of transport? What is the quickest option? How much do tickets usually cost? and many more.
No, there is no direct train from York to Midlothian. However, there are services departing from York station and arriving at Midlothian station via Edinburgh Waverley. The journey, including transfers, takes approximately 3h 15m.
York to Midlothian train services, operated by London North Eastern Railway Limited (LNER), depart from York station.
York to Midlothian train services, operated by London North Eastern Railway Limited (LNER), arrive at Edinburgh Waverley station.
Book your York to Midlothian train tickets online with London North Eastern Railway Limited (LNER), ScotRail and Cross Country.
The distance between York and Midlothian is 244.7 km. The road distance is 344 km.
London North Eastern Railway Limited (LNER) operates a train from York to Edinburgh Waverley hourly. Tickets cost £65–100 and the journey takes 2h 17m. Cross Country also services this route hourly.