Barnstable County · Massachusetts

ZIP Code 02638

Dennis, MA · 3,253 residents

City (USPS)
Dennis
Time zone
Eastern Time
Area code
508 and 774
Coordinates
41.7302° N, 70.1974° W
Land area
5.6 sq mi · 577 people/sq mi
70.25°W70.20°W70.15°W41.70°N41.75°NZIP 02630ZIP 02631ZIP 02637ZIP 02639ZIP 02641ZIP 02645ZIP 02660ZIP 02664ZIP 02673ZIP 0267502675026600264102637026381 miN
ZIP Code 02638 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 02638 in?

ZIP Code 02638 is in Barnstable County, Massachusetts.

The Postal Service's default place name for 02638 is Dennis. By Census boundaries it covers Dennis (community, 83% of the land) and East Dennis (community, 17% of the land).

Population3,253±527
Median household income$108,726
Median home value$827,900
Median rent$1,208/mo
Median age60.5
Households1,440

What stands out in ZIP 02638

  • The poverty rate is 3.3%, 57% lower than Barnstable County (7.7%).
  • The share of residents born abroad is 6.7%, 32% lower than Barnstable County (9.9%).
  • The median rent is $1,208 a month, 28% lower than Barnstable County ($1,678 a month).
  • The median home value is $827,900, 32% higher than Barnstable County ($629,000).

People in ZIP 02638

Median age60.5
Under 1813.4%
65 and older42.9%
Born abroad6.7%
Moved here in the last year6.6%

Age and sex

MaleAgeFemale
7.4%80+7.3%
8.4%70–7910.4%
6.6%60–6910.7%
6.0%50–595.2%
3.5%40–495.7%
3.4%30–395.5%
3.5%20–292.0%
3.5%10–196.1%
0.5%0–94.5%
Share of all residents in each age group

Race and ethnicity

  • White93%
  • Hispanic or Latino6.3%
  • Two or more races0.6%

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

Households

1,440 households, 2.26 people per household on average, 70.1% family households, and 25.4% people living alone.

Income in ZIP 02638

Median household income$108,726±$12,000
Per-capita income$63,789
Poverty rate3.3%
Income inequality (Gini)0.420 = equal, 1 = unequal

Median household income ranks 261st of 496 ZIP Codes in Massachusetts. Richest ZIP Codes in Massachusetts

4%Under $25k
10%$25k–50k
19%$50k–75k
12%$75k–100k
20%$100k–150k
14%$150k–200k
21%$200k+
Households by annual income

Housing in ZIP 02638

Median home value$827,900
Median gross rent$1,208/mo
Housing units2,932
Median year built1976
Vacant50.9%

Owners and renters

  • Owner-occupied 87.1%
  • Renter-occupied 12.9%

Types of homes

  • Single-family homes 90.8%
  • 2–9 unit buildings 3.9%
  • 10+ unit buildings 2.7%
  • Mobile homes, RVs 2.6%

Work, commute and education

Mean commute22 minone way
Unemployment rate1.9%
Labor force participation50.3%age 16+
Broadband at home97.2%households

How workers get to work

  • Drove alone62.2%
  • Carpooled1.9%
  • Public transit1.2%
  • Walked0.6%
  • Bicycle0%
  • Worked from home33.3%

Education, adults 25+

  • High school or higher99.2%
  • Bachelor's or higher45.9%
  • Graduate or professional degree22.3%

How ZIP 02638 compares

ZIP 02638Barnstable CountyMassachusettsUnited States
Median household income$108,726$95,241$103,960$80,734
Per-capita income$63,789$62,086$57,897$44,673
Median home value$827,900$629,000$562,100$332,700
Median gross rent$1,208/mo$1,678/mo$1,762/mo$1,413/mo
Homeownership rate87.1%81.1%62.5%65.2%
Median age60.555.440.038.9
Bachelor's degree or higher45.9%48.2%47.3%35.7%
Poverty rate3.3%7.7%10%12.5%
Unemployment rate1.9%5%5.2%5.2%
Mean commute22 min25 min29 min26 min
Worked from home33.3%16%18.6%15.1%
Broadband at home97.2%94.3%92.8%91%
Foreign-born residents6.7%9.9%18%14.1%

ZIP Codes bordering 02638

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
02675Yarmouth Port7,297$110,450$607,90058.3SW · 2.5 mi
02660South Dennis6,381$93,386$559,60061.7SE · 2.6 mi
02641East Dennis316–$913,80069.1NE · 2.7 mi

Cities and communities in 02638

Area codes for 02638

Dennis phone numbers use area codes 508 and 774. See every phone prefix, carrier and the local time on Dennis area codes at AreaCodeExplorer.

ZIP Code 02638: questions and answers

What county is ZIP Code 02638 in?
ZIP Code 02638 is in Barnstable County, Massachusetts.
What city is ZIP Code 02638 in?
The Postal Service's default place name for 02638 is Dennis. By Census boundaries it covers Dennis (community, 83% of the land) and East Dennis (community, 17% of the land).
What is the population of ZIP Code 02638?
About 3,253 people live in ZIP Code 02638, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 02638 in?
ZIP Code 02638 is in the Eastern Time zone (America/New_York).
What is the median household income in 02638?
The median household income in ZIP Code 02638 is $108,726 (2020–2024 ACS), compared with $95,241 in Barnstable County and $103,960 in Massachusetts.
Which ZIP Codes border 02638?
02675 (Yarmouth Port), 02660 (South Dennis), and 02641 (East Dennis).

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.