02540
Updated
ZIP 02540 is in Falmouth, Massachusetts, in Barnstable County; area codes 508 and 774; Eastern time. Falmouth has 2 ZIP codes; the other is 02541.
- Type
- Standard
- Time zone
- America/New_York
- County
- Barnstable
- Metro area
- Barnstable Town, MA
- Population
- 8,104
- Coordinates
- 41.5695, -70.6272
Weather right now
Asking the National Weather Service…
Where 02540 is
Approximate ZIP boundary (Census ZCTA 2020). ZIP codes are mail routes, not areas, so the shape shown is the Census tabulation area that approximates it.
People and housing
| Population | 8,104This ZIP8,104 |
|---|---|
| Households | 4,161This ZIP4,161 |
| Housing units | 6,300This ZIP6,300 |
| Median age | 62.7This ZIP62.7Massachusetts40.0US 38.9 |
| Median household income | $77,295This ZIP$77,295Massachusetts$103,960US $80,734 |
| Median home value | $844,500This ZIP$844,500Massachusetts$562,100US $332,700 |
| Median gross rent | $1,390This ZIP$1,390Massachusetts$1,762US $1,413 |
| Bachelor's degree or higher | 61.2%This ZIP61.2% |
| Mean commute | 16.1 minThis ZIP16.1 min |
| Population density | 736.4 / sq miThis ZIP736.4 / sq mi |
How 02540 compares
Its median age, 62.7, is higher than in 97% of Massachusetts's 511 ZIP codes where people live.
| Measure | 02540 | Rank in county | Above, in MA |
|---|---|---|---|
| Median household income | $77,295 | 33rd of 39 | 17% |
| Median home value | $844,500 | 12th of 42 | 82% |
| Median gross rent | $1,390 | 27th of 32 | 33% |
| Population | 8,104 | 11th of 44 | 45% |
| Median age | 62.7 | 9th of 44 | 97% |
| Bachelor's degree or higher | 61.2% | 13th of 44 | 72% |
| People per square mile | 736 | 16th of 44 | 46% |
Rank in county is among the ZIP codes of Barnstable County, 1 being the highest; "Above, in MA" is the share of Massachusetts's ZIP codes with a lower figure. Both count only ZIP codes where people live (a Census tabulation area with 100 or more residents), each in the county most of its land lies in. Survey medians are ranked for ZIP codes of 200 or more residents.
Business and tax activity
| Business establishments | 455This ZIP455 |
|---|---|
| Employees | 5,346This ZIP5,346 |
| Annual payroll | $326,531,000This ZIP$326,531,000 |
| Tax returns filed | 4,430This ZIP4,430 |
| Total adjusted gross income | $607,055,000This ZIP$607,055,000 |
Land area
| Land area | 11.01 sq miThis ZIP11.01 sq mi |
|---|---|
| Water area | 1.90 sq miThis ZIP1.90 sq mi |
Other place names in 02540
Census places whose land this ZIP code overlaps. The Postal Service may accept other city names in an address, too.
Neighbouring ZIP codes compared
The closest ZIP codes where people live, by distance between their centres.
| ZIP | Town | Distance | Population | Median income | Median home |
|---|---|---|---|---|---|
02540 | Falmouth, MA (this ZIP) | — | 8,104 | $77,295 | $844,500 |
02536 | East Falmouth, MA | 3.6 mi | 21,328 | $100,497 | $558,600 |
02556 | North Falmouth, MA | 4.8 mi | 2,868 | $121,810 | $717,800 |
02534 | Cataumet, MA | 6.9 mi | 1,369 | $137,066 | $685,600 |
02649 | Mashpee, MA | 7.7 mi | 15,384 | $95,299 | $562,200 |
02568 | Vineyard Haven, MA | 8.3 mi | 9,412 | $115,417 | $937,100 |
02559 | Pocasset, MA | 8.4 mi | 2,802 | $90,855 | $625,400 |
Other ZIP codes nearby
These serve PO boxes, a single organisation or a post office, so they have no residents to compare.
Find every ZIP code within 10 miles of 02540 →
- 🔢 Type 02540 into a pocket calculator and turn it upside down: OhSZO — not quite a word, sorry.
- 🏠 Its numerical neighbours: 02539 (Edgartown, MA, 14 mi away) and 02541 (Falmouth, MA, 1 mi away).
- 🧭 Farther north than 71% of all ZIP codes, and farther east than 97%.
- 🎯1,463 miles east of the geographic center of the Lower 48, near Lebanon, Kansas.
- ☀Longest day of the year: 15h 11m of daylight. Shortest: 9h 10m.
- 📏 At 11.0 square miles of land, 02540 is bigger than 28% of ZIP codes — room for about 8.4 Central Parks.
- Working out the sun…
- Checking the USGS…
Source: USGS.
Questions about this ZIP code
Where is ZIP code 02540?
02540 is in Falmouth, Massachusetts, in Barnstable County, part of the Barnstable Town, MA metropolitan area. Its published point location is 41.5695, -70.6272.
What county is 02540 in?
02540 lies in Barnstable County.
What area code is 02540?
Falmouth uses area codes 508 and 774, from NANPA's telephone records.
What time zone is 02540 in?
02540 uses America/New_York.
How many people live in 02540?
About 8,104 people live in ZIP code 02540, in 4,161 households, at 736.4 people per square mile. These are American Community Survey 5-year estimates for the ZIP Code Tabulation Area, not a headcount.
What is the median household income in 02540?
$77,295 a year, against $103,960 across Massachusetts.
What ZIP codes are near 02540?
The closest where people live are 02536 (3.6 mi), 02556 (4.8 mi), 02534 (6.9 mi), 02649 (7.7 mi) and 02568 (8.3 mi).
Is 02540 a PO Box ZIP code?
02540 is a standard ZIP code. A normal ZIP code with street delivery.
Download or cite
Cite this page
zipcodes.pro. “02540 ZIP Code: Falmouth, Massachusetts (Barnstable County).” Data release 2026-11-18. Retrieved 2026-12-06. https://zipcodes.pro/zip/02540
Machine-readable version of these facts:
curl https://zipcodes.pro/zip/02540.json Underlying data is public domain or openly licensed — sources, vintages and licences.