Shirley

Town in Middlesex County, Massachusetts

View of Shirley, Massachusetts
Photo: Bob Burkhardt · CC BY 3.0

Shirley is a town in Middlesex County, Massachusetts, with 7,431 residents (2020 Census). It sits at 279 ft (85 m) above sea level. The nearest town is Devens, 2.5 miles SE.

About Shirley

Shirley is a town in Middlesex County, Massachusetts, United States. It is approximately thirty miles west-northwest of Boston. The population was 7,431 at the 2020 census. It contains census-designated place of Shirley and part of Devens. The town has a well-preserved historic New England town center.

It is home to the Massachusetts Correctional Institution – Shirley, a medium-security state prison. (The neighboring maximum-security Souza-Baranowski Correctional Center lies just outside the town limits in the town of Lancaster.) The remains of a Shaker village have been preserved within the grounds of the prison.

Text: Wikipedia · CC BY-SA 4.0

Shirley weather: 7-day forecast

Loading the National Weather Service forecast…

Hourly forecast & alerts ›

Source: National Weather Service (NOAA).

Live webcams in Shirley

All 24 webcams near Shirley ›

Webcams: Windy.com

Living in Shirley

Median household income
$122,365
Median home value
$427,600
Median rent
$1,481/mo
Median age
44.3
Cost of living and demographics of Shirley ›

Do you know Shirley? Tell us about it

Help other travelers: share what makes Shirley special. We review every message before publishing it.

Map of Shirley

Tap any street on the map to see it in Street View below. Map: © OpenStreetMap contributors.

Shirley Street View

Loading 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 ›

Shirley, MA population

Shirley had 7,431 residents in the 2020 Census.

2020 Census7,431
Density470 per sq mi (181 per km²)

Source: U.S. Census Bureau, Decennial Census.

Shirley at a glance

StateMassachusetts (MA)
CountyMiddlesex County
TypeTown
Population7,431 (2020)
Land area15.82 sq mi (41.0 km²)
Water area0.08 sq mi (0.21 km²)
Elevation279 ft (85 m)
Coordinates42.5737° N, 71.6410° W
ZIP codes01464, 01434
Official websiteshirley-ma.gov
Census code (GEOID)2501761590

Sources: U.S. Census Bureau (Gazetteer, ZCTA), USGS GNIS, Wikidata.

Towns near Shirley

Straight-line distance between town centers.

Frequently asked questions about Shirley

What county is Shirley in?

Shirley is in Middlesex County, Massachusetts.

What is the population of Shirley, MA?

7,431 people lived in Shirley at the 2020 Census.

What is the ZIP code of Shirley, MA?

The main ZIP code is 01464. Other ZIP codes: 01434.

What is the elevation of Shirley?

279 feet (85 m) above sea level.

What towns are near Shirley?

Devens (2.5 mi), Ayer (3.4 mi), Lunenburg (4.1 mi), Groton (4.7 mi), Harvard (5.5 mi).

Last updated: