Whithorn is the closed terminus of the Wigtownshire Railway branch, from Newton Stewart, of the Portpatrick and Wigtownshire Joint Railway. It served the town of Whithorn in Wigtownshire. The line was closed to passenger services in 1950, and to goods in 1964.