The Selkirk and Galashiels Railway was a railway company that built a branch line connecting Selkirk, Scottish Borders, with the mainline network at Galashiels. The 5-mile (8.0 km) line opened in 1856 and was well used in the period down to 1914. Road transport from about 1923 became a serious competitor and the usage of the line declined steeply. Economy measures did little to retrieve the situation and the passenger service was withdrawn in 1951. Goods traffic continued for a period, but in 1964 that too was withdrawn. There is no railway use of the line now.