Community in Middlesex County, Massachusetts

Ayer, Massachusetts

3,098 residents · 1 ZIP Code

Population
3,098
Rank in state
155th largest of 238 places
Land area
1.3 sq mi · 2,336 people/sq mi
Time zone
Eastern Time
ZIP Codes
01432
Area code
351 and 978
71.60°W71.59°W71.58°W71.57°W42.55°N42.56°N42.57°N014320.5 miN
Ayer city limits (outlined) over the ZIP Codes that serve it.

What county is Ayer in?

Ayer is in Middlesex County, Massachusetts.

What stands out in Ayer

  • The share of residents born abroad is 12.7%, 45% lower than Middlesex County (23.1%).
  • The median rent is $1,240 a month, 44% lower than Middlesex County ($2,201 a month).
  • The median household income is $74,878, 43% lower than Middlesex County ($130,847).
  • The median home value is $444,600, 39% lower than Middlesex County ($727,800).

ZIP Codes in Ayer

ZIP CodeCityPopulationMedian incomeHome valueMedian ageShare in city
01432Ayer8,521$101,966$463,80039.015% of ZIP

People in Ayer

Median age42.1
Under 1820.8%
65 and older15.3%
Born abroad12.7%
Moved here in the last year8%

Age and sex

MaleAgeFemale
0.3%80+3.2%
1.9%70–793.4%
8.8%60–698.7%
5.3%50–599.9%
7.0%40–494.2%
6.7%30–3911.3%
2.6%20–295.4%
4.9%10–195.7%
5.0%0–95.5%
Share of all residents in each age group

Race and ethnicity

  • White71.2%
  • Hispanic or Latino13.8%
  • Asian6.9%
  • Black6.6%
  • Two or more races1.4%

Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.

Households

1,511 households, 2.02 people per household on average, 39.5% family households, and 50.8% people living alone.

Income in Ayer

Median household income$74,878±$16,927
Per-capita income$53,068
Poverty rate6.9%
Income inequality (Gini)0.400 = equal, 1 = unequal
6%Under $25k
16%$25k–50k
28%$50k–75k
13%$75k–100k
10%$100k–150k
13%$150k–200k
14%$200k+
Households by annual income

Housing in Ayer

Median home value$444,600
Median gross rent$1,240/mo
Housing units1,631
Median year built1952
Vacant7.4%

Owners and renters

  • Owner-occupied 58.1%
  • Renter-occupied 41.9%

Types of homes

  • Single-family homes 49%
  • 2–9 unit buildings 45.5%
  • 10+ unit buildings 5.5%

Work, commute and education

Mean commute29 minone way
Unemployment rate4.1%
Labor force participation76.6%age 16+
Broadband at home83.5%households

How workers get to work

  • Drove alone72.6%
  • Carpooled2.9%
  • Public transit4.7%
  • Walked0%
  • Bicycle0%
  • Worked from home19.8%

Education, adults 25+

  • High school or higher89.9%
  • Bachelor's or higher37.7%
  • Graduate or professional degree14.6%

How Ayer compares

AyerMiddlesex CountyMassachusettsUnited States
Median household income$74,878$130,847$103,960$80,734
Per-capita income$53,068$69,556$57,897$44,673
Median home value$444,600$727,800$562,100$332,700
Median gross rent$1,240/mo$2,201/mo$1,762/mo$1,413/mo
Homeownership rate58.1%61.3%62.5%65.2%
Median age42.138.940.038.9
Bachelor's degree or higher37.7%59.5%47.3%35.7%
Poverty rate6.9%7.7%10%12.5%
Unemployment rate4.1%4.4%5.2%5.2%
Mean commute29 min30 min29 min26 min
Worked from home19.8%24.7%18.6%15.1%
Broadband at home83.5%94.7%92.8%91%
Foreign-born residents12.7%23.1%18%14.1%

Places near Ayer

Area codes in Ayer

Ayer phone numbers use area codes 351 and 978. See every phone prefix, carrier and the local time on Ayer area codes at AreaCodeExplorer.

Ayer, MA: questions and answers

What county is Ayer, MA in?
Ayer is in Middlesex County, Massachusetts.
What ZIP Codes are in Ayer?
Ayer is served by 1 residential ZIP Code: 01432.
What is the population of Ayer?
About 3,098 people live in Ayer (2020–2024 American Community Survey).
What time zone is Ayer in?
Ayer is in the Eastern Time zone (America/New_York).
What is the area code for Ayer?
Ayer uses area codes 351 and 978.

Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files. How we build these pages.