Shirley (CDP), Massachusetts

Shirley is a census-designated place (CDP) comprising the main village in the town of Shirley in Middlesex County, Massachusetts, United States. The population was 1,611 at the 2020 census, out of 7,431 in the entire town of Shirley.

Geography
The village of Shirley is located in northwestern Middlesex County at 42.54324°N, -71.65099°W (42.54324, -71.650987), in the southern part of the town of Shirley. It is bordered to the east by the Devens regional enterprise zone and to the south by the town of Lancaster in Worcester County. The western edge of the CDP follows Bow Brook, a tributary of Catacoonamug Brook, which flows through the village center and joins the Nashua River in Devens.

No numbered state highways run through the village. It is 7 mi east of Leominster and 3 mi southwest of Ayer.

According to the United States Census Bureau, the Shirley CDP has a total area of 1.34 sqmi, of which 0.02 sqmi, or 1.27%, are water.

Demographics
As of the census of 2000, there were 1,427 people, 632 households, and 343 families residing in the CDP. The population density was 408.1 /km2. There were 664 housing units at an average density of 189.9 /km2. The racial makeup of the CDP was 92.15% White, 3.99% Black or African American, 0.07% Native American, 1.82% Asian, 0.42% from other races, and 1.54% from two or more races. Hispanic or Latino of any race were 2.03% of the population.

There were 632 households, out of which 26.7% had children under the age of 18 living with them, 40.0% were married couples living together, 10.3% had a female householder with no husband present, and 45.7% were non-families. 38.9% of all households were made up of individuals, and 14.1% had someone living alone who was 65 years of age or older. The average household size was 2.26 and the average family size was 3.08.

In the CDP, the population was spread out, with 23.2% under the age of 18, 7.0% from 18 to 24, 33.6% from 25 to 44, 21.4% from 45 to 64, and 14.9% who were 65 years of age or older. The median age was 39 years. For every 100 females, there were 94.7 males. For every 100 females age 18 and over, there were 93.6 males.

The median income for a household in the CDP was $40,956, and the median income for a family was $56,950. Males had a median income of $40,742 versus $32,143 for females. The per capita income for the CDP was $22,256. About 5.4% of families and 6.2% of the population were below the poverty line, including 4.5% of those under age 18 and none of those age 65 or over.