Mercer County · New Jersey

ZIP Code 08540

Princeton, NJ · 50,388 residents

County
Mercer County +2 more
City (USPS)
Princeton
Time zone
Eastern Time
Area code
609 and 640
Coordinates
40.3647° N, 74.6563° W
Land area
51.7 sq mi · 974 people/sq mi
75.0°W74.8°W74.6°W74.4°W40.2°N40.4°NZIP 08502ZIP 08512ZIP 08520ZIP 08525ZIP 08528ZIP 08530ZIP 08534ZIP 08536ZIP 08542ZIP 08544ZIP 08550ZIP 08551ZIP 08553ZIP 08558ZIP 08560ZIP 08618ZIP 08619ZIP 08628ZIP 08638ZIP 08648ZIP 08690ZIP 08691ZIP 08805ZIP 08807ZIP 08810ZIP 08821ZIP 08822ZIP 08823ZIP 08824ZIP 08831ZIP 08835ZIP 08844ZIP 08852ZIP 08853ZIP 08854ZIP 08873ZIP 08876ZIP 08880ZIP 08887ZIP 08890ZIP 08901ZIP 0890208822088440883108691085510853008873085020853408558085250885208520085120885408550085600890208648089010885308536086280861908824088100869008618088230883508887085405 miN
ZIP Code 08540 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 08540 in?

ZIP Code 08540 is mainly in Mercer County, New Jersey, which covers 63% of its land. It also extends into Somerset County (26%) and Middlesex County (11%).

The Postal Service's default place name for 08540 is Princeton. By Census boundaries it covers Princeton (place, 34% of the land), East Rocky Hill (community, 8% of the land), Griggstown (community, 5% of the land), Ten Mile Run (community, 5% of the land), and Heathcote (community, 3% of the land). The remaining 46% is unincorporated.

Population50,388±1,927
Median household income$176,983
Median home value$767,900
Median rent$2,218/mo
Median age40.6
Households18,609

What stands out in ZIP 08540

  • The median home value is $767,900, 2.0× the Mercer County ($377,700).
  • The share of adults with a bachelor's degree is 82.7%, 82% higher than Mercer County (45.4%).
  • The median household income is $176,983, 76% higher than Mercer County ($100,645).
  • The share of residents born abroad is 38.1%, 41% higher than Mercer County (27%).

People in ZIP 08540

Median age40.6
Under 1822.7%
65 and older15%
Born abroad38.1%
Moved here in the last year14.8%

Age and sex

MaleAgeFemale
2.1%80+2.4%
2.5%70–793.9%
5.5%60–695.4%
6.2%50–597.1%
7.6%40–498.4%
4.7%30–394.8%
7.6%20–295.9%
7.3%10–198.2%
6.3%0–94.3%
Share of all residents in each age group

Race and ethnicity

  • White49.5%
  • Asian33.2%
  • Hispanic or Latino7.4%
  • Black5.5%
  • Two or more races3.2%
  • Other1.1%
  • American Indian / Alaska Native0.1%

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

Households

18,609 households, 2.55 people per household on average, 68.8% family households, and 27.1% people living alone.

Income in ZIP 08540

Median household income$176,983±$15,327
Per-capita income$89,601
Poverty rate8.2%
Income inequality (Gini)0.490 = equal, 1 = unequal

Median household income ranks 73rd of 555 ZIP Codes in New Jersey. Richest ZIP Codes in New Jersey

10%Under $25k
7%$25k–50k
8%$50k–75k
8%$75k–100k
12%$100k–150k
11%$150k–200k
46%$200k+
Households by annual income

Housing in ZIP 08540

Median home value$767,900
Median gross rent$2,218/mo
Housing units19,622
Median year built1986
Vacant5.2%

Owners and renters

  • Owner-occupied 63.7%
  • Renter-occupied 36.3%

Types of homes

  • Single-family homes 68.4%
  • 2–9 unit buildings 6.9%
  • 10+ unit buildings 24.7%

Work, commute and education

Mean commute28 minone way
Unemployment rate4.1%
Labor force participation67.6%age 16+
Broadband at home95.3%households

How workers get to work

  • Drove alone41.4%
  • Carpooled4.8%
  • Public transit7.4%
  • Walked6.7%
  • Bicycle1.7%
  • Worked from home36.9%

Education, adults 25+

  • High school or higher97.6%
  • Bachelor's or higher82.7%
  • Graduate or professional degree49.7%

How ZIP 08540 compares

ZIP 08540Mercer CountyNew JerseyUnited States
Median household income$176,983$100,645$103,556$80,734
Per-capita income$89,601$53,765$54,253$44,673
Median home value$767,900$377,700$454,400$332,700
Median gross rent$2,218/mo$1,623/mo$1,720/mo$1,413/mo
Homeownership rate63.7%62.2%63.8%65.2%
Median age40.639.540.138.9
Bachelor's degree or higher82.7%45.4%43.6%35.7%
Poverty rate8.2%10.3%9.7%12.5%
Unemployment rate4.1%6.3%6.3%5.2%
Mean commute28 min27 min30 min26 min
Worked from home36.9%19.5%16.8%15.1%
Broadband at home95.3%91.4%92.8%91%
Foreign-born residents38.1%27%23.9%14.1%

ZIP Codes bordering 08540

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
08542Princeton2,533$105,524$754,10037.2S · 0.7 mi
08544Princeton4,392––20.4S · 1.3 mi
08528Kingston321–$233,50068.1NE · 2.5 mi
08553Rocky Hill819$148,056$597,20044.5N · 2.6 mi
08558Skillman7,648$236,016$910,20047.5NW · 4.2 mi
08536Plainsboro20,817$137,607$704,10036.1SE · 4.3 mi
08502Belle Mead11,849$227,242$816,70041.6N · 5.8 mi
08550Princeton Junction21,067$224,213$807,20045.4S · 6.1 mi
08852Monmouth Junction18,062$133,209$523,00039.0E · 6.2 mi
08648Lawrence Township31,323$125,514$428,00039.5SW · 6.4 mi
08824Kendall Park13,366$174,776$628,00045.5NE · 6.6 mi
08525Hopewell4,522$165,324$572,50045.3W · 6.9 mi
08823Franklin Park8,884$115,597$298,80039.1NE · 7.0 mi
08534Pennington13,272$175,573$573,00041.6W · 7.6 mi
08844Hillsborough44,463$153,556$547,70042.1N · 9.2 mi
08873Somerset56,327$124,972$465,80040.4NE · 11.4 mi

Cities and communities in 08540

Area codes for 08540

Princeton phone numbers use area codes 609 and 640. See every phone prefix, carrier and the local time on Princeton area codes at AreaCodeExplorer.

ZIP Code 08540: questions and answers

What county is ZIP Code 08540 in?
ZIP Code 08540 is mainly in Mercer County, New Jersey, which covers 63% of its land. It also extends into Somerset County (26%) and Middlesex County (11%).
What city is ZIP Code 08540 in?
The Postal Service's default place name for 08540 is Princeton. By Census boundaries it covers Princeton (place, 34% of the land), East Rocky Hill (community, 8% of the land), Griggstown (community, 5% of the land), Ten Mile Run (community, 5% of the land), and Heathcote (community, 3% of the land). The remaining 46% is unincorporated.
What is the population of ZIP Code 08540?
About 50,388 people live in ZIP Code 08540, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 08540 in?
ZIP Code 08540 is in the Eastern Time zone (America/New_York).
What is the median household income in 08540?
The median household income in ZIP Code 08540 is $176,983 (2020–2024 ACS), compared with $100,645 in Mercer County and $103,556 in New Jersey.
Which ZIP Codes border 08540?
08542 (Princeton), 08544 (Princeton), 08528 (Kingston), 08553 (Rocky Hill), 08558 (Skillman), 08536 (Plainsboro), 08502 (Belle Mead), 08550 (Princeton Junction), 08852 (Monmouth Junction), and 08648 (Lawrence Township).

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.