Haymarket Station (Gael: Margadh an Fheòir) is located in west-central Edinburgh and is Scotland's eighth busiest station with more than 2 million passengers annually (2013). It was built 1840-42 as the terminus and head office of the Edinburgh and Glasgow Railway. However, within four years trains were running through to what was to become Waverley Station and Haymarket took on a less important role. In 1866, the Edinburgh and Glasgow Railway was taken over by the North British Railway. Haymarket took on a more important role as part of the Edinburgh Suburban Railway, which opened in 1884. The platforms were redesigned in 1894. The station modernised in the 1980s and subject to a £25-million refurbishment in 2010-13. Externally, Haymarket remains the oldest Scottish station in anything like its original state.
Now operated by ScotRail, Haymarket Station is staffed part-time. It is preceded by Edinburgh Waverley Railway Station, 1¼ miles (2 km) to the east northeast, and followed by Edinburgh Park, 3¾ miles (6 km) to the west southwest, on the principal lines to Glasgow, Edinburgh Gateway Railway Station (4 miles / 6.5 km to the west) on the line to Fife, and Slateford Railway Station, 1½ miles (2.5 km) to the southwest, on the West Coast Main Line and the Shotts Line.
The associated Haymarket Depot, located a half-mile (1 km) to the west southwest, maintains commuter trains which operate the Edinburgh - Glasgow Queen Street Service.