Masham is a small market town and civil parish in the Harrogate district of North Yorkshire, England. It has a population of 1,235. Situated in Wensleydale on the western bank of the River Ure, the name derives from the Anglo-Saxon "Męssa's Ham", the homestead belonging to Męssa.