Counties in Massachusetts by median age

Barnstable County had the highest median age of 14 counties in 2022, at 54.5 years. Suffolk County had the lowest, at 33.6 years. The median was 40.8 years and the figure for Massachusetts was 39.8 years. Source: the U.S. Census Bureau.

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

All counties, 2022

CSVChart (SVG)

Barnstable CountyBarnstable County: 54.5 years54.5Dukes CountyDukes County: 49.2 years49.2Berkshire CountyBerkshire County: 47.5 years47.5Franklin CountyFranklin County: 47.1 years47.1Plymouth CountyPlymouth County: 42.7 years42.7Bristol CountyBristol County: 41 years41Essex CountyEssex County: 40.9 years40.9Norfolk CountyNorfolk County: 40.7 years40.7Nantucket CountyNantucket County: 40.5 years40.5Worcester CountyWorcester County: 40.2 years40.2Hampden CountyHampden County: 39.5 years39.5Hampshire CountyHampshire County: 39.3 years39.3Middlesex CountyMiddlesex County: 38.8 years38.8Suffolk CountySuffolk County: 33.6 years33.6
years. Source: U.S. Census Bureau. Retrieved 2026-10-08.

Full ranking

RankCounties2022
years
Change on 2021
1Barnstable County54.5+0.6
2Dukes County49.2+1.3
3Berkshire County47.5+0.4
4Franklin County47.1-0.1
5Plymouth County42.7+0.1
6Bristol County41+0.1
7Essex County40.9+0.1
8Norfolk County40.70
9Nantucket County40.5-1.4
10Worcester County40.20
11Hampden County39.5+0.1
12Hampshire County39.3+2.6
13Middlesex County38.8+0.3
14Suffolk County33.6+0.3

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/2022/table-based-SF/data/5YRData/acsdt5y2022-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 54.5 years in 2022, according to the U.S. Census Bureau.

Which county has the lowest median age?

Suffolk County, with 33.6 years in 2022.

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