Cities in Pennsylvania by median age

St. Marys, PA had the highest median age of 68 cities in 2022, at 50.5 years. State College, PA had the lowest, at 21.4 years. The median was 38.2 years and the figure for Pennsylvania was 40.8 years. Source: the U.S. Census Bureau.

Keep it in a collection in your library.
Highest50.5St. Marys, PA
Median38.268 cities
Pennsylvania40.8History

Top 40 cities, 2022

St. Marys, PA: 50.5 yearsSt. Marys, PA50.5Murrysville, PA: 50.1 yearsMurrysville, PA50.1Wyomissing, PA: 49.7 yearsWyomissing, PA49.7Hermitage, PA: 49.2 yearsHermitage, PA49.2Lower Burrell, PA: 48.9 yearsLower Burrell, PA48.9New Kensington, PA: 47.8 yearsNew Kensington, PA47.8Bethel Park, PA: 47.2 yearsBethel Park, PA47.2West Mifflin, PA: 45.2 yearsWest Mifflin, PA45.2Munhall, PA: 44.9 yearsMunhall, PA44.9Monroeville, PA: 44.8 yearsMonroeville, PA44.8Whitehall, PA: 44.8 yearsWhitehall, PA44.8Jefferson Hills, PA: 44.7 yearsJefferson Hills, PA44.7Wilkinsburg, PA: 44.1 yearsWilkinsburg, PA44.1Johnstown, PA: 44 yearsJohnstown, PA44Plum, PA: 43.9 yearsPlum, PA43.9Sharon, PA: 43.8 yearsSharon, PA43.8Baldwin, PA: 43.2 yearsBaldwin, PA43.2Lansdowne, PA: 43.1 yearsLansdowne, PA43.1Columbia, PA: 42.7 yearsColumbia, PA42.7McKeesport, PA: 42.1 yearsMcKeesport, PA42.1Nanticoke, PA: 42 yearsNanticoke, PA42Berwick, PA: 41.7 yearsBerwick, PA41.7Yeadon, PA: 41.5 yearsYeadon, PA41.5Franklin Park, PA: 41.1 yearsFranklin Park, PA41.1Emmaus, PA: 40.9 yearsEmmaus, PA40.9Northampton, PA: 40.6 yearsNorthampton, PA40.6Hanover, PA: 40.4 yearsHanover, PA40.4Dunmore, PA: 40.1 yearsDunmore, PA40.1Altoona, PA: 39.7 yearsAltoona, PA39.7Pottsville, PA: 39.6 yearsPottsville, PA39.6Chambersburg, PA: 39.5 yearsChambersburg, PA39.5Lebanon, PA: 38.5 yearsLebanon, PA38.5Mechanicsburg, PA: 38.4 yearsMechanicsburg, PA38.4Butler, PA: 38.2 yearsButler, PA38.2New Castle, PA: 38.1 yearsNew Castle, PA38.1Lansdale, PA: 37.9 yearsLansdale, PA37.9Washington, PA: 37.7 yearsWashington, PA37.7Kingston, PA: 37.6 yearsKingston, PA37.6Scranton, PA: 37.3 yearsScranton, PA37.3Hazleton, PA: 37.1 yearsHazleton, PA37.1St. Marys, PA: 50.5 yearsSt. Marys, PA50.5Murrysville, PA: 50.1 yearsMurrysville, PA50.1Wyomissing, PA: 49.7 yearsWyomissing, PA49.7Hermitage, PA: 49.2 yearsHermitage, PA49.2Lower Burrell, PA: 48.9 yearsLower Burrell, PA48.9New Kensington, PA: 47.8 yearsNew Kensington, PA47.8Bethel Park, PA: 47.2 yearsBethel Park, PA47.2West Mifflin, PA: 45.2 yearsWest Mifflin, PA45.2Munhall, PA: 44.9 yearsMunhall, PA44.9Monroeville, PA: 44.8 yearsMonroeville, PA44.8Whitehall, PA: 44.8 yearsWhitehall, PA44.8Jefferson Hills, PA: 44.7 yearsJefferson Hills, PA44.7Wilkinsburg, PA: 44.1 yearsWilkinsburg, PA44.1Johnstown, PA: 44 yearsJohnstown, PA44Plum, PA: 43.9 yearsPlum, PA43.9Sharon, PA: 43.8 yearsSharon, PA43.8Baldwin, PA: 43.2 yearsBaldwin, PA43.2Lansdowne, PA: 43.1 yearsLansdowne, PA43.1Columbia, PA: 42.7 yearsColumbia, PA42.7McKeesport, PA: 42.1 yearsMcKeesport, PA42.1Nanticoke, PA: 42 yearsNanticoke, PA42Berwick, PA: 41.7 yearsBerwick, PA41.7Yeadon, PA: 41.5 yearsYeadon, PA41.5Franklin Park, PA: 41.1 yearsFranklin Park, PA41.1Emmaus, PA: 40.9 yearsEmmaus, PA40.9Northampton, PA: 40.6 yearsNorthampton, PA40.6Hanover, PA: 40.4 yearsHanover, PA40.4Dunmore, PA: 40.1 yearsDunmore, PA40.1Altoona, PA: 39.7 yearsAltoona, PA39.7Pottsville, PA: 39.6 yearsPottsville, PA39.6Chambersburg, PA: 39.5 yearsChambersburg, PA39.5Lebanon, PA: 38.5 yearsLebanon, PA38.5Mechanicsburg, PA: 38.4 yearsMechanicsburg, PA38.4Butler, PA: 38.2 yearsButler, PA38.2New Castle, PA: 38.1 yearsNew Castle, PA38.1Lansdale, PA: 37.9 yearsLansdale, PA37.9Washington, PA: 37.7 yearsWashington, PA37.7Kingston, PA: 37.6 yearsKingston, PA37.6Scranton, PA: 37.3 yearsScranton, PA37.3Hazleton, PA: 37.1 yearsHazleton, PA37.1
years. Source: U.S. Census Bureau, American Community Survey 5-year estimates, table B01002: median age, total population, US cities (incorporated places of 10,000 or more). Retrieved 2026-10-12.

Full ranking

RankCities2022
years
Change on 2021
1St. Marys, PA50.5+0.9
2Murrysville, PA50.1-0.2
3Wyomissing, PA49.7-0.7
4Hermitage, PA49.20
5Lower Burrell, PA48.9+0.5
6New Kensington, PA47.8+1
7Bethel Park, PA47.2-0.3
8West Mifflin, PA45.2+1
9Munhall, PA44.9-3.9
10Monroeville, PA44.8-0.5
10Whitehall, PA44.8+1.5
12Jefferson Hills, PA44.7-0.4
13Wilkinsburg, PA44.1+2.2
14Johnstown, PA44-0.4
15Plum, PA43.9-0.2
16Sharon, PA43.8+1.1
17Baldwin, PA43.2+0.8
18Lansdowne, PA43.1+0.3
19Columbia, PA42.7+0.3
20McKeesport, PA42.1-1
21Nanticoke, PA42-1
22Berwick, PA41.7-2.9
23Yeadon, PA41.5+0.1
24Franklin Park, PA41.1-0.3
25Emmaus, PA40.9-1.1
26Northampton, PA40.6+1.2
27Hanover, PA40.4-0.9
28Dunmore, PA40.1-0.7
29Altoona, PA39.7+0.1
30Pottsville, PA39.6-2.3
31Chambersburg, PA39.5+0.4
32Lebanon, PA38.5+1.6
33Mechanicsburg, PA38.4+0.3
34Butler, PA38.2-1.2
35New Castle, PA38.1-1
36Lansdale, PA37.9-0.7
37Washington, PA37.7+1.2
38Kingston, PA37.6-0.2
39Scranton, PA37.3-0.2
40Hazleton, PA37.1+0.5
41Greensburg, PA36.9-1.4
42Waynesboro, PA36.80
43Ephrata, PA36+0.4
44Bethlehem, PA35.9-0.5
45Meadville, PA35.7-0.6
46Easton, PA35.5-0.1
47Pottstown, PA35.2-0.2
48Erie, PA35-0.1
49Elizabethtown, PA34.8-0.1
49Philadelphia, PA34.80
49Phoenixville, PA34.8+0.5
52Wilkes-Barre, PA34.3-0.4
52York, PA34.3+1.1
54Darby, PA33.7+0.3
55Pittsburgh, PA33.5-0.2
56Chester, PA32.7+0.2
57Allentown, PA32.4+0.5
57Carlisle, PA32.4-2.5
57Norristown, PA32.4-1.2
60Harrisburg, PA31.9+0.3
61Lancaster, PA31.8-0.5
62Reading, PA31.1+0.3
63Coatesville, PA31-1
64Williamsport, PA30.3-0.7
65West Chester, PA24.60
66Bloomsburg, PA23.1-0.7
67Indiana, PA21.8-0.2
68State College, PA21.4-0.1

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 cities 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, US cities (incorporated places of 10,000 or more). https://www2.census.gov/programs-surveys/acs/summary_file/2022/table-based-SF/data/5YRData/acsdt5y2022-b01002.dat. Retrieved 2026-10-12.

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, US cities (incorporated places of 10,000 or more) (Cities in Pennsylvania by median age, 2022) [Data set]. Retrieved October 12, 2026, from https://www2.census.gov/programs-surveys/acs/summary_file/2022/table-based-SF/data/5YRData/acsdt5y2022-b01002.dat

MLA 9

American Community Survey 5-year estimates, table B01002: median age, total population, US cities (incorporated places of 10,000 or more), Cities in Pennsylvania by median age, 2022. U.S. Census Bureau, 29 Jan. 2026, https://www2.census.gov/programs-surveys/acs/summary_file/2022/table-based-SF/data/5YRData/acsdt5y2022-b01002.dat. Invokely, https://invokely.ai/rankings/median-age/pennsylvania-cities?period=2022. Accessed 12 Oct. 2026.

Chicago (author-date)

U.S. Census Bureau. 2026. American Community Survey 5-year estimates, table B01002: median age, total population, US cities (incorporated places of 10,000 or more). Cities in Pennsylvania by median age, 2022. Dataset. Accessed October 12, 2026. https://www2.census.gov/programs-surveys/acs/summary_file/2022/table-based-SF/data/5YRData/acsdt5y2022-b01002.dat. Also distributed by Invokely, https://invokely.ai/rankings/median-age/pennsylvania-cities?period=2022.

Harvard

U.S. Census Bureau (2026) American Community Survey 5-year estimates, table B01002: median age, total population, US cities (incorporated places of 10,000 or more), Cities in Pennsylvania by median age, 2022 [Dataset]. Available at: https://www2.census.gov/programs-surveys/acs/summary_file/2022/table-based-SF/data/5YRData/acsdt5y2022-b01002.dat, via Invokely: https://invokely.ai/rankings/median-age/pennsylvania-cities?period=2022 (Accessed: 12 October 2026).

BibTeX
@misc{census_cities_in_pennsylvania_by_2022,
  author = {{U.S. Census Bureau}},
  title = {{American Community Survey 5-year estimates, table B01002: median age, total population, US cities (incorporated places of 10,000 or more): Cities in Pennsylvania by median age, 2022}},
  year = {2026},
  howpublished = {Data set},
  url = {https://www2.census.gov/programs-surveys/acs/summary_file/2022/table-based-SF/data/5YRData/acsdt5y2022-b01002.dat},
  urldate = {2026-10-12},
  note = {Accessed via Invokely, https://invokely.ai/rankings/median-age/pennsylvania-cities?period=2022. Publisher attribution: U.S. Census Bureau. American Community Survey 5-year estimates, table B01002: median age, total population, US cities (incorporated places of 10,000 or more). https://www2.census.gov/programs-surveys/acs/summary\_file/2022/table-based-SF/data/5YRData/acsdt5y2022-b01002.dat. Retrieved 2026-10-12.},
}
RIS
TY  - DATA
AU  - U.S. Census Bureau
TI  - American Community Survey 5-year estimates, table B01002: median age, total population, US cities (incorporated places of 10,000 or more): Cities in Pennsylvania by median age, 2022
PY  - 2026
DA  - 2026/01/29
PB  - U.S. Census Bureau
DB  - Invokely
UR  - https://www2.census.gov/programs-surveys/acs/summary_file/2022/table-based-SF/data/5YRData/acsdt5y2022-b01002.dat
L2  - https://invokely.ai/rankings/median-age/pennsylvania-cities?period=2022
Y2  - 2026/10/12
N1  - Accessed via Invokely, https://invokely.ai/rankings/median-age/pennsylvania-cities?period=2022.
N1  - Publisher attribution: U.S. Census Bureau. American Community Survey 5-year estimates, table B01002: median age, total population, US cities (incorporated places of 10,000 or more). https://www2.census.gov/programs-surveys/acs/summary_file/2022/table-based-SF/data/5YRData/acsdt5y2022-b01002.dat. Retrieved 2026-10-12.
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 Cities in Pennsylvania by median age using official data, and cite the source.
rank_places {"indicator":"median_age","level":"municipality","within":"Pennsylvania","limit":10}
GET https://invokely.ai/api/v1/rank?indicator=median_age&level=municipality&within=Pennsylvania&limit=10

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

Questions

Which city has the highest median age?

St. Marys, PA, with 50.5 years in 2022, according to the U.S. Census Bureau.

Which city has the lowest median age?

State College, PA, with 21.4 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, US cities (incorporated places of 10,000 or more). Retrieved 2026-10-12.

Median age: other rankings

Cities in Pennsylvania: more rankings