17040
Updated
ZIP 17040 is Landisburg, 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
- 2,631
- Coordinates
- 40.2962, -77.3400
Weather right now
Asking the National Weather Service…
Where 17040 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 | 2,631This ZIP2,631 |
|---|---|
| Households | 926This ZIP926 |
| Housing units | 1,083This ZIP1,083 |
| Median age | 35.8This ZIP35.8Pennsylvania40.9US 38.9 |
| Median household income | $78,824This ZIP$78,824Pennsylvania$77,971US $80,734 |
| Median home value | $261,900This ZIP$261,900Pennsylvania$254,500US $332,700 |
| Median gross rent | $997This ZIP$997Pennsylvania$1,209US $1,413 |
| Bachelor's degree or higher | 13.8%This ZIP13.8% |
| Mean commute | 33.6 minThis ZIP33.6 min |
| Population density | 49.4 / sq miThis ZIP49.4 / sq mi |
How 17040 compares
| Measure | 17040 | Rank in county | Above, in PA |
|---|---|---|---|
| Median household income | $78,824 | 7th of 12 | 63% |
| Median home value | $261,900 | 3rd of 12 | 72% |
| Median gross rent | $997 | 4th of 12 | 51% |
| Population | 2,631 | 9th of 14 | 50% |
| Median age | 35.8 | 9th of 12 | 13% |
| Bachelor's degree or higher | 13.8% | 9th of 12 | 18% |
| People per square mile | 49 | 11th of 14 | 17% |
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 | 35This ZIP35 |
|---|---|
| Employees | 220This ZIP220 |
| Annual payroll | $7,259,000This ZIP$7,259,000 |
| Tax returns filed | 1,310This ZIP1,310 |
| Total adjusted gross income | $89,794,000This ZIP$89,794,000 |
Land area
| Land area | 53.25 sq miThis ZIP53.25 sq mi |
|---|---|
| Water area | 0.34 sq miThis ZIP0.34 sq mi |
Other place names in 17040
Census places whose land this ZIP code overlaps. The Postal Service may accept other city names in an address, too.
Neighbouring ZIP codes compared
The closest ZIP codes where people live, by distance between their centres.
| ZIP | Town | Distance | Population | Median income | Median home |
|---|---|---|---|---|---|
17040 | Landisburg, PA (this ZIP) | — | 2,631 | $78,824 | $261,900 |
17047 | Loysville, PA | 6.4 mi | 3,228 | $87,578 | $302,900 |
17081 | Plainfield, PA | 7.2 mi | 248 | $73,977 | $181,900 |
17024 | Elliottsburg, PA | 7.8 mi | 1,734 | $79,292 | $295,100 |
17006 | Blain, PA | 8.5 mi | 1,102 | $64,722 | $169,500 |
17090 | Shermans Dale, PA | 8.5 mi | 5,206 | $78,281 | $260,700 |
17241 | Newville, PA | 8.7 mi | 11,181 | $75,500 | $219,600 |
Find every ZIP code within 10 miles of 17040 →
- 🔢 Type 17040 into a pocket calculator and turn it upside down: OhOLI — not quite a word, sorry.
- 🏠 Its numerical neighbours: 17039 (Kleinfeltersville, PA, 58 mi away) and 17041 (Lawn, PA, 43 mi away).
- 🧭 Farther north than 59% of all ZIP codes, and farther east than 80%.
- 🎯1,121 miles east of the geographic center of the Lower 48, near Lebanon, Kansas.
- ☀Longest day of the year: 15h 03m of daylight. Shortest: 9h 18m.
- 📏 At 53.3 square miles of land, 17040 is bigger than 61% of ZIP codes — room for about 40 Central Parks.
- Working out the sun…
- Checking the USGS…
Source: USGS.
Questions about this ZIP code
Where is ZIP code 17040?
17040 is in Landisburg, Pennsylvania, in Perry County, part of the Harrisburg-Carlisle, PA metropolitan area. Its published point location is 40.2962, -77.3400.
What county is 17040 in?
17040 lies in Perry County.
What area code is 17040?
Landisburg uses area codes 717 and 223, from NANPA's telephone records.
What time zone is 17040 in?
17040 uses America/New_York.
How many people live in 17040?
About 2,631 people live in ZIP code 17040, in 926 households, at 49.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 17040?
$78,824 a year, against $77,971 across Pennsylvania.
What ZIP codes are near 17040?
The closest where people live are 17047 (6.4 mi), 17081 (7.2 mi), 17024 (7.8 mi), 17006 (8.5 mi) and 17090 (8.5 mi).
Is 17040 a PO Box ZIP code?
17040 is a standard ZIP code. A normal ZIP code with street delivery.
Download or cite
Cite this page
zipcodes.pro. “17040 ZIP Code: Landisburg, Pennsylvania (Perry County).” Data release 2026-11-18. Retrieved 2026-12-05. https://zipcodes.pro/zip/17040
Machine-readable version of these facts:
curl https://zipcodes.pro/zip/17040.json Underlying data is public domain or openly licensed — sources, vintages and licences.