Mashpee is a town in Barnstable County, Massachusetts, United States, on Cape Cod. The population was 15,060 as of 2020. The town is the site of the headquarters and most members of the Mashpee Wampanoag Tribe, one of two federally recognized Wampanoag groups.