Hartland is a town in Somerset County, Maine, United States. The population was 1,782 at the 2010 census.