For geographic and demographic information on the census-designated place Groton, please see the article Groton (CDP), Massachusetts.
According to the United States Census Bureau, the town has a total area of 87.3 km² (33.7 mi²). 84.9 km² (32.8 mi²) of it is land and 2.4 km² (0.9 mi²) of it is water. The total area is 2.79% water.
As of the census of 2000, there are 9,547 people, 3,268 households, and 2,568 families residing in the town. The population density is 112.5/km² (291.3/mi²). There are 3,393 housing units at an average density of 40.0 persons/km² (103.5 persons/mi²). The racial makeup of the town is 97.22% White, 0.35% African American, 0.13% Native American, 0.97% Asian, 0.02% Pacific Islander, 0.27% from other races, and 1.04% from two or more races. 1.14% of the population are Hispanic or Latino of any race.
There are 3,268 households out of which 46.8% have children under the age of 18 living with them, 70.0% are married couples living together, 6.3% have a woman whose husband does not live with her, and 21.4% are non-families. 17.1% of all households are made up of individuals and 5.4% have someone living alone who is 65 years of age or older. The average household size is 2.90 and the average family size is 3.31.
In the town the population is spread out with 32.6% under the age of 18, 4.2% from 18 to 24, 32.7% from 25 to 44, 23.5% from 45 to 64, and 7.0% who are 65 years of age or older. The median age is 36 years. For every 100 females there are 98.2 males. For every 100 females age 18 and over, there are 94.5 males.
The median income for a household in the town is $82,869, and the median income for a family is $92,014. Males have a median income of $63,889 versus $41,581 for females. The per capita income for the town is $33,877. 4.0% of the population and 2.5% of families are below the poverty line. Out of the total people living in poverty, 3.8% are under the age of 18 and 0.0% are 65 or older.