Skip to content
ZipNumbers
Grid of numbered green mailboxes in an apartment lobby, illustrating ZIP code listings

Middlesex County · Massachusetts

ZIP code 02138

Population, income, housing costs and the sales tax rate charged on purchases inside ZIP 02138 — Census 2019-2023 ACS 5-year, no modelled estimates.
Population
38,077

ZCTA residents

Median income
$122,040

Household, past 12 months

Median home
$1,088,700

Owner-occupied value

Sales tax
6.25%

Massachusetts state rate

Quick answer

ZIP 02138 sits in Middlesex County, Massachusetts and is home to 38,077 people. Median household income is $122,040, the median home is worth $1,088,700 and median gross rent is $2,799. 40.9% of households own their home, and purchases are taxed at 6.25% (Massachusetts state rate).

County
Middlesex County

FIPS 25017

State
Massachusetts (MA)

539 ZIPs covered

Area codes
Not published

No NANPA match for this ZIP

Metro area
Outside covered metros

Rate jurisdiction used for tax

The numbers for 02138

American Community Survey 2019-2023 ACS 5-year estimates for this ZCTA.

Population
38,077ZIP 02138 residents
Median household income
$122,040Past 12 months, inflation adjusted
Median home value
$1,088,700Owner-occupied units
Median gross rent
$2,799Rent plus utilities, monthly
Median age
28.7 yrsAll residents
Homeownership rate
40.9%Owner-occupied households

ZIP 02138 in context

How this area compares with national benchmarks.

ZIP 02138 is a small city in Middlesex County, Massachusetts, with 38,077 residents counted in the Census American Community Survey 2019-2023 ACS 5-year estimates, which places it #33 of 539 ranked by population — larger than 94% of them. The median age here is 28.7 years against 39.1 nationally, a distinctly younger profile, typical of places with students, military posts or a fast-growing family population. Places under 65,000 residents only appear in the five-year release, never the one-year file, so these values pool sixty months of responses and lag the current year by design.

Households in ZIP 02138 earn a median of $122,040 a year, 55.4% above the national figure of $78,538. Household income here is measured before tax and pooled across everyone at the address, which is why it reads higher than typical individual earnings in the same area. Poverty reaches 12.6% of residents here, above the 12.4% national rate.

The typical owner-occupied home in ZIP 02138 is valued at $1,088,700, 258.8% above the national figure, while median gross rent runs $2,799 a month, 99.1% above the national figure, or roughly $33,588 across a full year. A household on the local median income would put about 27.5% of gross pay toward that rent against the federal 30% cost-burden threshold, so renting here is within the standard affordability guideline. The home-price-to-income ratio works out to 8.9×, against roughly 3.9× nationally, so buying is out of reach on local earnings alone and the ownership market leans on outside income, equity or dual high earners. 40.9% of occupied homes are owner-occupied versus 65% nationally, a renter-majority market, so rent figures matter more here than the home-value line. Gross rent folds in the utilities a tenant pays separately, so it is closer to the real monthly outlay than a headline rent figure.

Home values sit at 8.9× median household income, far past the 3.9× national mark, so ownership costs here are set by something other than local wages — second homes, retirees with equity, or commuters earning elsewhere. A median age of 28.7 means a large student or early-career population; income medians in places like this understate household resources, since many residents are supported from outside the address.

All values below were released by the Census for this exact geography, with no gap-filling on our side. Small-area estimates still carry wider margins of error than state or national figures, so check the linked ACS tables before relying on them for lending, appraisal or legal work.

Reading ZIP 02138 in context

How 02138 sits inside Middlesex County and Massachusetts.

ZIP 02138 is tabulated inside Middlesex County, Massachusetts, one of 81 ZIP areas the Census publishes for that county and 539 across Massachusetts. This is a dense urban ZIP, where a single postal boundary can hold more residents than an entire rural county. County assignment on this page follows the largest share of the ZIP's land area, which matters where a delivery route crosses a county line: mail addressed to 02138 can be handled by a post office in a neighbouring county even though the tabulation area is filed here.

Against its own county, 02138 reports a median household income of $122,040, 11% below the $136,382 county median, and 14% above the $107,198 typical MA ZIP. Owner-occupied homes are valued at a median of $1,088,700, 56% above the county figure and 126% above the statewide ZIP median. Rent is reported gross — the contract amount plus tenant-paid utilities — at $2,799 a month, which is why it reads higher than the advertised rent on a listing for the same unit.

Massachusetts charges 6.25% statewide, and no local sales tax is layered on top, so the state rate is the full amount collected in 02138.

Everything above comes from the Census Bureau American Community Survey 2019-2023 ACS 5-year estimates for this ZIP Code Tabulation Area, with sales tax rates traced to the state revenue agency. Five-year estimates pool sixty months of responses, so they are stable enough to compare 02138 with its neighbours but always trail the current year, and any value the Census suppressed for sample size is shown as unpublished rather than filled in with a model.

Sales tax in 02138

What a purchase inside this ZIP costs at checkout.

Rate applied
6.25%State base rate only
Tax on $100
$6Rounded to the dollar
Tax on $1,000
$63Before any exemptions

Massachusetts levies 6.25% statewide with no local add-ons. Check the county page for the local component before you quote a price.

Affordability in this ZIP

Derived from the Census medians above — indicative, not an offer.

Rent burden
28%Median rent ÷ median income
Price-to-income
8.9×Home value ÷ household income
Est. mortgage
$5,649/mo20% down, 30-yr at 6.75%
Poverty rate
12.6%Residents below poverty line

A rent burden above 30% is the federal threshold for cost-burdened households, and a price-to-income multiple above 4× is generally considered a stretched housing market. The mortgage figure is principal and interest only — taxes, insurance and HOA dues are extra.

How 02138 compares

ZIP 02138 against the median ZIP in Middlesex County and across Massachusetts.

MeasureZIP 02138County medianState medianvs state
Median household income$122,040$136,382$107,198+14%
Median home value$1,088,700$699,300$481,450+126%
Median gross rent$2,799$2,082$1,591+76%
Population38,07718,1538,755+335%

Medians are computed across the 81 ZIP areas in Middlesex County and the 539 ZIP areas in Massachusetts.

Statewide rank

Where this ZIP places among all 539 Massachusetts ZIP areas.

Income

richer than 66% of 507 state ZIPs

#174
Home value

above 93% of 512 state ZIPs

#34
Population

larger than 94% of 539 state ZIPs

#33

Comparable ZIP codes

Massachusetts ZIP areas with almost the same household income.

ZIPCountyIncomeHome valueRent
01464Middlesex County$121,875$412,700$1,189
01503Worcester County$122,411$566,800$1,432
01569Worcester County$122,458$417,900$1,480
02632Barnstable County$121,295$542,000$2,191
02019Norfolk County$120,966$425,900$1,788
02472Middlesex County$123,383$737,600$2,356

Nearby ZIP codes

Other ZIP codes filed under Middlesex County.

Adjacent ZIP Codes

Other ZIP codes in Middlesex County, Massachusetts.

ZIP 02138 questions

Common questions about this ZIP code.

Where is ZIP code 02138?
ZIP 02138 lies mostly in Middlesex County, Massachusetts. County assignment follows the largest share of land area, so a ZIP straddling a county line is filed under its dominant county.
What sales tax do I pay in 02138?
Massachusetts charges 6.25% statewide.
Is 02138 expensive to live in?
Median rent runs $2,799 a month, about 28% of median household income, and the median home is worth $1,088,700 — +126% against the typical Massachusetts ZIP.
Is a ZCTA the same as a postal ZIP code?
Not exactly. The Census builds ZIP Code Tabulation Areas from the ZIP codes of addresses inside each census block, so a ZCTA can differ slightly from the USPS delivery route of the same number, and PO-box-only ZIPs have no ZCTA at all.

Related pages for this area.

Sources & transparency

Every figure on this page is a published estimate for ZIP Code Tabulation Area 02138, except the affordability ratios and mortgage estimate, which we derive from those medians and label as estimates.

Last reviewed December 2024. Figures are published for reference and can change; verify with the source agency before filing or contracting. How we build and check this data.