From the point where it enters Dumfriesshire, 16 miles from its source near Enoch Hill in Ayrshire, the course of the Nith is mainly south-easterly until it enters the Solway, a few miles below Dumfries.