The population was 14,674 at the 2020 census. Location in Barnstable County and the state of Massachusetts. The town encompasses five distinct villages, each of which has its own post office. These constituent villages are Dennis (including North Dennis), Dennis Port, East Dennis, South Dennis, and West Dennis