Perry County · Pennsylvania

ZIP Code 17040

Landisburg, PA · 2,631 residents

City (USPS)
Landisburg
Time zone
Eastern Time
Coordinates
40.2962° N, 77.3400° W
Land area
53.3 sq mi · 49 people/sq mi
77.6°W77.5°W77.4°W77.3°W77.2°W77.1°W40.2°N40.3°N40.4°NZIP 17006ZIP 17013ZIP 17015ZIP 17020ZIP 17024ZIP 17035ZIP 17037ZIP 17047ZIP 17050ZIP 17053ZIP 17055ZIP 17068ZIP 17071ZIP 17074ZIP 17081ZIP 17090ZIP 17210ZIP 17240ZIP 172411700617047170371702417068170351701317090170405 miN
ZIP Code 17040 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 17040 in?

ZIP Code 17040 is in Perry County, Pennsylvania.

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

Population2,631±322
Median household income$78,824
Median home value$261,900
Median rent$997/mo
Median age35.8
Households926

What stands out in ZIP 17040

  • The poverty rate is 12.9%, 61% higher than Perry County (8%).
  • The share of adults with a bachelor's degree is 13.8%, 32% lower than Perry County (20.2%).
  • The share of residents born abroad is 2.2%, 29% higher than Perry County (1.7%).
  • The median age is 35.8 years, 18% lower than Perry County (43.8 years).

People in ZIP 17040

Median age35.8
Under 1829.6%
65 and older19.6%
Born abroad2.2%
Moved here in the last year5.5%

Age and sex

MaleAgeFemale
1.2%80+1.9%
4.5%70–795.4%
5.7%60–695.4%
5.5%50–595.8%
4.0%40–493.3%
7.4%30–398.1%
5.2%20–295.4%
7.9%10–197.0%
10.0%0–96.3%
Share of all residents in each age group

Race and ethnicity

  • White93.9%
  • Two or more races4%
  • Hispanic or Latino1.3%
  • Asian0.5%
  • Black0.3%

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

Households

926 households, 2.84 people per household on average, 71.9% family households, and 22.4% people living alone.

Income in ZIP 17040

Median household income$78,824±$9,735
Per-capita income$36,380
Poverty rate12.9%
Income inequality (Gini)0.440 = equal, 1 = unequal

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

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

Housing in ZIP 17040

Median home value$261,900
Median gross rent$997/mo
Housing units1,083
Median year built1974
Vacant14.5%

Owners and renters

  • Owner-occupied 81.4%
  • Renter-occupied 18.6%

Types of homes

  • Single-family homes 89%
  • 2–9 unit buildings 3.5%
  • Mobile homes, RVs 7.5%

Work, commute and education

Mean commute34 minone way
Unemployment rate5.2%
Labor force participation63.8%age 16+
Broadband at home83.5%households

How workers get to work

  • Drove alone68.9%
  • Carpooled8.8%
  • Public transit0.3%
  • Walked0.3%
  • Bicycle0%
  • Worked from home20.7%

Education, adults 25+

  • High school or higher83.5%
  • Bachelor's or higher13.8%
  • Graduate or professional degree5.5%

How ZIP 17040 compares

ZIP 17040Perry CountyPennsylvaniaUnited States
Median household income$78,824$79,444$77,971$80,734
Per-capita income$36,380$39,403$44,355$44,673
Median home value$261,900$236,400$254,500$332,700
Median gross rent$997/mo$874/mo$1,209/mo$1,413/mo
Homeownership rate81.4%81.8%69.3%65.2%
Median age35.843.840.938.9
Bachelor's degree or higher13.8%20.2%35.2%35.7%
Poverty rate12.9%8%11.7%12.5%
Unemployment rate5.2%3.1%5.3%5.2%
Mean commute34 min32 min26 min26 min
Worked from home20.7%15.3%15.6%15.1%
Broadband at home83.5%87.3%89.7%91%
Foreign-born residents2.2%1.7%7.7%14.1%

ZIP Codes bordering 17040

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
17047Loysville3,228$87,578$302,90033.6NW · 6.4 mi
17024Elliottsburg1,734$79,292$295,10049.2N · 7.8 mi
17006Blain1,102$64,722$169,50031.3W · 8.5 mi
17090Shermans Dale5,206$78,281$260,70045.6E · 8.5 mi
17241Newville11,181$75,500$219,60041.6SW · 8.7 mi
17013Carlisle38,513$71,042$233,30041.0SE · 9.1 mi
17015Carlisle24,385$86,981$297,50048.1SE · 9.6 mi
17068New Bloomfield4,235$82,888$214,60049.1NE · 10.9 mi

Cities and communities in 17040

    ZIP Code 17040: questions and answers

    What county is ZIP Code 17040 in?
    ZIP Code 17040 is in Perry County, Pennsylvania.
    What city is ZIP Code 17040 in?
    The Postal Service's default place name for 17040 is Landisburg. The ZIP Code lies outside any incorporated city or Census-designated place: it is unincorporated territory.
    What is the population of ZIP Code 17040?
    About 2,631 people live in ZIP Code 17040, according to the Census Bureau's American Community Survey (2020–2024).
    What time zone is 17040 in?
    ZIP Code 17040 is in the Eastern Time zone (America/New_York).
    What is the median household income in 17040?
    The median household income in ZIP Code 17040 is $78,824 (2020–2024 ACS), compared with $79,444 in Perry County and $77,971 in Pennsylvania.
    Which ZIP Codes border 17040?
    17047 (Loysville), 17024 (Elliottsburg), 17006 (Blain), 17090 (Shermans Dale), 17241 (Newville), 17013 (Carlisle), 17015 (Carlisle), and 17068 (New Bloomfield).

    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.