Cities in Pennsylvania by median age, 2024

St. Marys, PA had the highest median age of 68 cities in 2024, at 51.6 years. State College, PA had the lowest, at 21.2 years. The median was 38.6 years and the figure for Pennsylvania was 40.9 years. Source: the U.S. Census Bureau.

Keep it in a collection in your library.
Highest51.6St. Marys, PA
Median38.668 cities
Pennsylvania40.9History

Top 40 cities, 2024

St. Marys, PA: 51.6 yearsSt. Marys, PA51.6Murrysville, PA: 51.2 yearsMurrysville, PA51.2Hermitage, PA: 49.9 yearsHermitage, PA49.9Wyomissing, PA: 49.2 yearsWyomissing, PA49.2Bethel Park, PA: 48.8 yearsBethel Park, PA48.8New Kensington, PA: 48.6 yearsNew Kensington, PA48.6Lower Burrell, PA: 46.8 yearsLower Burrell, PA46.8Yeadon, PA: 45.7 yearsYeadon, PA45.7Plum, PA: 44.4 yearsPlum, PA44.4Johnstown, PA: 44 yearsJohnstown, PA44Monroeville, PA: 44 yearsMonroeville, PA44Pottsville, PA: 43.4 yearsPottsville, PA43.4West Mifflin, PA: 43.4 yearsWest Mifflin, PA43.4Whitehall, PA: 43.2 yearsWhitehall, PA43.2Northampton, PA: 43 yearsNorthampton, PA43Sharon, PA: 43 yearsSharon, PA43Jefferson Hills, PA: 42.9 yearsJefferson Hills, PA42.9Munhall, PA: 42.3 yearsMunhall, PA42.3Baldwin, PA: 41.8 yearsBaldwin, PA41.8Columbia, PA: 41.8 yearsColumbia, PA41.8Franklin Park, PA: 41.3 yearsFranklin Park, PA41.3Hanover, PA: 41.2 yearsHanover, PA41.2Lansdowne, PA: 41.2 yearsLansdowne, PA41.2McKeesport, PA: 41 yearsMcKeesport, PA41Berwick, PA: 40.5 yearsBerwick, PA40.5Altoona, PA: 40.4 yearsAltoona, PA40.4Dunmore, PA: 40.3 yearsDunmore, PA40.3Mechanicsburg, PA: 40.1 yearsMechanicsburg, PA40.1Wilkinsburg, PA: 40 yearsWilkinsburg, PA40Chambersburg, PA: 39.6 yearsChambersburg, PA39.6New Castle, PA: 39.5 yearsNew Castle, PA39.5Nanticoke, PA: 39.3 yearsNanticoke, PA39.3Emmaus, PA: 39.1 yearsEmmaus, PA39.1Washington, PA: 39 yearsWashington, PA39Butler, PA: 38.1 yearsButler, PA38.1Greensburg, PA: 37.9 yearsGreensburg, PA37.9Kingston, PA: 37.9 yearsKingston, PA37.9Lebanon, PA: 37.9 yearsLebanon, PA37.9Hazleton, PA: 37.5 yearsHazleton, PA37.5Waynesboro, PA: 37.4 yearsWaynesboro, PA37.4St. Marys, PA: 51.6 yearsSt. Marys, PA51.6Murrysville, PA: 51.2 yearsMurrysville, PA51.2Hermitage, PA: 49.9 yearsHermitage, PA49.9Wyomissing, PA: 49.2 yearsWyomissing, PA49.2Bethel Park, PA: 48.8 yearsBethel Park, PA48.8New Kensington, PA: 48.6 yearsNew Kensington, PA48.6Lower Burrell, PA: 46.8 yearsLower Burrell, PA46.8Yeadon, PA: 45.7 yearsYeadon, PA45.7Plum, PA: 44.4 yearsPlum, PA44.4Johnstown, PA: 44 yearsJohnstown, PA44Monroeville, PA: 44 yearsMonroeville, PA44Pottsville, PA: 43.4 yearsPottsville, PA43.4West Mifflin, PA: 43.4 yearsWest Mifflin, PA43.4Whitehall, PA: 43.2 yearsWhitehall, PA43.2Northampton, PA: 43 yearsNorthampton, PA43Sharon, PA: 43 yearsSharon, PA43Jefferson Hills, PA: 42.9 yearsJefferson Hills, PA42.9Munhall, PA: 42.3 yearsMunhall, PA42.3Baldwin, PA: 41.8 yearsBaldwin, PA41.8Columbia, PA: 41.8 yearsColumbia, PA41.8Franklin Park, PA: 41.3 yearsFranklin Park, PA41.3Hanover, PA: 41.2 yearsHanover, PA41.2Lansdowne, PA: 41.2 yearsLansdowne, PA41.2McKeesport, PA: 41 yearsMcKeesport, PA41Berwick, PA: 40.5 yearsBerwick, PA40.5Altoona, PA: 40.4 yearsAltoona, PA40.4Dunmore, PA: 40.3 yearsDunmore, PA40.3Mechanicsburg, PA: 40.1 yearsMechanicsburg, PA40.1Wilkinsburg, PA: 40 yearsWilkinsburg, PA40Chambersburg, PA: 39.6 yearsChambersburg, PA39.6New Castle, PA: 39.5 yearsNew Castle, PA39.5Nanticoke, PA: 39.3 yearsNanticoke, PA39.3Emmaus, PA: 39.1 yearsEmmaus, PA39.1Washington, PA: 39 yearsWashington, PA39Butler, PA: 38.1 yearsButler, PA38.1Greensburg, PA: 37.9 yearsGreensburg, PA37.9Kingston, PA: 37.9 yearsKingston, PA37.9Lebanon, PA: 37.9 yearsLebanon, PA37.9Hazleton, PA: 37.5 yearsHazleton, PA37.5Waynesboro, PA: 37.4 yearsWaynesboro, PA37.4
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

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

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/2024/table-based-SF/data/5YRData/acsdt5y2024-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, 2024) [Data set]. Retrieved October 12, 2026, from https://www2.census.gov/programs-surveys/acs/summary_file/2024/table-based-SF/data/5YRData/acsdt5y2024-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, 2024. U.S. Census Bureau, 29 Jan. 2026, https://www2.census.gov/programs-surveys/acs/summary_file/2024/table-based-SF/data/5YRData/acsdt5y2024-b01002.dat. Invokely, https://invokely.ai/rankings/median-age/pennsylvania-cities. 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, 2024. Dataset. Accessed October 12, 2026. https://www2.census.gov/programs-surveys/acs/summary_file/2024/table-based-SF/data/5YRData/acsdt5y2024-b01002.dat. Also distributed by Invokely, https://invokely.ai/rankings/median-age/pennsylvania-cities.

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, 2024 [Dataset]. Available at: https://www2.census.gov/programs-surveys/acs/summary_file/2024/table-based-SF/data/5YRData/acsdt5y2024-b01002.dat, via Invokely: https://invokely.ai/rankings/median-age/pennsylvania-cities (Accessed: 12 October 2026).

BibTeX
@misc{census_cities_in_pennsylvania_by_2024,
  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, 2024}},
  year = {2026},
  howpublished = {Data set},
  url = {https://www2.census.gov/programs-surveys/acs/summary_file/2024/table-based-SF/data/5YRData/acsdt5y2024-b01002.dat},
  urldate = {2026-10-12},
  note = {Accessed via Invokely, https://invokely.ai/rankings/median-age/pennsylvania-cities. 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/2024/table-based-SF/data/5YRData/acsdt5y2024-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, 2024
PY  - 2026
DA  - 2026/01/29
PB  - U.S. Census Bureau
DB  - Invokely
UR  - https://www2.census.gov/programs-surveys/acs/summary_file/2024/table-based-SF/data/5YRData/acsdt5y2024-b01002.dat
L2  - https://invokely.ai/rankings/median-age/pennsylvania-cities
Y2  - 2026/10/12
N1  - Accessed via Invokely, https://invokely.ai/rankings/median-age/pennsylvania-cities.
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/2024/table-based-SF/data/5YRData/acsdt5y2024-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 51.6 years in 2024, according to the U.S. Census Bureau.

Which city has the lowest median age?

State College, PA, with 21.2 years in 2024.

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