Community in Middlesex County, Massachusetts

Shirley, Massachusetts

1,146 residents · 1 ZIP Code

Population
1,146
Rank in state
222nd largest of 238 places
Land area
1.3 sq mi · 869 people/sq mi
Time zone
Eastern Time
ZIP Codes
01464
Area code
351 and 978
71.68°W71.67°W71.66°W71.65°W71.64°W42.53°N42.54°N42.55°N014640.5 miN
Shirley city limits (outlined) over the ZIP Codes that serve it.

What county is Shirley in?

Shirley is in Middlesex County, Massachusetts.

What stands out in Shirley

  • The share of residents born abroad is 3.8%, 84% lower than Middlesex County (23.1%).
  • The median rent is $982 a month, 55% lower than Middlesex County ($2,201 a month).
  • The median home value is $395,800, 46% lower than Middlesex County ($727,800).
  • The poverty rate is 5.9%, 23% lower than Middlesex County (7.7%).

ZIP Codes in Shirley

ZIP CodeCityPopulationMedian incomeHome valueMedian ageShare in city
01464Shirley6,976$122,365$427,60044.39% of ZIP

People in Shirley

Median age44.2
Under 1818.4%
65 and older15.8%
Born abroad3.8%
Moved here in the last year15.4%

Age and sex

MaleAgeFemale
0.0%80+2.4%
3.1%70–791.6%
7.6%60–6915.4%
5.6%50–597.4%
7.8%40–493.8%
3.8%30–3913.2%
4.1%20–296.0%
5.7%10–192.4%
8.1%0–92.3%
Share of all residents in each age group

Race and ethnicity

  • White89%
  • Hispanic or Latino7.9%
  • Black3.1%

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

Households

503 households, 2.28 people per household on average, 56.7% family households, and 38.8% people living alone.

Income in Shirley

Median household income$108,494±$61,712
Per-capita income$50,273
Poverty rate5.9%
Income inequality (Gini)0.420 = equal, 1 = unequal
8%Under $25k
23%$25k–50k
12%$50k–75k
1%$75k–100k
27%$100k–150k
20%$150k–200k
8%$200k+
Households by annual income

Housing in Shirley

Median home value$395,800
Median gross rent$982/mo
Housing units503
Median year built1938
Vacant0%

Owners and renters

  • Owner-occupied 63.2%
  • Renter-occupied 36.8%

Types of homes

  • Single-family homes 64.6%
  • 2–9 unit buildings 22.5%
  • 10+ unit buildings 12.9%

Work, commute and education

Mean commute32 minone way
Unemployment rate6%
Labor force participation72.6%age 16+
Broadband at home87.9%households

How workers get to work

  • Drove alone69.6%
  • Carpooled6.4%
  • Public transit2.6%
  • Walked0%
  • Bicycle0%
  • Worked from home21.3%

Education, adults 25+

  • High school or higher97.9%
  • Bachelor's or higher47.4%
  • Graduate or professional degree15%

How Shirley compares

ShirleyMiddlesex CountyMassachusettsUnited States
Median household income$108,494$130,847$103,960$80,734
Per-capita income$50,273$69,556$57,897$44,673
Median home value$395,800$727,800$562,100$332,700
Median gross rent$982/mo$2,201/mo$1,762/mo$1,413/mo
Homeownership rate63.2%61.3%62.5%65.2%
Median age44.238.940.038.9
Bachelor's degree or higher47.4%59.5%47.3%35.7%
Poverty rate5.9%7.7%10%12.5%
Unemployment rate6%4.4%5.2%5.2%
Mean commute32 min30 min29 min26 min
Worked from home21.3%24.7%18.6%15.1%
Broadband at home87.9%94.7%92.8%91%
Foreign-born residents3.8%23.1%18%14.1%

Places near Shirley

Area codes in Shirley

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

Shirley, MA: questions and answers

What county is Shirley, MA in?
Shirley is in Middlesex County, Massachusetts.
What ZIP Codes are in Shirley?
Shirley is served by 1 residential ZIP Code: 01464.
What is the population of Shirley?
About 1,146 people live in Shirley (2020–2024 American Community Survey).
What time zone is Shirley in?
Shirley is in the Eastern Time zone (America/New_York).
What is the area code for Shirley?
Shirley 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.