Barnstable County · Massachusetts

ZIP Code 02540

Falmouth, MA · 8,104 residents

City (USPS)
Falmouth
Time zone
Eastern Time
Coordinates
41.5695° N, 70.6272° W
Land area
11.0 sq mi · 736 people/sq mi
70.8°W70.7°W70.6°W70.5°W41.5°N41.6°NZIP 02534ZIP 02536ZIP 02542ZIP 02543ZIP 02556ZIP 02649025360264902556025402 miN
ZIP Code 02540 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 02540 in?

ZIP Code 02540 is in Barnstable County, Massachusetts.

The Postal Service's default place name for 02540 is Falmouth. By Census boundaries it covers West Falmouth (community, 27% of the land), Falmouth (community, 19% of the land), and Woods Hole (community, 4% of the land). The remaining 50% is unincorporated.

Population8,104±730
Median household income$77,295
Median home value$844,500
Median rent$1,390/mo
Median age62.7
Households4,161

What stands out in ZIP 02540

  • The poverty rate is 18.1%, 2.4× the Barnstable County (7.7%).
  • The average commute is 16 minutes, 35% lower than Barnstable County (25 minutes).
  • The share of residents born abroad is 13.5%, 36% higher than Barnstable County (9.9%).
  • The median home value is $844,500, 34% higher than Barnstable County ($629,000).

People in ZIP 02540

Median age62.7
Under 1811.5%
65 and older43.8%
Born abroad13.5%
Moved here in the last year10.7%

Age and sex

MaleAgeFemale
6.2%80+8.4%
6.9%70–7910.5%
11.2%60–6911.1%
5.0%50–596.7%
2.5%40–492.6%
3.4%30–393.8%
5.2%20–293.3%
4.1%10–193.4%
3.7%0–91.9%
Share of all residents in each age group

Race and ethnicity

  • White83.8%
  • Hispanic or Latino6.4%
  • Two or more races5.3%
  • Asian2.2%
  • Black1.1%
  • Other0.6%
  • American Indian / Alaska Native0.5%

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

Households

4,161 households, 1.88 people per household on average, 51.5% family households, and 44.1% people living alone.

Income in ZIP 02540

Median household income$77,295±$14,063
Per-capita income$67,865
Poverty rate18.1%
Income inequality (Gini)0.550 = equal, 1 = unequal

Median household income ranks 411th of 496 ZIP Codes in Massachusetts. Richest ZIP Codes in Massachusetts

22%Under $25k
11%$25k–50k
15%$50k–75k
11%$75k–100k
12%$100k–150k
6%$150k–200k
23%$200k+
Households by annual income

Housing in ZIP 02540

Median home value$844,500
Median gross rent$1,390/mo
Housing units6,300
Median year built1967
Vacant34%

Owners and renters

  • Owner-occupied 65.1%
  • Renter-occupied 34.9%

Types of homes

  • Single-family homes 72.3%
  • 2–9 unit buildings 15.5%
  • 10+ unit buildings 11.3%
  • Mobile homes, RVs 0.9%

Work, commute and education

Mean commute16 minone way
Unemployment rate5.3%
Labor force participation46.3%age 16+
Broadband at home91.4%households

How workers get to work

  • Drove alone52.3%
  • Carpooled15.1%
  • Public transit0.5%
  • Walked3.6%
  • Bicycle2.7%
  • Worked from home25.4%

Education, adults 25+

  • High school or higher95.7%
  • Bachelor's or higher61.2%
  • Graduate or professional degree32.5%

How ZIP 02540 compares

ZIP 02540Barnstable CountyMassachusettsUnited States
Median household income$77,295$95,241$103,960$80,734
Per-capita income$67,865$62,086$57,897$44,673
Median home value$844,500$629,000$562,100$332,700
Median gross rent$1,390/mo$1,678/mo$1,762/mo$1,413/mo
Homeownership rate65.1%81.1%62.5%65.2%
Median age62.755.440.038.9
Bachelor's degree or higher61.2%48.2%47.3%35.7%
Poverty rate18.1%7.7%10%12.5%
Unemployment rate5.3%5%5.2%5.2%
Mean commute16 min25 min29 min26 min
Worked from home25.4%16%18.6%15.1%
Broadband at home91.4%94.3%92.8%91%
Foreign-born residents13.5%9.9%18%14.1%

ZIP Codes bordering 02540

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
02536East Falmouth21,328$100,497$558,60053.0NE · 3.6 mi
02556North Falmouth2,868$121,810$717,80046.5N · 4.8 mi
02543Woods Hole747$72,349$925,20068.5SW · 10.6 mi

Cities and communities in 02540

ZIP Code 02540: questions and answers

What county is ZIP Code 02540 in?
ZIP Code 02540 is in Barnstable County, Massachusetts.
What city is ZIP Code 02540 in?
The Postal Service's default place name for 02540 is Falmouth. By Census boundaries it covers West Falmouth (community, 27% of the land), Falmouth (community, 19% of the land), and Woods Hole (community, 4% of the land). The remaining 50% is unincorporated.
What is the population of ZIP Code 02540?
About 8,104 people live in ZIP Code 02540, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 02540 in?
ZIP Code 02540 is in the Eastern Time zone (America/New_York).
What is the median household income in 02540?
The median household income in ZIP Code 02540 is $77,295 (2020–2024 ACS), compared with $95,241 in Barnstable County and $103,960 in Massachusetts.
Which ZIP Codes border 02540?
02536 (East Falmouth), 02556 (North Falmouth), and 02543 (Woods Hole).

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.