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.

Keep it in a collection in your library.
Lowest33.3Suffolk County
Median40.814 counties
Massachusetts39.6History

Map of counties, 2021

Barnstable County: 53.9 yearsBerkshire County: 47.1 yearsBristol County: 40.9 yearsDukes County: 47.9 yearsEssex County: 40.8 yearsFranklin County: 47.2 yearsHampden County: 39.4 yearsHampshire County: 36.7 yearsMiddlesex County: 38.5 yearsNantucket County: 41.9 yearsNorfolk County: 40.7 yearsPlymouth County: 42.6 yearsSuffolk County: 33.3 yearsWorcester County: 40.2 years
  • Under 39
  • 39 to 41
  • 41 to 42
  • 42 to 47
  • 47 and over
years, 2021. Source: U.S. Census Bureau, American Community Survey 5-year estimates, table B01002: median age, total population. Boundaries: U.S. Census Bureau cartographic boundary files.

All counties, 2021

Barnstable County: 53.9 yearsBarnstable County53.9Dukes County: 47.9 yearsDukes County47.9Franklin County: 47.2 yearsFranklin County47.2Berkshire County: 47.1 yearsBerkshire County47.1Plymouth County: 42.6 yearsPlymouth County42.6Nantucket County: 41.9 yearsNantucket County41.9Bristol County: 40.9 yearsBristol County40.9Essex County: 40.8 yearsEssex County40.8Norfolk County: 40.7 yearsNorfolk County40.7Worcester County: 40.2 yearsWorcester County40.2Hampden County: 39.4 yearsHampden County39.4Middlesex County: 38.5 yearsMiddlesex County38.5Hampshire County: 36.7 yearsHampshire County36.7Suffolk County: 33.3 yearsSuffolk County33.3Barnstable County: 53.9 yearsBarnstable County53.9Dukes County: 47.9 yearsDukes County47.9Franklin County: 47.2 yearsFranklin County47.2Berkshire County: 47.1 yearsBerkshire County47.1Plymouth County: 42.6 yearsPlymouth County42.6Nantucket County: 41.9 yearsNantucket County41.9Bristol County: 40.9 yearsBristol County40.9Essex County: 40.8 yearsEssex County40.8Norfolk County: 40.7 yearsNorfolk County40.7Worcester County: 40.2 yearsWorcester County40.2Hampden County: 39.4 yearsHampden County39.4Middlesex County: 38.5 yearsMiddlesex County38.5Hampshire County: 36.7 yearsHampshire County36.7Suffolk County: 33.3 yearsSuffolk County33.3
years. Source: U.S. Census Bureau, American Community Survey 5-year estimates, table B01002: median age, total population. 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. Canada: on 1 July, Statistics Canada population estimates.

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.

Citation styles

The publisher is the author. Invokely is named only as the place the figures were read, where a style asks for it.

APA 7

U.S. Census Bureau. (2026). American Community Survey 5-year estimates, table B01002: median age, total population (Counties in Massachusetts by median age, 2021) [Data set]. Retrieved October 8, 2026, from https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b01002.dat

MLA 9

American Community Survey 5-year estimates, table B01002: median age, total population, Counties in Massachusetts by median age, 2021. U.S. Census Bureau, 29 Jan. 2026, https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b01002.dat. Invokely, https://invokely.ai/rankings/median-age/massachusetts-counties?period=2021. Accessed 8 Oct. 2026.

Chicago (author-date)

U.S. Census Bureau. 2026. American Community Survey 5-year estimates, table B01002: median age, total population. Counties in Massachusetts by median age, 2021. Dataset. Accessed October 8, 2026. https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b01002.dat. Also distributed by Invokely, https://invokely.ai/rankings/median-age/massachusetts-counties?period=2021.

Harvard

U.S. Census Bureau (2026) American Community Survey 5-year estimates, table B01002: median age, total population, Counties in Massachusetts by median age, 2021 [Dataset]. Available at: https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b01002.dat, via Invokely: https://invokely.ai/rankings/median-age/massachusetts-counties?period=2021 (Accessed: 8 October 2026).

BibTeX
@misc{census_counties_in_massachusetts_by_2021,
  author = {{U.S. Census Bureau}},
  title = {{American Community Survey 5-year estimates, table B01002: median age, total population: Counties in Massachusetts by median age, 2021}},
  year = {2026},
  howpublished = {Data set},
  url = {https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b01002.dat},
  urldate = {2026-10-08},
  note = {Accessed via Invokely, https://invokely.ai/rankings/median-age/massachusetts-counties?period=2021. Publisher attribution: 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.},
}
RIS
TY  - DATA
AU  - U.S. Census Bureau
TI  - American Community Survey 5-year estimates, table B01002: median age, total population: Counties in Massachusetts by median age, 2021
PY  - 2026
DA  - 2026/01/29
PB  - U.S. Census Bureau
DB  - Invokely
UR  - https://www2.census.gov/programs-surveys/acs/summary_file/2021/table-based-SF/data/5YRData/acsdt5y2021-b01002.dat
L2  - https://invokely.ai/rankings/median-age/massachusetts-counties?period=2021
Y2  - 2026/10/08
N1  - Accessed via Invokely, https://invokely.ai/rankings/median-age/massachusetts-counties?period=2021.
N1  - Publisher attribution: 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.
ER  - 
Embed this chart

Paste this code into a web page or a blog post. The chart shows the latest figures as they are published, with the source and a link back to this page.

Sites that read oEmbed links, such as WordPress, can show the chart when you paste the link to this page.

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