Every ZIP code in the United States, with weather, radar, trivia and the numbers behind it. Five digits since 1963!

ZIP stands for Zone Improvement Plan. The codes went live on July 1, 1963.The lowest ZIP code is 00501 — the IRS in Holtsville, New York.The highest ZIP code is 99950, in Ketchikan, Alaska.Type 07734 into a calculator and turn it upside down: hELLO. It is Keansburg, New Jersey.12345 belongs to one company: General Electric in Schenectady, New York.The first digit is a region: 0 is New England and New Jersey, 9 is the West Coast, Alaska and Hawaii.Mr. ZIP, the cartoon mailman, was the mascot that sold the idea to America.ZIP+4 arrived in 1983 and can narrow a ZIP down to one side of one block.A ZIP code is a mail route, not a place: plenty of them cross county and even state lines.Play ZIP Hunt: guess the secret ZIP code of the day in six tries.
zipcodes.pro — ZIP/17047

17047

ZIP 17047 is Loysville, Pennsylvania, in Perry County; area codes 717 and 223; Eastern time.

Type
Standard
Time zone
America/New_York
County
Perry
Population
3,228
Coordinates
40.3711, -77.4120
☼ Live from 17047 — Loysville, PA

Weather right now

Asking the National Weather Service…

NEXRAD radar
Finding the nearest radar…
Local time: —

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.

★ Weird and wonderful facts about 17047
  • 🔢 Type 17047 into a pocket calculator and turn it upside down: LhOLI — not quite a word, sorry.
  • ➕ 17047 is a prime number. It cannot be divided by anything except 1 and itself. Its digits add up to 19, a total 2,454 other ZIP codes share.
  • 💾In binary, the way a computer stores it: 100001010010111
  • 🏠 Its numerical neighbours: 17046 (Lebanon, PA, 52 mi away) and 17048 (Lykens, PA, 41 mi away).
  • 🔄 Backwards, 17047 becomes 74071 — and that is a real ZIP code: Slick, OK, 1,071 miles away.
  • 👥 29 other ZIP codes are made of exactly the same digits (01747, 07417, 14707, 14770, 17074, 17407, …). The farthest-flung twin is 77401 in Bellaire, TX, 1,255 miles 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.
  • 🌏 Dig straight through the Earth from 17047 and you would come out at 40.37°S, 102.59°E — 940 miles from Perth, Australia, the nearest big city to that spot.
  • ☀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.
🌙 The sky over 17047 today
  • Working out the sun…
🌋 Shake report
  • Checking the USGS…

Source: USGS.

People and housing

Population3,228This ZIP3,228
Households1,014This ZIP1,014
Housing units1,101This ZIP1,101
Median age33.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 higher11.3%This ZIP11.3%
Mean commute41.2 minThis ZIP41.2 min
Population density72.4 / sq miThis ZIP72.4 / sq mi

Business and tax activity

Business establishments77This ZIP77
Employees522This ZIP522
Annual payroll$21,631,000This ZIP$21,631,000
Tax returns filed1,280This ZIP1,280
Total adjusted gross income$82,164,000This ZIP$82,164,000

Land area

Land area44.59 sq miThis ZIP44.59 sq mi
Water area0.23 sq miThis ZIP0.23 sq mi

ZIP codes near 17047

ZIPCityDistance
17037 Ickesburg, PA 4.3 mi
17006 Blain, PA 4.9 mi
17024 Elliottsburg, PA 6.1 mi
17040 Landisburg, PA 6.4 mi
17082 Port Royal, PA 8.8 mi
17035 Honey Grove, PA 9.2 mi
17058 Mifflin, PA 11.5 mi
17056 Mexico, PA 11.6 mi
17071 New Germantown, PA 11.9 mi
17068 New Bloomfield, PA 12.2 mi

Find every ZIP code within 10 miles of 17047 →

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 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-10-12. Retrieved 2026-10-20. 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.