Lunenburg is a town in Worcester County, Massachusetts, United States. The population was 11,946 at the 2020 census.