Perry County · Pennsylvania

ZIP Code 17047

Loysville, PA · 3,228 residents

City (USPS)
Loysville
Time zone
Eastern Time
Area code
223 and 717
Coordinates
40.3711° N, 77.4120° W
Land area
44.6 sq mi · 72 people/sq mi
77.6°W77.5°W77.4°W77.3°W77.2°W40.3°N40.4°NZIP 17006ZIP 17013ZIP 17015ZIP 17021ZIP 17024ZIP 17035ZIP 17037ZIP 17040ZIP 17051ZIP 17058ZIP 17062ZIP 17068ZIP 17071ZIP 17074ZIP 17082ZIP 17090ZIP 17219ZIP 17241ZIP 172431704017006170371702417068170351709017071170475 miN
ZIP Code 17047 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 17047 in?

ZIP Code 17047 is in Perry County, Pennsylvania.

The Postal Service's default place name for 17047 is Loysville. The ZIP Code lies outside any incorporated city or Census-designated place: it is unincorporated territory.

Population3,228±425
Median household income$87,578
Median home value$302,900
Median rent$706/mo
Median age33.6
Households1,014

What stands out in ZIP 17047

  • The share of adults with a bachelor's degree is 11.3%, 44% lower than Perry County (20.2%).
  • The median age is 33.6 years, 23% lower than Perry County (43.8 years).
  • The share of residents born abroad is 2.2%, 29% higher than Perry County (1.7%).
  • The average commute is 41 minutes, 29% higher than Perry County (32 minutes).

People in ZIP 17047

Median age33.6
Under 1832.2%
65 and older15.4%
Born abroad2.2%
Moved here in the last year5.4%

Age and sex

MaleAgeFemale
0.6%80+1.3%
4.3%70–793.1%
3.9%60–695.9%
6.5%50–597.0%
5.7%40–494.0%
6.3%30–395.9%
7.5%20–293.7%
7.3%10–196.6%
9.5%0–910.9%
Share of all residents in each age group

Race and ethnicity

  • White94.5%
  • Hispanic or Latino3.7%
  • Two or more races1.1%
  • Black0.5%
  • Asian0.1%
  • Other0.1%

Hispanic or Latino residents can be of any race; the other groups count non-Hispanic residents only.

Households

1,014 households, 3.14 people per household on average, 74.3% family households, and 21.8% people living alone.

Income in ZIP 17047

Median household income$87,578±$11,961
Per-capita income$32,478
Poverty rate6.7%
Income inequality (Gini)0.400 = equal, 1 = unequal

Median household income ranks 413th of 1,529 ZIP Codes in Pennsylvania. Richest ZIP Codes in Pennsylvania

13%Under $25k
15%$25k–50k
13%$50k–75k
15%$75k–100k
23%$100k–150k
14%$150k–200k
6%$200k+
Households by annual income

Housing in ZIP 17047

Median home value$302,900
Median gross rent$706/mo
Housing units1,101
Median year built1976
Vacant7.9%

Owners and renters

  • Owner-occupied 81.6%
  • Renter-occupied 18.4%

Types of homes

  • Single-family homes 89.6%
  • 2–9 unit buildings 1.5%
  • 10+ unit buildings 4.1%
  • Mobile homes, RVs 4.8%

Work, commute and education

Mean commute41 minone way
Unemployment rate2.3%
Labor force participation61.7%age 16+
Broadband at home76.4%households

How workers get to work

  • Drove alone59.4%
  • Carpooled23.5%
  • Public transit0%
  • Walked3.1%
  • Bicycle0.9%
  • Worked from home12.6%

Education, adults 25+

  • High school or higher74.6%
  • Bachelor's or higher11.3%
  • Graduate or professional degree2.8%

How ZIP 17047 compares

ZIP 17047Perry CountyPennsylvaniaUnited States
Median household income$87,578$79,444$77,971$80,734
Per-capita income$32,478$39,403$44,355$44,673
Median home value$302,900$236,400$254,500$332,700
Median gross rent$706/mo$874/mo$1,209/mo$1,413/mo
Homeownership rate81.6%81.8%69.3%65.2%
Median age33.643.840.938.9
Bachelor's degree or higher11.3%20.2%35.2%35.7%
Poverty rate6.7%8%11.7%12.5%
Unemployment rate2.3%3.1%5.3%5.2%
Mean commute41 min32 min26 min26 min
Worked from home12.6%15.3%15.6%15.1%
Broadband at home76.4%87.3%89.7%91%
Foreign-born residents2.2%1.7%7.7%14.1%

ZIP Codes bordering 17047

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
17037Ickesburg1,176$75,000$229,80025.9N · 4.3 mi
17006Blain1,102$64,722$169,50031.3SW · 4.9 mi
17024Elliottsburg1,734$79,292$295,10049.2NE · 6.1 mi
17040Landisburg2,631$78,824$261,90035.8SE · 6.4 mi
17035Honey Grove864$47,500$208,80055.0W · 9.2 mi

Area codes for 17047

Loysville phone numbers use area codes 223 and 717. See every phone prefix, carrier and the local time on Loysville area codes at AreaCodeExplorer.

ZIP Code 17047: questions and answers

What county is ZIP Code 17047 in?
ZIP Code 17047 is in Perry County, Pennsylvania.
What city is ZIP Code 17047 in?
The Postal Service's default place name for 17047 is Loysville. The ZIP Code lies outside any incorporated city or Census-designated place: it is unincorporated territory.
What is the population of ZIP Code 17047?
About 3,228 people live in ZIP Code 17047, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 17047 in?
ZIP Code 17047 is in the Eastern Time zone (America/New_York).
What is the median household income in 17047?
The median household income in ZIP Code 17047 is $87,578 (2020–2024 ACS), compared with $79,444 in Perry County and $77,971 in Pennsylvania.
Which ZIP Codes border 17047?
17037 (Ickesburg), 17006 (Blain), 17024 (Elliottsburg), 17040 (Landisburg), and 17035 (Honey Grove).

Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files; ZIP Code place names: GeoNames (CC BY 4.0). How we build these pages.