17047
Updated
ZIP 17047 is Loysville, Pennsylvania, in Perry County; area codes 717 and 223; Eastern time.
- Type
- Standard
- Time zone
- America/New_York
- County
- Perry
- Metro area
- Harrisburg-Carlisle, PA
- Population
- 3,228
- Coordinates
- 40.3711, -77.4120
Weather right now
Asking the National Weather Service…
Where 17047 is
Approximate ZIP boundary (Census ZCTA 2020). ZIP codes are mail routes, not areas, so the shape shown is the Census tabulation area that approximates it.
People and housing
| Population | 3,228This ZIP3,228 |
|---|---|
| Households | 1,014This ZIP1,014 |
| Housing units | 1,101This ZIP1,101 |
| Median age | 33.6This ZIP33.6Pennsylvania40.9US 38.9 |
| Median household income | $87,578This ZIP$87,578Pennsylvania$77,971US $80,734 |
| Median home value | $302,900This ZIP$302,900Pennsylvania$254,500US $332,700 |
| Median gross rent | $706This ZIP$706Pennsylvania$1,209US $1,413 |
| Bachelor's degree or higher | 11.3%This ZIP11.3% |
| Mean commute | 41.2 minThis ZIP41.2 min |
| Population density | 72.4 / sq miThis ZIP72.4 / sq mi |
How 17047 compares
17047 has the most valuable homes in Perry County: $302,900, against $169,500 in 17006 at the other end, among 12 ZIP codes ranked.
17047 has the lowest rents in Perry County: $706, against $1,100 in 17037 at the top, among 12 ZIP codes ranked.
17047 has the smallest share of college graduates in Perry County: 11.3%, against 26.9% in 17053 at the top, among 12 ZIP codes ranked.
| Measure | 17047 | Rank in county | Above, in PA |
|---|---|---|---|
| Median household income | $87,578 | 2nd of 12 | 73% |
| Median home value | $302,900 | 1st of 12 | 81% |
| Median gross rent | $706 | 12th of 12 | 10% |
| Population | 3,228 | 8th of 14 | 54% |
| Median age | 33.6 | 10th of 12 | 8% |
| Bachelor's degree or higher | 11.3% | 12th of 12 | 11% |
| People per square mile | 72 | 8th of 14 | 24% |
Rank in county is among the ZIP codes of Perry County, 1 being the highest; "Above, in PA" is the share of Pennsylvania's ZIP codes with a lower figure. Both count only ZIP codes where people live (a Census tabulation area with 100 or more residents), each in the county most of its land lies in. Survey medians are ranked for ZIP codes of 200 or more residents.
Business and tax activity
| Business establishments | 77This ZIP77 |
|---|---|
| Employees | 522This ZIP522 |
| Annual payroll | $21,631,000This ZIP$21,631,000 |
| Tax returns filed | 1,280This ZIP1,280 |
| Total adjusted gross income | $82,164,000This ZIP$82,164,000 |
Land area
| Land area | 44.59 sq miThis ZIP44.59 sq mi |
|---|---|
| Water area | 0.23 sq miThis ZIP0.23 sq mi |
Neighbouring ZIP codes compared
The closest ZIP codes where people live, by distance between their centres.
| ZIP | Town | Distance | Population | Median income | Median home |
|---|---|---|---|---|---|
17047 | Loysville, PA (this ZIP) | — | 3,228 | $87,578 | $302,900 |
17037 | Ickesburg, PA | 4.3 mi | 1,176 | $75,000 | $229,800 |
17006 | Blain, PA | 4.9 mi | 1,102 | $64,722 | $169,500 |
17024 | Elliottsburg, PA | 6.1 mi | 1,734 | $79,292 | $295,100 |
17040 | Landisburg, PA | 6.4 mi | 2,631 | $78,824 | $261,900 |
17082 | Port Royal, PA | 8.8 mi | 3,046 | $75,000 | $214,400 |
17035 | Honey Grove, PA | 9.2 mi | 864 | $47,500 | $208,800 |
Other ZIP codes nearby
These serve PO boxes, a single organisation or a post office, so they have no residents to compare.
1705611.6 mi
Find every ZIP code within 10 miles of 17047 →
- 🔢 Type 17047 into a pocket calculator and turn it upside down: LhOLI — not quite a word, sorry.
- 🏠 Its numerical neighbours: 17046 (Lebanon, PA, 52 mi away) and 17048 (Lykens, PA, 41 mi away).
- 🧭 Farther north than 60% of all ZIP codes, and farther east than 80%.
- 🎯1,117 miles east of the geographic center of the Lower 48, near Lebanon, Kansas.
- ☀Longest day of the year: 15h 03m of daylight. Shortest: 9h 17m.
- 📏 At 44.6 square miles of land, 17047 is bigger than 56% of ZIP codes — room for about 34 Central Parks.
- Working out the sun…
- Checking the USGS…
Source: USGS.
Questions about this ZIP code
Where is ZIP code 17047?
17047 is in Loysville, Pennsylvania, in Perry County, part of the Harrisburg-Carlisle, PA metropolitan area. Its published point location is 40.3711, -77.4120.
What county is 17047 in?
17047 lies in Perry County.
What area code is 17047?
Loysville uses area codes 717 and 223, from NANPA's telephone records.
What time zone is 17047 in?
17047 uses America/New_York.
How many people live in 17047?
About 3,228 people live in ZIP code 17047, in 1,014 households, at 72.4 people per square mile. These are American Community Survey 5-year estimates for the ZIP Code Tabulation Area, not a headcount.
What is the median household income in 17047?
$87,578 a year, against $77,971 across Pennsylvania.
What ZIP codes are near 17047?
The closest where people live are 17037 (4.3 mi), 17006 (4.9 mi), 17024 (6.1 mi), 17040 (6.4 mi) and 17082 (8.8 mi).
Is 17047 a PO Box ZIP code?
17047 is a standard ZIP code. A normal ZIP code with street delivery.
Download or cite
Cite this page
zipcodes.pro. “17047 ZIP Code: Loysville, Pennsylvania (Perry County).” Data release 2026-11-18. Retrieved 2026-12-04. https://zipcodes.pro/zip/17047
Machine-readable version of these facts:
curl https://zipcodes.pro/zip/17047.json Underlying data is public domain or openly licensed — sources, vintages and licences.