Ayer
Town in Middlesex County, Massachusetts

Ayer is a town in Middlesex County, Massachusetts, with 8,479 residents (2020 Census). It sits at 226 ft (69 m) above sea level. The nearest town is Devens, 2.5 miles SW.
- 8,479residents (2020 Census)
- 226 ftelevation · 69 m
- 8.9 sq miland area · 23.2 km²
- 948 / sq mipopulation density
- 01432ZIP code
About Ayer
Ayer (, AIR) is a town in Middlesex County, Massachusetts, United States. Originally part of Groton, it was incorporated February 14, 1871, and became a major commercial railroad junction. The town was home to Camp Stevens, a training camp for Massachusetts volunteers during the American Civil War. Later, Fort Devens was established by the federal government to train New England soldiers for World War I. Fort Devens is a major influence on the area, although it is considerably smaller than when it was first closed in the mid-1990s. The town's population was 8,479 at the 2020 census. It contains the census-designated places of Ayer and Devens.
Text: Wikipedia · CC BY-SA 4.0
Ayer weather: 7-day forecast
Loading the National Weather Service forecast…
Source: National Weather Service (NOAA).
Live webcams in Ayer
Webcams: Windy.com
Living in Ayer
- Median household income
- $101,875
- Median home value
- $463,800
- Median rent
- $1,415/mo
- Median age
- 39.2
Do you know Ayer? Tell us about it
Help other travelers: share what makes Ayer special. We review every message before publishing it.
Map of Ayer
Tap any street on the map to see it in Street View below. Map: © OpenStreetMap contributors.
Ayer Street View
Drag the image to look around and tap the arrows on the ground to move. If it says there is no imagery, tap a nearby street on the map above.
Open in Google Maps ›Ayer, MA population
Ayer had 8,479 residents in the 2020 Census.
| 2020 Census | 8,479 |
|---|---|
| Density | 948 per sq mi (366 per km²) |
Source: U.S. Census Bureau, Decennial Census.
Ayer at a glance
| State | Massachusetts (MA) |
|---|---|
| County | Middlesex County |
| Type | Town |
| Population | 8,479 (2020) |
| Land area | 8.95 sq mi (23.2 km²) |
| Water area | 0.55 sq mi (1.44 km²) |
| Elevation | 226 ft (69 m) |
| Coordinates | 42.5666° N, 71.5751° W |
| ZIP code | 01432 |
| Official website | ayer.ma.us |
| Census code (GEOID) | 2501703005 |
Sources: U.S. Census Bureau (Gazetteer, ZCTA), USGS GNIS, Wikidata.
Towns near Ayer
- Devens2.5 mi SW
- Groton3.2 mi N
- Shirley3.4 mi W
- Harvard4.4 mi S
- Littleton4.8 mi SE
- Littleton Common5.7 mi E
- Boxborough6.2 mi SE
- East Pepperell6.7 mi N
- Westford7.0 mi E
- Pepperell7.3 mi N
- Lunenburg7.5 mi W
- Lancaster7.7 mi SW
Straight-line distance between town centers.
Frequently asked questions about Ayer
What county is Ayer in?
Ayer is in Middlesex County, Massachusetts.
What is the population of Ayer, MA?
8,479 people lived in Ayer at the 2020 Census.
What is the ZIP code of Ayer, MA?
The ZIP code of Ayer is 01432.
What is the elevation of Ayer?
226 feet (69 m) above sea level.
What towns are near Ayer?
Devens (2.5 mi), Groton (3.2 mi), Shirley (3.4 mi), Harvard (4.4 mi), Littleton (4.8 mi).
Last updated: