Counties in Massachusetts by median age

Barnstable County had the highest median age of 14 counties in 2021, at 53.9 years. Suffolk County had the lowest, at 33.3 years. The median was 40.8 years and the figure for Massachusetts was 39.6 years. Source: the U.S. Census Bureau.

Lowest33.3Suffolk County
Median40.814 counties
Massachusetts39.6History

All counties, 2021

CSVChart (SVG)

Barnstable CountyBarnstable County: 53.9 years53.9Dukes CountyDukes County: 47.9 years47.9Franklin CountyFranklin County: 47.2 years47.2Berkshire CountyBerkshire County: 47.1 years47.1Plymouth CountyPlymouth County: 42.6 years42.6Nantucket CountyNantucket County: 41.9 years41.9Bristol CountyBristol County: 40.9 years40.9Essex CountyEssex County: 40.8 years40.8Norfolk CountyNorfolk County: 40.7 years40.7Worcester CountyWorcester County: 40.2 years40.2Hampden CountyHampden County: 39.4 years39.4Middlesex CountyMiddlesex County: 38.5 years38.5Hampshire CountyHampshire County: 36.7 years36.7Suffolk CountySuffolk County: 33.3 years33.3
years. Source: U.S. Census Bureau. Retrieved 2026-10-08.

Full ranking

Other periods

About this ranking

Age that divides the resident population into two halves of equal size. Spain and the EU: on 1 January. United States: American Community Survey five-year estimate, where the period shown is the last year of the five-year span.

Every value in the ranking comes from the same publisher and the same period, so the counties are compared on one definition. Equal values share a rank.

How to cite

U.S. Census Bureau. American Community Survey 5-year estimates, table B01002: median age, total population. https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b01002.dat. Retrieved 2026-10-08.

Use this data in your AI agent

Invokely serves this figure to AI assistants through MCP and to code through a REST API, with the source and citation attached. Ask your assistant:

Rank Counties in Massachusetts by median age using official data, and cite the source.
rank_places {"indicator":"median_age","level":"province","within":"Massachusetts","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=median_age&level=province&within=Massachusetts&limit=10

Connect Claude, ChatGPT or Cursor in one step. The trial answers 25 calls a day without an account.

Questions

Which county has the highest median age?

Barnstable County, with 53.9 years in 2021, according to the U.S. Census Bureau.

Which county has the lowest median age?

Suffolk County, with 33.3 years in 2021.

Where does this ranking come from?

Every value comes from one source and one period, so the places are comparable: U.S. Census Bureau, American Community Survey 5-year estimates, table B01002: median age, total population. Retrieved 2026-10-08.

Median age: other rankings

Counties in Massachusetts: more rankings