Barnstable County · Massachusetts

ZIP Code 02645

Harwich, MA · 11,288 residents

City (USPS)
Harwich
Time zone
Eastern Time
Coordinates
41.7013° N, 70.0617° W
Land area
16.9 sq mi · 667 people/sq mi
70.2°W70.1°W70.0°W41.7°NZIP 02631ZIP 02633ZIP 02638ZIP 02639ZIP 02641ZIP 02643ZIP 02646ZIP 02650ZIP 02653ZIP 02659ZIP 02660ZIP 02664ZIP 02670ZIP 02671ZIP 026750263102633026530263802664026460266002641026700265002639026590264302671026452 miN
ZIP Code 02645 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 02645 in?

ZIP Code 02645 is in Barnstable County, Massachusetts.

The Postal Service's default place name for 02645 is Harwich. By Census boundaries it covers East Harwich (community, 47% of the land), Northwest Harwich (community, 33% of the land), Harwich Center (community, 13% of the land), and Harwich Port (community, 3% of the land).

Population11,288±578
Median household income$104,401
Median home value$648,200
Median rent$1,804/mo
Median age57.3
Households5,169

What stands out in ZIP 02645

  • The share of residents born abroad is 4%, 60% lower than Barnstable County (9.9%).
  • The poverty rate is 4.5%, 42% lower than Barnstable County (7.7%).
  • The median household income is $104,401, 10% higher than Barnstable County ($95,241).
  • The median rent is $1,804 a month, 8% higher than Barnstable County ($1,678 a month).

People in ZIP 02645

Median age57.3
Under 1813.2%
65 and older33.7%
Born abroad4%
Moved here in the last year7%

Age and sex

MaleAgeFemale
3.1%80+4.3%
7.1%70–799.5%
10.9%60–6910.9%
5.8%50–598.9%
4.4%40–494.2%
3.5%30–395.8%
6.1%20–292.0%
4.7%10–192.5%
4.2%0–92.2%
Share of all residents in each age group

Race and ethnicity

  • White93%
  • Two or more races2.9%
  • Asian1.6%
  • Hispanic or Latino1.3%
  • Other0.9%
  • Black0.2%
  • American Indian / Alaska Native0.1%

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

Households

5,169 households, 2.14 people per household on average, 59.5% family households, and 31.4% people living alone.

Income in ZIP 02645

Median household income$104,401±$16,746
Per-capita income$61,533
Poverty rate4.5%
Income inequality (Gini)0.420 = equal, 1 = unequal

Median household income ranks 283rd of 496 ZIP Codes in Massachusetts. Richest ZIP Codes in Massachusetts

9%Under $25k
10%$25k–50k
15%$50k–75k
16%$75k–100k
18%$100k–150k
14%$150k–200k
18%$200k+
Households by annual income

Housing in ZIP 02645

Median home value$648,200
Median gross rent$1,804/mo
Housing units6,578
Median year built1982
Vacant21.4%

Owners and renters

  • Owner-occupied 84.4%
  • Renter-occupied 15.6%

Types of homes

  • Single-family homes 94.8%
  • 2–9 unit buildings 2.6%
  • 10+ unit buildings 2.6%

Work, commute and education

Mean commute24 minone way
Unemployment rate3.3%
Labor force participation59.8%age 16+
Broadband at home96.1%households

How workers get to work

  • Drove alone76.5%
  • Carpooled6.4%
  • Public transit0.2%
  • Walked1%
  • Bicycle0.2%
  • Worked from home14.4%

Education, adults 25+

  • High school or higher97.9%
  • Bachelor's or higher46.6%
  • Graduate or professional degree23.2%

How ZIP 02645 compares

ZIP 02645Barnstable CountyMassachusettsUnited States
Median household income$104,401$95,241$103,960$80,734
Per-capita income$61,533$62,086$57,897$44,673
Median home value$648,200$629,000$562,100$332,700
Median gross rent$1,804/mo$1,678/mo$1,762/mo$1,413/mo
Homeownership rate84.4%81.1%62.5%65.2%
Median age57.355.440.038.9
Bachelor's degree or higher46.6%48.2%47.3%35.7%
Poverty rate4.5%7.7%10%12.5%
Unemployment rate3.3%5%5.2%5.2%
Mean commute24 min25 min29 min26 min
Worked from home14.4%16%18.6%15.1%
Broadband at home96.1%94.3%92.8%91%
Foreign-born residents4%9.9%18%14.1%

ZIP Codes bordering 02645

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
02646Harwich Port1,846$81,172$896,00059.0S · 2.2 mi
02659South Chatham1,137$109,453$777,00059.5SE · 2.4 mi
02631Brewster10,061$102,132$700,50060.0N · 3.2 mi
02671West Harwich818$104,583$635,10066.5SW · 3.3 mi
02633Chatham4,512$85,483$946,10063.4E · 4.3 mi
02639Dennis Port3,808$72,567$514,20050.4SW · 4.5 mi
02660South Dennis6,381$93,386$559,60061.7W · 4.9 mi
02653Orleans6,443$102,813$960,60064.8NE · 6.5 mi

Cities and communities in 02645

ZIP Code 02645: questions and answers

What county is ZIP Code 02645 in?
ZIP Code 02645 is in Barnstable County, Massachusetts.
What city is ZIP Code 02645 in?
The Postal Service's default place name for 02645 is Harwich. By Census boundaries it covers East Harwich (community, 47% of the land), Northwest Harwich (community, 33% of the land), Harwich Center (community, 13% of the land), and Harwich Port (community, 3% of the land).
What is the population of ZIP Code 02645?
About 11,288 people live in ZIP Code 02645, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 02645 in?
ZIP Code 02645 is in the Eastern Time zone (America/New_York).
What is the median household income in 02645?
The median household income in ZIP Code 02645 is $104,401 (2020–2024 ACS), compared with $95,241 in Barnstable County and $103,960 in Massachusetts.
Which ZIP Codes border 02645?
02646 (Harwich Port), 02659 (South Chatham), 02631 (Brewster), 02671 (West Harwich), 02633 (Chatham), 02639 (Dennis Port), 02660 (South Dennis), and 02653 (Orleans).

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.