Independent community site, not affiliated with any government.

Derry Town, New Hampshire vs Shirley Town, Massachusetts

Two towns in different states side by side, from the US Census Bureau records their own pages show. Both are in the Boston-Cambridge-Newton, MA-NH Metro Area metro area.

Derry Town, NHRockingham County

Population 34,062 (2024 estimate)

Shirley Town, MAMiddlesex County

Population 7,042 (2024 estimate)

Side by sideACS 2019-2023
Derry Town compared with Shirley Town, American Community Survey 2019-2023
MeasureDerry TownShirley Town
Population34,3357,017
Median household income$104,718$121,875
Median age39.744.3
Median home value$381,700$412,700
Bachelor’s degree or higher35.1%35.6%
Foreign-born residents4.3%7.2%
Owner-occupied homes70.0%82.3%
Mean commute to work31.5 minutes38.0 minutes

Sources: American Community Survey 5-year data profile 2019–2023, county subdivision level, state 33, released December 12, 2024, retrieved November 16, 2026; American Community Survey 5-year data profile 2019–2023, county subdivision level, state 25, released December 12, 2024, retrieved November 16, 2026.