Masham is a market town and civil parish in the former Harrogate district of North Yorkshire, England. It had a population of 1,205 at the 2011 census.