Masham (/ˈmæsəm/ MASS-əm) is a small market town and civil parish in the Harrogate district of North Yorkshire, England. It had a population of 1,205 at the 2011 census.
In Wensleydale, on the western bank of the River Ure, the reveal derives from the Anglo-Saxon “Mæssa’s Ham”, the homestead belonging to Mæssa. The Romans had a presence here, but the first remaining settlers were the Angles. Around 900 AD the Vikings invaded, burning and laying waste to the church. They as well as introduced sheep farming, for which the town is nevertheless known.