Opened by the Glasgow, Dumfries and Carlisle Railway in 1848, the line serving it was extended northwards to Kilmarnock and Glasgow two years later (the GD&CR became part of the Glasgow and South Western Railway at the same time).
The station features in The Thirty-Nine Steps (1915) by John Buchan.