Pepperell is a town located in Middlesex County, Massachusetts. It was first settled in 1720 and was officially incorporated in 1775. According to the United States Census Bureau, the town has a total area of 60.0 km² (23.2 mi²). 58.4 km² (22.6 mi²) of it is land and 1.6 km² (0.6 mi²) of it is water. The total area is 2.63% water.