Skip to content
ZipNumbers

Somerset County · Maryland

ZIP code 21871

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

ZCTA residents

Median income
$52,064

Household, past 12 months

Median home
$201,500

Owner-occupied value

Sales tax
6%

Maryland state rate

Quick answer

ZIP 21871 sits in Somerset County, Maryland and is home to 1,635 people. Median household income is $52,064, the median home is worth $201,500 and median gross rent is $950. 89.2% of households own their home, and purchases are taxed at 6% (Maryland state rate).

County
Somerset County

FIPS 24039

State
Maryland (MD)

477 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 21871

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

Population
1,635ZIP 21871 residents
Median household income
$52,064Past 12 months, inflation adjusted
Median home value
$201,500Owner-occupied units
Median gross rent
$950Rent plus utilities, monthly
Median age
58.2 yrsAll residents
Homeownership rate
89.2%Owner-occupied households

Sales tax in 21871

What a purchase inside this ZIP costs at checkout.

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

Maryland levies 6% 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
22%Median rent ÷ median income
Price-to-income
3.9×Home value ÷ household income
Est. mortgage
$1,046/mo20% down, 30-yr at 6.75%
Poverty rate
10%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 21871 compares

ZIP 21871 against the median ZIP in Somerset County and across Maryland.

MeasureZIP 21871County medianState medianvs state
Median household income$52,064$53,139$104,338-50%
Median home value$201,500$159,600$401,000-50%
Median gross rent$950$973$1,600-41%
Population1,6351,6354,995-67%

Medians are computed across the 9 ZIP areas in Somerset County and the 477 ZIP areas in Maryland.

Statewide rank

Where this ZIP places among all 477 Maryland ZIP areas.

Income

richer than 4% of 428 state ZIPs

#409
Home value

above 10% of 425 state ZIPs

#383
Population

larger than 32% of 477 state ZIPs

#322

Comparable ZIP codes

Maryland ZIP areas with almost the same household income.

ZIPCountyIncomeHome valueRent
21853Somerset County$51,710$167,000$973
21539Garrett County$51,667$108,700$822
21821Somerset County$51,500$151,700$1,356
21822Wicomico County$51,500$220,100$877
21562Garrett County$53,056$113,200$461
21817Somerset County$53,139$159,600$729

Nearby ZIP codes

Other ZIP codes filed under Somerset County.

ZIP 21871 questions

Common questions about this ZIP code.

Where is ZIP code 21871?
ZIP 21871 lies mostly in Somerset County, Maryland. 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 21871?
Maryland charges 6% statewide.
Is 21871 expensive to live in?
Median rent runs $950 a month, about 22% of median household income, and the median home is worth $201,500-50% against the typical Maryland 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 21871, 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.