Granby is a town in Hampshire County, Massachusetts, United States. The population was 6,110 at the 2020 census. It is part of the Springfield, Massachusetts Metropolitan Statistical Area. The census-designated place of Granby corresponds to the main village of Granby in the center of the town.