to
Update
is a town in Middlesex County, Massachusetts, United States. Originally part of Groton, it was incorporated in 1871 and became a major commercial railroad junction. The town was home to Fort Devens, an army camp established in the Civil War, until its closure in 1994. The population was 7,287 at the 2000 census.
For geographic and demographic information on specific parts of the town of Ayer, please see the articles on Ayer (CDP) and Fort Devens.
According to the United States Census Bureau, the town has a total area of 24.8 km
). 23.4 km
Ayer borders the following towns: Shirley, Groton, Littleton, and Harvard.