Skip to content
Live demo
A 3D map of ZIP Code 02540’s census tracts, with each tract raised and lightened by its median household income.

ZIP Code 02540, Falmouth, Massachusetts · population, demographics and census data

Home to 8,104 people, the 285th largest of Massachusetts’s 532 ZIP codes.

Population
8,104 ±730. Rank 285 of 532 in Massachusetts
Median household income
$77,295 ±$14,060. Massachusetts $103,960 · US $80,734
Median age
62.7 ±2.1. Massachusetts 40.0 · US 38.9

ACS 2020–2024 5-year estimates, U.S. Census Bureau

About ZIP Code 02540

ZIP Code 02540’s median household income is $77,295 (±$14,060), lower than Massachusetts ($103,960) but about the same as the US ($80,734), and its median age is 62.7 (±2.1), according to the ACS 2020–2024 5-year estimates.

With 8,104 residents, treat these as rough estimates. The survey reaches only a sample of households, so a small place’s figures can swing widely from year to year, and small differences may not mean much.

± is each figure’s margin of error, at 90% confidence, and † marks one too uncertain to lean on. Under each percentage in the tables is the number it counts. How the margins are worked out.

ZCTA 02540

Highlights

What stands out in ZIP Code 02540

The numbers where ZIP Code 02540 sits furthest from Massachusetts and the nation, or past a recognized policy benchmark.

Past a policy benchmark

  • 34.3%

    High

    Homes built before 1960

    That’s lower than Massachusetts (46.3%) but higher than the US (25.3%). Older homes carry more lead-paint risk: the EPA found lead paint in 69% of homes built from 1940 to 1959.

  • +17 points

    High

    Rent growth ahead of income

    After inflation, rent grew 11% from 2010–2014 to 2020–2024, and household income -5%. The dots show rent growth.

  • 18.1%

    Elevated

    Living in poverty

    That’s higher than both Massachusetts (10.0%) and the US (12.5%). HUD and the New Markets Tax Credit use 20% poverty to mark low-income areas. It’s the 36th highest of 465 Massachusetts ZIP codes.

Furthest from the national picture

  • 62.7

    1.5× the US

    Median age

    That’s higher than both Massachusetts (40.0) and the US (38.9). It’s the 7th highest of 467 Massachusetts ZIP codes.

  • 43.8%

    2.5× the US

    65 and over

    That’s higher than both Massachusetts (17.9%) and the US (17.2%). It’s the 6th highest of 467 Massachusetts ZIP codes.

  • $844,500

    2.5× the US

    Median home value

    That’s higher than both Massachusetts ($562,100) and the US ($332,700).

2010–2014 to 2020–2024

How ZIP Code 02540 changed in ten years

The ZIP code lost 606 people. It got older, more foreign-born and better educated, and poverty rose 9.2 points.

Population, change since 2010–14

−7.0% in the ZIP code, +5.8% in Massachusetts and +6.6% in the US.

Source: ACS 5-year, 2010–14 to 2020–24, table A00001.

Show data
Population, change since 2010–14, ZIP Code 02540. Source: ACS 5-year, 2010–14 to 2020–24, table A00001.
ZIP Code 02540MassachusettsUnited States
2010–140.0%0.0%0.0%
2011–15−2.1%+0.7%+0.8%
2012–16−0.9%+1.3%+1.4%
2013–17−4.8%+2.0%+2.2%
2014–18−3.7%+2.6%+2.8%
2015–19−4.2%+2.9%+3.4%
2016–20−5.4%+3.2%+4.0%
2017–21+2.0%+5.0%+5.0%
2018–22−1.1%+4.9%+5.4%
2019–23−4.1%+5.0%+5.8%
2020–24−7.0%+5.8%+6.6%
Embed

Median household income, in 2024 dollars

−5.2% in the ZIP code, +15.4% in Massachusetts and +13.7% in the US.

Source: ACS 5-year, 2010–14 to 2020–24, table A14006.

Show data
Median household income, in 2024 dollars, ZIP Code 02540. Source: ACS 5-year, 2010–14 to 2020–24, table A14006.
ZIP Code 02540MassachusettsUnited States
2010–14$81,554$90,091$71,018
2011–15$81,680$90,887$71,435
2012–16$84,424$92,859$72,401
2013–17$90,653$95,020$73,862
2014–18$91,504$96,775$75,407
2015–19$96,557$99,766$77,198
2016–20$91,977$102,382$78,856
2017–21$94,289$103,194$80,006
2018–22$91,232$103,438$80,548
2019–23$90,859$104,318$80,845
2020–24$77,295$103,960$80,734
Embed

Living in poverty

+9.2 points in the ZIP code, −1.5 points in Massachusetts and −3.1 points in the US.

Source: ACS 5-year, 2010–14 to 2020–24, table A13004.

Show data
Living in poverty, ZIP Code 02540. Source: ACS 5-year, 2010–14 to 2020–24, table A13004.
ZIP Code 02540MassachusettsUnited States
2010–148.9%11.6%15.6%
2011–157.4%11.6%15.5%
2012–167.4%11.4%15.1%
2013–176.9%11.1%14.6%
2014–186.7%10.8%14.1%
2015–196.0%10.3%13.4%
2016–207.6%9.8%12.8%
2017–2110.1%9.9%12.6%
2018–2213.9%9.9%12.5%
2019–2316.2%10.0%12.4%
2020–2418.1%10.0%12.5%
Embed

Bachelor’s degree or more

+7.1 points in the ZIP code, +7.3 points in Massachusetts and +6.4 points in the US.

Source: ACS 5-year, 2010–14 to 2020–24, table A12001.

Show data
Bachelor’s degree or more, ZIP Code 02540. Source: ACS 5-year, 2010–14 to 2020–24, table A12001.
ZIP Code 02540MassachusettsUnited States
2010–1454.1%40.0%29.3%
2011–1551.3%40.5%29.8%
2012–1653.3%41.2%30.3%
2013–1754.6%42.1%30.9%
2014–1858.4%42.9%31.5%
2015–1956.1%43.7%32.1%
2016–2061.7%44.5%32.9%
2017–2161.4%45.2%33.7%
2018–2260.1%45.9%34.3%
2019–2358.7%46.6%35.0%
2020–2461.2%47.3%35.7%
Embed

Median gross rent, in 2024 dollars

+11.5% in the ZIP code, +21.9% in Massachusetts and +15.6% in the US.

Source: ACS 5-year, 2010–14 to 2020–24, table A18009.

Show data
Median gross rent, in 2024 dollars, ZIP Code 02540. Source: ACS 5-year, 2010–14 to 2020–24, table A18009.
ZIP Code 02540MassachusettsUnited States
2010–14$1,247$1,445$1,222
2011–15$1,234$1,461$1,230
2012–16$1,129$1,478$1,242
2013–17$1,184$1,503$1,258
2014–18$1,226$1,532$1,279
2015–19$1,247$1,575$1,305
2016–20$1,230$1,621$1,330
2017–21$1,241$1,656$1,348
2018–22$1,270$1,702$1,359
2019–23$1,367$1,737$1,388
2020–24$1,390$1,762$1,413
Embed

Median home value, in 2024 dollars

+27.9% in the ZIP code, +28.3% in Massachusetts and +42.6% in the US.

Source: ACS 5-year, 2010–14 to 2020–24, table A10036.

Show data
Median home value, in 2024 dollars, ZIP Code 02540. Source: ACS 5-year, 2010–14 to 2020–24, table A10036.
ZIP Code 02540MassachusettsUnited States
2010–14$660,088$438,067$233,308
2011–15$642,251$441,556$236,751
2012–16$641,271$446,272$241,720
2013–17$688,113$451,738$247,905
2014–18$717,013$458,748$256,264
2015–19$736,069$468,765$267,181
2016–20$752,594$483,854$278,810
2017–21$724,931$492,290$283,875
2018–22$758,864$518,665$302,152
2019–23$778,519$541,247$312,314
2020–24$844,500$562,100$332,700
Embed

ACS 5-year estimates. Each point is the five years ending then, and neighboring points share years. Dollar values are in 2024 dollars. The Census Bureau redraws ZIP Code Tabulation Areas for each census, last for 2020, so part of a change can be a new boundary rather than new people.

ZIP Code 02540 in 2010–2014 and 2020–2024
Indicator2010–20142020–2024ChangeMassachusetts’s change
Population8,7108,104−7.0%+5.8%
Median age55.662.7+7.1 years+0.7 years
65 and over36.2%43.8%+7.6 points+3.5 points
Born outside the US11.8%13.5%+1.7 points+2.8 points
Hispanic or Latino1.0%6.4%+5.4 points+3.1 points
Median household income$81,554$77,295−5.2%+15.4%
Living in poverty8.9%18.1%+9.2 points−1.5 points
Bachelor’s degree or more54.1%61.2%+7.1 points+7.3 points
Households that rent32.5%34.9%+2.4 points−0.2 points
Median gross rent$1,247$1,390+11.5%+21.9%
Median home value$660,088$844,500+27.9%+28.3%

2 census tracts

ZIP Code 02540, tract by tract

ZIP code averages hide a lot. These census tracts are the closest the census comes to neighborhoods.

A map of ZIP Code 02540’s 2 census tracts, shaded by median household income, lighter where incomes are higher.
Median household income, by census tract, American Community Survey 2020–2024 5-year estimates. Boundaries, roads and water: Social Explorer.

People

Who lives in ZIP Code 02540

An older ZIP code than Massachusetts (40.0) or the US (38.9), with a median age of 62.7. 13.5% of residents were born outside the US, and 13.7% speak a language other than English at home.

Age

Source: ACS 2020–2024 5-year, table A01001.

Show data
Age, ZIP Code 02540. Source: ACS 2020–2024 5-year, table A01001.
ZIP Code 02540MassachusettsUnited States
Under 18
11.5% ±3.1%
, number 930 ±267
19.4% ±0.1%
, number 1,364,181 ±6,033
22.0% ±<0.1%
, number 73,517,834 ±38,890
18 to 24
4.2% ±1.8%
, number 339 ±153
9.8% ±0.1%
, number 692,573 ±4,528
9.1% ±<0.1%
, number 30,597,362 ±37,780
25 to 34
11.1% ±2.9%
, number 899 ±251
14.0% ±<0.1%
, number 989,446 ±851
13.7% ±<0.1%
, number 45,806,540 ±10,200
35 to 44
4.6% ±1.7%
, number 376 ±146
13.0% ±0.1%
, number 918,011 ±5,971
13.2% ±<0.1%
, number 44,237,292 ±43,510
45 to 54
6.3% ±1.6%
, number 508 ±139
12.3% ±<0.1%
, number 865,707 ±746
12.2% ±<0.1%
, number 40,743,799 ±8,564
55 to 64
18.5% ±2.8%
, number 1,500 ±261
13.6% ±0.1%
, number 955,865 ±6,416
12.7% ±<0.1%
, number 42,386,044 ±41,500
65 to 74
21.1% ±2.6%
, number 1,708 ±259
10.5% ±0.1%
, number 739,229 ±5,679
10.2% ±<0.1%
, number 34,092,907 ±38,800
75 and over
22.8% ±2.9%
, number 1,844 ±290
7.4% ±0.1%
, number 519,044 ±4,418
7.0% ±<0.1%
, number 23,540,721 ±31,560
Embed

Race and ethnicity

Source: ACS 2020–2024 5-year, table A04001.

Show data
Race and ethnicity, ZIP Code 02540. Source: ACS 2020–2024 5-year, table A04001.
ZIP Code 02540MassachusettsUnited States
White, not Hispanic
83.8% ±2.9%
, number 6,793 ±656
66.6% ±0.1%
, number 4,691,391 ±6,188
57.4% ±<0.1%
, number 192,214,378 ±30,950
Hispanic or Latino
6.4% ±3.7%
, number 518 ±301
13.3%
, number 936,853
19.3% ±<0.1%
, number 64,759,370 ±1,547
Black, not Hispanic
1.1% ±0.9%
, number 93 ±75
6.4% ±0.1%
, number 450,251 ±4,635
11.9% ±<0.1%
, number 39,896,127 ±46,710
Asian, not Hispanic
2.2% ±1.9%
, number 182 ±156
7.3% ±<0.1%
, number 510,868 ±3,104
5.9% ±<0.1%
, number 19,678,814 ±22,770
Other or multiracial
6.4% ±3.6%
, number 518 ±299
6.5% ±0.1%
, number 454,693 ±8,388
5.5% ±<0.1%
, number 18,373,810 ±69,180
Embed

Language spoken at home

Source: ACS 2020–2024 5-year, table C16001.

Show data
Language spoken at home, ZIP Code 02540. Source: ACS 2020–2024 5-year, table C16001.
ZIP Code 02540MassachusettsUnited States
English only
86.3% ±3.5%
, number 6,802 ±665
74.9% ±0.2%
, number 5,015,860 ±11,810
77.7% ±0.1%
, number 245,767,039 ±221,000
Spanish
3.3% ±2.0%
, number 262 ±158
9.7% ±0.1%
, number 646,141 ±5,977
13.6% ±<0.1%
, number 42,869,908 ±143,800
Other Indo-European
6.7% ±3.5%
, number 530 ±282
9.3% ±0.1%
, number 620,009 ±9,625
3.9% ±<0.1%
, number 12,249,474 ±54,760
Asian and Pacific Island
2.0% ±2.0%
, number 155 ±155
4.5% ±0.1%
, number 301,953 ±5,849
3.6% ±<0.1%
, number 11,320,253 ±40,030
Arabic and other
1.7% ±2.6%
, number 137 ±204
1.7% ±0.1%
, number 110,997 ±4,016
1.2% ±<0.1%
, number 3,935,874 ±33,550
Embed

Marital status

Source: ACS 2020–2024 5-year, table A11001.

Show data
Marital status, ZIP Code 02540. Source: ACS 2020–2024 5-year, table A11001.
ZIP Code 02540MassachusettsUnited States
Now married
51.4% ±1.1%
, number 3,777 ±352
46.4% ±0.2%
, number 2,752,629 ±11,050
47.8% ±0.1%
, number 131,199,078 ±272,700
Never married
25.2% ±4.5%
, number 1,851 ±373
37.7% ±0.1%
, number 2,237,019 ±8,505
34.4% ±0.1%
, number 94,480,845 ±211,900
Divorced
11.8% ±2.3%
, number 869 ±189
9.3% ±0.1%
, number 552,367 ±6,174
10.6% ±<0.1%
, number 29,074,059 ±73,390
Widowed
10.3% ±2.8%
, number 760 ±217
5.1% ±0.1%
, number 299,595 ±4,143
5.6% ±<0.1%
, number 15,250,943 ±26,710
Separated
1.2% ±0.9%
, number 86 ±63
1.5% ±<0.1%
, number 90,440 ±2,562
1.7% ±<0.1%
, number 4,592,038 ±29,170
Embed

Where people lived a year ago

Source: ACS 2020–2024 5-year, table A08001.

Show data
Where people lived a year ago, ZIP Code 02540. Source: ACS 2020–2024 5-year, table A08001.
ZIP Code 02540MassachusettsUnited States
Same home
89.3% ±1.4%
, number 7,106 ±642
88.3% ±0.1%
, number 6,164,514 ±9,083
87.7% ±0.1%
, number 290,692,803 ±173,800
Same county
4.4% ±2.3%
, number 352 ±189
5.6% ±0.1%
, number 391,000 ±7,690
6.3% ±<0.1%
, number 20,792,831 ±117,600
Another county in the state
4.1% ±1.7%
, number 325 ±137
3.0% ±0.1%
, number 206,721 ±5,277
3.1% ±<0.1%
, number 10,316,864 ±51,200
Another state
2.1% ±0.9%
, number 168 ±74
2.2% ±0.1%
, number 155,545 ±4,648
2.3% ±<0.1%
, number 7,577,400 ±40,570
Another country
0.1% ±0.2%
, number 8 ±14
0.9% ±<0.1%
, number 61,569 ±2,937
0.6% ±<0.1%
, number 2,060,087 ±23,560
Embed

Top countries of birth, among those born abroad

Source: ACS 2020–2024 5-year, table A07001.

Show data
Top countries of birth, among those born abroad, ZIP Code 02540. Source: ACS 2020–2024 5-year, table A07001.
ZIP Code 02540
Brazil14.9%
, number 163
England13.0%
, number 142
Argentina12.6%
, number 138
China, Excluding Hong Kong and Taiwan11.0%
, number 120
Canada5.3%
, number 58
Germany5.1%
, number 56
Embed
All the numbers
People: ZIP Code 02540 compared with Massachusetts and the United States
IndicatorZIP Code 02540MassachusettsUSRank in Massachusetts*Table
Population
8,104 ±730
7,044,056
334,922,499
285thA00001
People per square mile
736 ±66
903
95
271stA00002
Land area (square miles)
11
–
–
–A00002
Median age
62.7 ±2.1
40.0 ±0.1
38.9 ±0.1
7thA01004
Under 18
11.5% ±3.1%
, number 930 ±267
19.4% ±0.1%
, number 1,364,181 ±6,033
22.0% ±<0.1%
, number 73,517,834 ±38,890
414thB02002
65 and over
43.8% ±2.7%
, number 3,552 ±389
17.9% ±0.1%
, number 1,258,273 ±7,195
17.2% ±<0.1%
, number 57,633,628 ±50,010
6thB02002
Born outside the US
13.5% ±5.4%
, number 1,094 ±447
18.0% ±0.1%
, number 1,271,206 ±9,721
14.1% ±<0.1%
, number 47,349,078 ±143,600
167thA06001
Speak a language other than English at home
13.7% ±3.5%
, number 1,084 ±412
25.1% ±0.2%
, number 1,679,100 ±13,370
22.3% ±0.1%
, number 70,375,509 ±162,500
225thC16001
Veterans (adults)
9.0% ±2.1%
, number 645 ±161
4.3% ±0.1%
, number 243,596 ±3,368
6.2% ±<0.1%
, number 16,185,883 ±45,250
33rdA16002
Living with a disability
21.6% ±3.4%
, number 1,703 ±313
12.3% ±0.1%
, number 861,255 ±7,005
13.3% ±<0.1%
, number 43,869,797 ±68,920
9thB18101
Women 15–50 who had a baby in the past year
5.8%† (too uncertain to lean on) ±5.0%
, number 56 ±50
4.4% ±0.1%
, number 74,761 ±2,382
5.1% ±<0.1%
, number 4,009,203 ±20,900
112thB13002
Lived in the same home a year ago
89.3% ±1.4%
, number 7,106 ±642
88.3% ±0.1%
, number 6,164,514 ±9,083
87.7% ±0.1%
, number 290,692,803 ±173,800
292ndA08001
White, not Hispanic
83.8% ±2.9%
, number 6,793 ±656
66.6% ±0.1%
, number 4,691,391 ±6,188
57.4% ±<0.1%
, number 192,214,378 ±30,950
209thA04001
Hispanic or Latino
6.4% ±3.7%
, number 518 ±301
13.3%
, number 936,853
19.3% ±<0.1%
, number 64,759,370 ±1,547
170thA04001
Black, not Hispanic
1.1%† (too uncertain to lean on) ±0.9%
, number 93 ±75
6.4% ±0.1%
, number 450,251 ±4,635
11.9% ±<0.1%
, number 39,896,127 ±46,710
304thA04001
Asian, not Hispanic
2.2%† (too uncertain to lean on) ±1.9%
, number 182 ±156
7.3% ±<0.1%
, number 510,868 ±3,104
5.9% ±<0.1%
, number 19,678,814 ±22,770
243rdA04001

*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.

Income and work

Income and work

The median household income is $77,295, lower than Massachusetts ($103,960) but about the same as the US ($80,734).

Household income

Source: ACS 2020–2024 5-year, table A14001.

Show data
Household income, ZIP Code 02540. Source: ACS 2020–2024 5-year, table A14001.
ZIP Code 02540MassachusettsUnited States
Under $25,000
21.5% ±5.1%
, number 895 ±228
13.2% ±0.2%
, number 367,634 ±5,128
14.6% ±<0.1%
, number 18,908,588 ±41,540
$25,000 to $49,999
11.1% ±3.0%
, number 463 ±133
12.5% ±0.2%
, number 346,827 ±5,111
16.7% ±<0.1%
, number 21,624,902 ±39,130
$50,000 to $74,999
14.8% ±5.2%
, number 616 ±223
12.0% ±0.2%
, number 333,802 ±4,422
15.5% ±<0.1%
, number 20,031,683 ±36,850
$75,000 to $99,999
11.0% ±3.7%
, number 458 ±158
10.7% ±0.2%
, number 298,075 ±4,355
12.6% ±<0.1%
, number 16,319,799 ±42,700
$100,000 to $149,999
12.5% ±3.3%
, number 520 ±146
17.5% ±0.2%
, number 487,902 ±5,403
17.5% ±<0.1%
, number 22,670,921 ±58,280
$150,000 to $199,999
6.2% ±1.9%
, number 258 ±83
11.9% ±0.1%
, number 330,817 ±4,182
9.6% ±<0.1%
, number 12,405,370 ±57,560
$200,000 or more
22.9% ±3.8%
, number 951 ±180
22.3% ±0.2%
, number 619,985 ±5,566
13.4% ±0.1%
, number 17,266,233 ±82,370
Embed

What residents do for work

Source: ACS 2020–2024 5-year, table A17004.

Show data
What residents do for work, ZIP Code 02540. Source: ACS 2020–2024 5-year, table A17004.
ZIP Code 02540MassachusettsUnited States
Professional and business services
25.7% ±5.7%
, number 823 ±216
15.7% ±0.2%
, number 583,269 ±6,596
12.6% ±<0.1%
, number 20,282,450 ±59,650
Education and health care
25.7% ±5.5%
, number 823 ±209
28.1% ±0.2%
, number 1,043,609 ±7,648
23.5% ±0.1%
, number 37,913,663 ±133,200
Arts, food and lodging
11.2% ±3.8%
, number 359 ±130
7.5% ±0.1%
, number 276,505 ±4,602
8.7% ±<0.1%
, number 13,952,453 ±52,980
Manufacturing
8.5% ±3.6%
, number 272 ±121
9.0% ±0.1%
, number 333,516 ±4,045
9.9% ±<0.1%
, number 15,940,000 ±38,890
Finance, insurance and real estate
6.8% ±3.0%
, number 218 ±100
7.3% ±0.1%
, number 270,882 ±4,827
6.7% ±<0.1%
, number 10,783,159 ±41,000
Retail trade
6.3% ±3.3%
, number 203 ±108
9.6% ±0.1%
, number 357,451 ±5,442
10.8% ±<0.1%
, number 17,456,908 ±41,100
Public administration
4.5% ±2.5%
, number 143 ±81
4.0% ±0.1%
, number 147,236 ±3,160
4.7% ±<0.1%
, number 7,624,243 ±43,950
Transportation and warehousing
3.4% ±3.1%
, number 109 ±101
4.2% ±0.1%
, number 154,211 ±3,512
5.9% ±<0.1%
, number 9,568,767 ±29,300
Embed

Where workers come from and go

ZIP Code 02540 has 7,636 jobs and 3,288 employed residents. 6,734 people commute in to work and 2,386 commute out, while 902 both live and work here. The most commuters come from 02536.

Jobs in the ZIP code7,636
Employed residents3,288

Most commuters come from

  • 02536: 1,977
  • 02649: 472
  • 02360: 264

Most residents commute to

  • 02536: 227
  • 02543: 141
  • 02649: 117
Source: LEHD LODES 2023.
Show data
Who works here, and who commutes, ZIP Code 02540. Source: LEHD LODES 2023.
ZIP Code 02540
Live and work here902
Work here, live elsewhere6,734
Live here, work elsewhere2,386
Embed
All the numbers
Income and work: ZIP Code 02540 compared with Massachusetts and the United States
IndicatorZIP Code 02540MassachusettsUSRank in Massachusetts*Table
Median household income
$77,295 ±$14,060
$103,960 ±$527
$80,734 ±$166
390thA14006
Income per person
$67,865 ±$7,423
$57,897 ±$291
$44,673 ±$122
136thA14024
Income inequality (Gini index)
0.550 ±0.038
0.489 ±0.002
0.483
17thA14028
Living in poverty
18.1% ±5.5%
, number 1,425 ±454
10.0% ±0.1%
, number 684,548 ±9,915
12.5% ±0.1%
, number 40,735,661 ±275,900
36thA13004
Unemployment rate
5.3% ±2.4%
, number 180 ±84
5.2% ±0.1%
, number 201,593 ±4,058
5.2% ±<0.1%
, number 8,902,365 ±38,980
172ndA17005
No health insurance
1.5%† (too uncertain to lean on) ±1.4%
, number 117 ±109
2.6% ±0.1%
, number 180,409 ±4,735
8.4% ±<0.1%
, number 27,734,911 ±158,900
286thA20001

*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.

Education

More college degrees than the US

61.2% of adults 25 and over have a bachelor’s degree or more, higher than both Massachusetts (47.3%) and the US (35.7%).

Highest level of education

Source: ACS 2020–2024 5-year, table A12001.

Show data
Highest level of education, ZIP Code 02540. Source: ACS 2020–2024 5-year, table A12001.
ZIP Code 02540MassachusettsUnited States
Less than high school
4.3% ±2.4%
, number 295 ±165
8.6% ±0.1%
, number 430,629 ±6,383
10.4% ±<0.1%
, number 23,992,410 ±82,490
High school only
11.8% ±2.8%
, number 805 ±203
22.6% ±0.2%
, number 1,125,893 ±10,540
26.0% ±0.1%
, number 60,094,716 ±262,500
Some college
22.7% ±3.5%
, number 1,551 ±274
21.5% ±0.2%
, number 1,072,833 ±9,618
27.9% ±0.1%
, number 64,356,961 ±143,900
Bachelor’s degree
28.7% ±3.0%
, number 1,961 ±264
25.5% ±0.2%
, number 1,271,684 ±9,142
21.6% ±0.1%
, number 49,868,171 ±191,400
Graduate degree
32.5% ±3.5%
, number 2,223 ±305
21.8% ±0.2%
, number 1,086,263 ±8,899
14.1% ±0.1%
, number 32,495,045 ±159,600
Embed
All the numbers
Education: ZIP Code 02540 compared with Massachusetts and the United States
IndicatorZIP Code 02540MassachusettsUSRank in Massachusetts*Table
Bachelor’s degree or more
61.2% ±2.9%
, number 4,184 ±403
47.3% ±0.3%
, number 2,357,947 ±12,760
35.7% ±0.1%
, number 82,363,216 ±249,200
130thA12001
High school graduate or more
95.7% ±11.1%
, number 6,540 ±528
91.4% ±0.4%
, number 4,556,673 ±19,140
89.6% ±0.2%
, number 206,814,893 ±389,500
204thA12001

*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.

Housing

Home values outran incomes

34.9% of households rent, about the same as both Massachusetts (37.5%) and the US (34.8%). The median home is worth $844,500 and the median rent is $1,390. After inflation, home values rose 28% from 2010–2014 to 2020–2024, while household income fell 5%.

Housing costs and income, 2010–2014 to 2020–2024, after inflation

Source: ACS 5-year, table A10036, A18009, A14006.

Show data
Housing costs and income, 2010–2014 to 2020–2024, after inflation, ZIP Code 02540. Source: ACS 5-year, table A10036, A18009, A14006.
ZIP Code 02540MassachusettsUnited States
Median home value+27.9%+28.3%+42.6%
Median rent+11.5%+21.9%+15.6%
Median household income−5.2%+15.4%+13.7%
Embed

Types of homes

Source: ACS 2020–2024 5-year, table A10032.

Show data
Types of homes, ZIP Code 02540. Source: ACS 2020–2024 5-year, table A10032.
ZIP Code 02540MassachusettsUnited States
Single-family, detached
64.4% ±4.2%
, number 4,059 ±399
51.1% ±0.2%
, number 1,549,565 ±5,580
61.3% ±0.1%
, number 88,075,458 ±149,800
Single-family, attached
7.9% ±2.7%
, number 497 ±174
5.9% ±0.1%
, number 177,408 ±3,237
6.2% ±<0.1%
, number 8,955,086 ±33,580
2 to 4 units
12.2% ±3.6%
, number 770 ±236
20.0% ±0.2%
, number 606,537 ±6,625
7.7% ±<0.1%
, number 11,031,346 ±42,810
5 to 19 units
4.2% ±1.6%
, number 267 ±101
9.9% ±0.2%
, number 299,429 ±4,616
8.8% ±<0.1%
, number 12,625,154 ±51,990
20 or more units
10.4% ±3.0%
, number 653 ±193
12.3% ±0.2%
, number 372,638 ±4,756
10.3% ±<0.1%
, number 14,859,547 ±31,000
Mobile homes and other
0.9% ±1.4%
, number 54 ±89
0.8% ±<0.1%
, number 24,829 ±1,173
5.7% ±<0.1%
, number 8,228,764 ±48,580
Embed

When homes were built

Source: ACS 2020–2024 5-year, table A10055.

Show data
When homes were built, ZIP Code 02540. Source: ACS 2020–2024 5-year, table A10055.
ZIP Code 02540MassachusettsUnited States
2010 or later
6.3% ±2.4%
, number 262 ±104
7.2% ±0.1%
, number 200,171 ±3,479
11.6% ±<0.1%
, number 14,996,534 ±51,640
2000 to 2009
11.5% ±3.8%
, number 479 ±163
7.1% ±0.1%
, number 198,739 ±3,566
13.8% ±<0.1%
, number 17,865,859 ±70,250
1980 to 1999
23.1% ±5.2%
, number 961 ±234
18.3% ±0.2%
, number 509,647 ±5,811
25.3% ±<0.1%
, number 32,758,140 ±75,080
1960 to 1979
24.8% ±4.2%
, number 1,033 ±201
21.0% ±0.2%
, number 585,837 ±6,100
23.9% ±<0.1%
, number 30,938,809 ±78,560
Before 1960
34.3% ±5.6%
, number 1,426 ±269
46.3% ±0.3%
, number 1,290,648 ±8,858
25.3% ±<0.1%
, number 32,668,154 ±83,060
Embed
All the numbers
Housing: ZIP Code 02540 compared with Massachusetts and the United States
IndicatorZIP Code 02540MassachusettsUSRank in Massachusetts*Table
Housing units
6,300 ±461
–
–
–A10001
Households
4,161 ±384
–
–
–A10008
People per household
1.88 ±0.11
2.44 ±0.01
2.53 ±0.01
445thA10003
Households that rent
34.9% ±6.3%
, number 1,453 ±295
37.5% ±0.2%
, number 1,043,884 ±6,942
34.8% ±0.1%
, number 45,017,354 ±163,600
136thA10060
Vacant homes
34.0% ±5.9%
, number 2,139 ±402
8.1% ±0.2%
, number 245,364 ±5,351
10.1% ±0.1%
, number 14,547,859 ±200,400
32ndA10047, A10060
Median gross rent
$1,390 ±$208
$1,762 ±$9
$1,413 ±$2
303rdA18009
Median home value
$844,500 ±$49,710
$562,100 ±$2,169
$332,700 ±$236
81stA10036
Renters paying 30% or more of income
52.6% ±9.6%
, number 764 ±209
48.9% ±0.5%
, number 510,471 ±6,642
47.6% ±0.2%
, number 21,422,415 ±63,960
144thA18002
Owners paying 30% or more of income
22.8% ±5.7%
, number 618 ±165
26.4% ±0.3%
, number 458,827 ±5,761
22.5% ±0.1%
, number 18,961,895 ±39,930
312thA10040
Homes built before 1960
34.3% ±5.6%
, number 1,426 ±269
46.3% ±0.3%
, number 1,290,648 ±8,858
25.3% ±<0.1%
, number 32,668,154 ±83,060
300thA10055

*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.

Getting around

How people get around

52.3% of workers drive alone and 25.4% work from home. 13.2% of those who travel to work spend 30 minutes or more getting there, and 14.5% of households have no vehicle.

How people get to work

Source: ACS 2020–2024 5-year, table A09005.

Show data
How people get to work, ZIP Code 02540. Source: ACS 2020–2024 5-year, table A09005.
ZIP Code 02540MassachusettsUnited States
Drive alone
52.3% ±7.1%
, number 1,670 ±334
61.2% ±0.2%
, number 2,220,613 ±9,367
68.8% ±0.1%
, number 109,447,738 ±95,800
Carpool
15.1% ±5.3%
, number 482 ±184
7.0% ±0.2%
, number 252,702 ±5,680
8.5% ±<0.1%
, number 13,569,614 ±52,500
Public transit
0.5% ±0.8%
, number 16 ±27
6.9% ±0.1%
, number 252,064 ±4,534
3.5% ±<0.1%
, number 5,573,279 ±22,170
Walk
3.6% ±1.9%
, number 114 ±64
4.1% ±0.1%
, number 149,600 ±3,067
2.4% ±<0.1%
, number 3,772,609 ±17,080
Work from home
25.4% ±6.0%
, number 811 ±226
18.6% ±0.2%
, number 676,607 ±6,654
15.1% ±<0.1%
, number 24,042,489 ±82,860
Other
3.1% ±2.0%
, number 98 ±65
2.1% ±0.1%
, number 77,712 ±2,884
1.7% ±<0.1%
, number 2,708,365 ±17,940
Embed

Time spent getting to work

Source: ACS 2020–2024 5-year, table B09001.

Show data
Time spent getting to work, ZIP Code 02540. Source: ACS 2020–2024 5-year, table B09001.
ZIP Code 02540MassachusettsUnited States
Under 10 minutes
38.9% ±8.3%
, number 926 ±242
10.8% ±0.2%
, number 317,573 ±4,930
12.7% ±<0.1%
, number 17,153,542 ±40,730
10 to 19 minutes
32.5% ±6.5%
, number 774 ±194
25.5% ±0.2%
, number 752,820 ±7,396
28.7% ±<0.1%
, number 38,741,521 ±54,980
20 to 29 minutes
15.4% ±5.9%
, number 367 ±151
19.3% ±0.2%
, number 571,183 ±6,250
21.3% ±<0.1%
, number 28,723,420 ±52,330
30 to 39 minutes
6.6% ±5.1%
, number 157 ±125
18.0% ±0.2%
, number 531,161 ±6,210
16.9% ±<0.1%
, number 22,853,044 ±46,230
40 to 59 minutes
1.5% ±1.5%
, number 36 ±36
14.8% ±0.2%
, number 438,003 ±5,154
11.9% ±<0.1%
, number 16,024,037 ±44,090
60 minutes or more
5.0% ±2.5%
, number 120 ±62
11.6% ±0.2%
, number 341,951 ±5,216
8.6% ±<0.1%
, number 11,576,041 ±36,550
Embed

Vehicles per household

Source: ACS 2020–2024 5-year, table A10030.

Show data
Vehicles per household, ZIP Code 02540. Source: ACS 2020–2024 5-year, table A10030.
ZIP Code 02540MassachusettsUnited States
None
14.5% ±3.5%
, number 604 ±155
11.7% ±0.2%
, number 326,673 ±4,590
8.4% ±<0.1%
, number 10,793,323 ±36,450
One
38.7% ±6.5%
, number 1,612 ±310
36.1% ±0.3%
, number 1,004,422 ±7,925
33.1% ±0.1%
, number 42,801,892 ±122,600
Two
37.1% ±5.3%
, number 1,542 ±264
35.7% ±0.3%
, number 993,679 ±8,120
36.6% ±0.1%
, number 47,334,152 ±191,100
Three or more
9.7% ±2.7%
, number 403 ±119
16.5% ±0.2%
, number 460,268 ±5,030
21.9% ±0.1%
, number 28,298,129 ±85,940
Embed
All the numbers
Getting around: ZIP Code 02540 compared with Massachusetts and the United States
IndicatorZIP Code 02540MassachusettsUSRank in Massachusetts*Table
Drive to work alone
52.3% ±7.1%
, number 1,670 ±334
61.2% ±0.2%
, number 2,220,613 ±9,367
68.8% ±0.1%
, number 109,447,738 ±95,800
379thA09005
Take public transit
0.5%† (too uncertain to lean on) ±0.8%
, number 16 ±27
6.9% ±0.1%
, number 252,064 ±4,534
3.5% ±<0.1%
, number 5,573,279 ±22,170
347thA09005
Work from home
25.4% ±6.0%
, number 811 ±226
18.6% ±0.2%
, number 676,607 ±6,654
15.1% ±<0.1%
, number 24,042,489 ±82,860
114thA09005
Commute 30 minutes or more
13.2% ±5.7%
, number 313 ±144
44.4% ±0.3%
, number 1,311,115 ±9,609
37.4% ±<0.1%
, number 50,453,122 ±73,600
458thB09001
Households with no vehicle
14.5% ±3.4%
, number 604 ±153
11.7% ±0.2%
, number 326,673 ±4,387
8.4% ±<0.1%
, number 10,793,323 ±27,220
75thA10030

*1 is the highest. Population is ranked among all ZIP codes, and the rest among those of 1,000 people or more, whose figures can be ranked. Ranks use 5-year estimates, the only ones covering every ZIP code, so they can differ slightly from the figures here.

Places

In and around ZIP Code 02540

Population, from the latest estimates available. Figures cover the whole of each place.

Places nearby

Its county

ZIP codes like this one

ZIP codes at least a third this size, with the closest income, education, age, housing and origins.

Turn ZIP Code 02540 into your planning report.

Social Explorer Studio builds an editable profile of any place, with tables and charts beside the county and state, and exports to Word, PDF and Excel.

Questions about ZIP Code 02540

What is the population of ZIP Code 02540?

8,104 people (±730), according to the ACS 2020–2024 5-year estimates. That’s the 285th largest of 532 ZIP codes in Massachusetts.

Is ZIP Code 02540 the same as the post office’s ZIP code?

Nearly. The Census Bureau draws ZIP Code Tabulation Areas from census blocks to match the Postal Service’s ZIP codes as closely as it can, since ZIP codes are mail routes rather than areas. These figures are for ZCTA 02540, which is centered in Falmouth, and its edges can differ slightly from the mail route’s.

What county is ZIP Code 02540 in?

ZIP Code 02540 is in Barnstable County.

What is the median household income in ZIP Code 02540?

$77,295 (±$14,060), according to the ACS 2020–2024 5-year estimates, lower than Massachusetts ($103,960) but about the same as the US ($80,734).

What is the median age in ZIP Code 02540?

62.7 years (±2.1), according to the ACS 2020–2024 5-year estimates, higher than both Massachusetts (40.0) and the US (38.9).

How much does housing cost in ZIP Code 02540?

ZIP Code 02540’s median home value is $844,500 (±$49,710) and its median gross rent is $1,390 (±$208) a month, according to the ACS 2020–2024 5-year estimates. 52.6% (±9.6%) of its renters pay 30% or more of their income on rent.

Where do people who work in ZIP Code 02540 live?

902 of its 7,636 jobs are held by people who live here. Of those who commute in, the most come from 02536, 02649, 02360.

Where does this census data come from?

The U.S. Census Bureau’s American Community Survey, through Social Explorer’s tables: the latest 1-year estimates where they exist, for the most recent numbers, and 5-year estimates otherwise. Each table lists its code, so you can find it again.

Is this data free to use?

Yes. You can read it, cite it, download the CSV and embed the charts, with no account. To map other variables, compare your own areas or build a report, see Social Explorer’s plans in a live demo.

Sources and how to cite

American Community Survey 2020–2024 5-year estimates, U.S. Census Bureau, from Social Explorer’s tables A00001, A00002, A01004, A04001, A06001, A08001, A09005, A10001, A10003, A10008, A10030, A10036, A10040, A10047, A10055, A10060, A12001, A13004, A14006, A14024, A14028, A16002, A17005, A18002, A18009, A20001, B02002, B09001, B13002, B18101, C16001. Maps by census tract use 2020–2024 5-year estimates, since the 1-year survey doesn’t cover tracts. Commuting: LEHD LODES 2023. These are estimates from a sample, each with its margin of error. Data retrieved November 14, 2026. How these profiles are made.

U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates, via Social Explorer. “ZIP Code 02540.” https://www.socialexplorer.com/places/zip/02540. Accessed November 14, 2026.