Morris County · New Jersey

ZIP Code 07940

Madison, NJ · 17,610 residents

City (USPS)
Madison
Time zone
Eastern Time
Area code
862 and 973
Coordinates
40.7605° N, 74.4195° W
Land area
4.9 sq mi · 3,584 people/sq mi
74.50°W74.45°W74.40°W74.35°W40.75°N40.80°NZIP 07039ZIP 07078ZIP 07901ZIP 07920ZIP 07928ZIP 07932ZIP 07935ZIP 07936ZIP 07960ZIP 07961ZIP 07974ZIP 079760792807932079350797607961079401 miN
ZIP Code 07940 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 07940 in?

ZIP Code 07940 is in Morris County, New Jersey.

The Postal Service's default place name for 07940 is Madison. By Census boundaries it covers Madison (borough, 88% of the land) and Florham Park (borough, 7% of the land). The remaining 6% is unincorporated.

Population17,610±178
Median household income$172,708
Median home value$940,900
Median rent$2,251/mo
Median age35.3
Households5,653

What stands out in ZIP 07940

  • The median home value is $940,900, 62% higher than Morris County ($582,500).
  • The poverty rate is 3.2%, 35% lower than Morris County (4.9%).
  • The share of residents born abroad is 14.3%, 28% lower than Morris County (19.8%).
  • The share of adults with a bachelor's degree is 74.2%, 28% higher than Morris County (57.8%).

People in ZIP 07940

Median age35.3
Under 1821.7%
65 and older12.6%
Born abroad14.3%
Moved here in the last year10.3%

Age and sex

MaleAgeFemale
1.9%80+2.2%
1.9%70–793.3%
4.3%60–694.3%
6.7%50–598.8%
6.0%40–496.0%
5.5%30–394.6%
7.5%20–297.6%
8.1%10–1910.3%
6.1%0–95.1%
Share of all residents in each age group

Race and ethnicity

  • White72.4%
  • Hispanic or Latino13.5%
  • Asian6.3%
  • Two or more races4.9%
  • Black2.4%
  • Other0.4%
  • Pacific Islander0.1%

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

Households

5,653 households, 2.65 people per household on average, 68.3% family households, and 25.7% people living alone.

Income in ZIP 07940

Median household income$172,708±$19,409
Per-capita income$87,285
Poverty rate3.2%
Income inequality (Gini)0.520 = equal, 1 = unequal

Median household income ranks 81st of 555 ZIP Codes in New Jersey. Richest ZIP Codes in New Jersey

6%Under $25k
9%$25k–50k
8%$50k–75k
6%$75k–100k
16%$100k–150k
13%$150k–200k
43%$200k+
Households by annual income

Housing in ZIP 07940

Median home value$940,900
Median gross rent$2,251/mo
Housing units5,820
Median year built1961
Vacant2.9%

Owners and renters

  • Owner-occupied 64%
  • Renter-occupied 36%

Types of homes

  • Single-family homes 69.8%
  • 2–9 unit buildings 18.5%
  • 10+ unit buildings 11.8%

Work, commute and education

Mean commute27 minone way
Unemployment rate6.4%
Labor force participation65.7%age 16+
Broadband at home95.6%households

How workers get to work

  • Drove alone50.6%
  • Carpooled3.4%
  • Public transit7.7%
  • Walked8.4%
  • Bicycle0.5%
  • Worked from home27.5%

Education, adults 25+

  • High school or higher97.1%
  • Bachelor's or higher74.2%
  • Graduate or professional degree32.4%

How ZIP 07940 compares

ZIP 07940Morris CountyNew JerseyUnited States
Median household income$172,708$137,326$103,556$80,734
Per-capita income$87,285$71,044$54,253$44,673
Median home value$940,900$582,500$454,400$332,700
Median gross rent$2,251/mo$1,904/mo$1,720/mo$1,413/mo
Homeownership rate64%74.3%63.8%65.2%
Median age35.342.640.138.9
Bachelor's degree or higher74.2%57.8%43.6%35.7%
Poverty rate3.2%4.9%9.7%12.5%
Unemployment rate6.4%5.2%6.3%5.2%
Mean commute27 min30 min30 min26 min
Worked from home27.5%21.8%16.8%15.1%
Broadband at home95.6%95.2%92.8%91%
Foreign-born residents14.3%19.8%23.9%14.1%

ZIP Codes bordering 07940

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
07961Convent Station333––20.9NW · 1.6 mi
07932Florham Park11,977$156,458$791,10044.2NE · 1.8 mi
07935Green Village584$106,979$676,10056.2SW · 2.4 mi
07928Chatham19,974$220,982$1,024,10039.8S · 2.5 mi
07960Morristown46,702$160,334$735,60040.0W · 4.5 mi

Cities and communities in 07940

Area codes for 07940

Madison phone numbers use area codes 862 and 973. See every phone prefix, carrier and the local time on Madison area codes at AreaCodeExplorer.

ZIP Code 07940: questions and answers

What county is ZIP Code 07940 in?
ZIP Code 07940 is in Morris County, New Jersey.
What city is ZIP Code 07940 in?
The Postal Service's default place name for 07940 is Madison. By Census boundaries it covers Madison (borough, 88% of the land) and Florham Park (borough, 7% of the land). The remaining 6% is unincorporated.
What is the population of ZIP Code 07940?
About 17,610 people live in ZIP Code 07940, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 07940 in?
ZIP Code 07940 is in the Eastern Time zone (America/New_York).
What is the median household income in 07940?
The median household income in ZIP Code 07940 is $172,708 (2020–2024 ACS), compared with $137,326 in Morris County and $103,556 in New Jersey.
Which ZIP Codes border 07940?
07961 (Convent Station), 07932 (Florham Park), 07935 (Green Village), 07928 (Chatham), and 07960 (Morristown).

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.