Barre is a town in Worcester County, Massachusetts, United States. The population was 5,398 at the 2010 census.