Haymarket Station lies in west-central Edinburgh and was built 1840-42 as the terminus and head office of the Edinburgh and Glasgow Railway. Within four years trains ran 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 and the station modernised in the 1980s. However Haymarket remains the oldest Scottish station in anything like its original state.
The associated Haymarket Depot, located a half-mile (1 km) to the west southwest, services commuter trains which operate the Edinburgh - Glasgow Queen Street Service.