Middlesex County · Massachusetts

ZIP Code 02138

Cambridge, MA · 38,509 residents

City (USPS)
Cambridge
Time zone
Eastern Time
Area code
617 and 857
Coordinates
42.3796° N, 71.1352° W
Land area
2.7 sq mi · 14,065 people/sq mi
71.20°W71.15°W71.10°W42.35°N42.40°NZIP 02116ZIP 02129ZIP 02134ZIP 02135ZIP 02139ZIP 02140ZIP 02141ZIP 02142ZIP 02143ZIP 02144ZIP 02145ZIP 02163ZIP 02215ZIP 02421ZIP 02446ZIP 02452ZIP 02453ZIP 02458ZIP 02460ZIP 02472ZIP 02474ZIP 02476ZIP 024780247202478021430214002135024580214502134021410213902144021160214202163021381 miN
ZIP Code 02138 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 02138 in?

ZIP Code 02138 is in Middlesex County, Massachusetts.

The Postal Service's default place name for 02138 is Cambridge. By Census boundaries it covers Cambridge (city, 100% of the land).

Population38,509±1,511
Median household income$119,967
Median home value$1,212,400
Median rent$2,772/mo
Median age28.3
Households14,169

What stands out in ZIP 02138

  • The poverty rate is 13.5%, 75% higher than Middlesex County (7.7%).
  • The median home value is $1,212,400, 67% higher than Middlesex County ($727,800).
  • The homeownership rate is 41.9%, 32% lower than Middlesex County (61.3%).
  • The share of adults with a bachelor's degree is 85.6%, 44% higher than Middlesex County (59.5%).

People in ZIP 02138

Median age28.3
Under 1813.1%
65 and older14.4%
Born abroad24.7%
Moved here in the last year26.2%

Age and sex

MaleAgeFemale
1.4%80+1.8%
3.0%70–793.4%
3.3%60–694.3%
3.1%50–593.1%
4.4%40–494.2%
6.6%30–397.8%
14.4%20–2917.2%
8.2%10–196.3%
3.9%0–93.7%
Share of all residents in each age group

Race and ethnicity

  • White58.8%
  • Asian17%
  • Hispanic or Latino10%
  • Black6.7%
  • Two or more races6.3%
  • Other1%
  • American Indian / Alaska Native0.2%

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

Households

14,169 households, 2.04 people per household on average, 41.3% family households, and 39.9% people living alone.

Income in ZIP 02138

Median household income$119,967±$9,993
Per-capita income$75,496
Poverty rate13.5%
Income inequality (Gini)0.540 = equal, 1 = unequal

Median household income ranks 202nd of 496 ZIP Codes in Massachusetts. Richest ZIP Codes in Massachusetts

13%Under $25k
9%$25k–50k
8%$50k–75k
11%$75k–100k
17%$100k–150k
12%$150k–200k
30%$200k+
Households by annual income

Housing in ZIP 02138

Median home value$1,212,400
Median gross rent$2,772/mo
Housing units16,043
Median year built1938
Vacant11.7%

Owners and renters

  • Owner-occupied 41.9%
  • Renter-occupied 58.1%

Types of homes

  • Single-family homes 22.2%
  • 2–9 unit buildings 34.3%
  • 10+ unit buildings 43.3%
  • Mobile homes, RVs 0.2%

Work, commute and education

Mean commute24 minone way
Unemployment rate3.3%
Labor force participation61.4%age 16+
Broadband at home92.7%households

How workers get to work

  • Drove alone23.2%
  • Carpooled3%
  • Public transit12.6%
  • Walked21.4%
  • Bicycle5.8%
  • Worked from home31.7%

Education, adults 25+

  • High school or higher98.4%
  • Bachelor's or higher85.6%
  • Graduate or professional degree55.6%

How ZIP 02138 compares

ZIP 02138Middlesex CountyMassachusettsUnited States
Median household income$119,967$130,847$103,960$80,734
Per-capita income$75,496$69,556$57,897$44,673
Median home value$1,212,400$727,800$562,100$332,700
Median gross rent$2,772/mo$2,201/mo$1,762/mo$1,413/mo
Homeownership rate41.9%61.3%62.5%65.2%
Median age28.338.940.038.9
Bachelor's degree or higher85.6%59.5%47.3%35.7%
Poverty rate13.5%7.7%10%12.5%
Unemployment rate3.3%4.4%5.2%5.2%
Mean commute24 min30 min29 min26 min
Worked from home31.7%24.7%18.6%15.1%
Broadband at home92.7%94.7%92.8%91%
Foreign-born residents24.7%23.1%18%14.1%

ZIP Codes bordering 02138

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
02140Cambridge21,204$135,286$1,149,80033.9N · 0.9 mi
02134Allston17,667$78,679$657,30028.5S · 1.5 mi
02143Somerville25,513$130,753$926,80032.1E · 2.0 mi
02139Cambridge40,033$134,586$1,087,50030.0SE · 2.1 mi
02135Brighton43,149$90,829$681,20030.4SW · 2.3 mi
02472Watertown35,620$126,336$784,60039.3W · 2.3 mi
02478Belmont27,175$183,137$1,159,00042.9NW · 2.5 mi

Cities and communities in 02138

Area codes for 02138

Cambridge phone numbers use area codes 617 and 857. See every phone prefix, carrier and the local time on Cambridge area codes at AreaCodeExplorer.

ZIP Code 02138: questions and answers

What county is ZIP Code 02138 in?
ZIP Code 02138 is in Middlesex County, Massachusetts.
What city is ZIP Code 02138 in?
The Postal Service's default place name for 02138 is Cambridge. By Census boundaries it covers Cambridge (city, 100% of the land).
What is the population of ZIP Code 02138?
About 38,509 people live in ZIP Code 02138, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 02138 in?
ZIP Code 02138 is in the Eastern Time zone (America/New_York).
What is the median household income in 02138?
The median household income in ZIP Code 02138 is $119,967 (2020–2024 ACS), compared with $130,847 in Middlesex County and $103,960 in Massachusetts.
Which ZIP Codes border 02138?
02140 (Cambridge), 02134 (Allston), 02143 (Somerville), 02139 (Cambridge), 02135 (Brighton), 02472 (Watertown), and 02478 (Belmont).

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.