Montgomery County · Maryland

ZIP Code 20838

Barnesville, MD · 306 residents

City (USPS)
Barnesville
Time zone
Eastern Time
Coordinates
39.2241° N, 77.3703° W
Land area
0.9 sq mi · 327 people/sq mi
77.40°W77.38°W77.36°W77.34°W39.22°N39.24°NZIP 20839ZIP 20841ZIP 20842ZIP 20871ZIP 20874ZIP 21710208380.5 miN
ZIP Code 20838 (highlighted) with bordering ZIP Codes and county lines. Select a neighbor to open it.

What county is 20838 in?

ZIP Code 20838 is in Montgomery County, Maryland.

The Postal Service's default place name for 20838 is Barnesville. By Census boundaries it covers Barnesville (town, 52% of the land). The remaining 48% is unincorporated.

Population306±158
Median household income$250,000+
Median home value$775,700
Median age34.4
Households91

What stands out in ZIP 20838

  • The share of residents born abroad is 1.3%, 96% lower than Montgomery County (33.6%).
  • The poverty rate is 2.3%, 69% lower than Montgomery County (7.5%).
  • The median household income is $250,000+, 89% higher than Montgomery County ($132,450).
  • The homeownership rate is 97.8%, 50% higher than Montgomery County (65.3%).

People in ZIP 20838

Median age34.4
Under 1833.3%
65 and older11.8%
Born abroad1.3%
Moved here in the last year9.8%

Age and sex

MaleAgeFemale
1.6%80+0.7%
3.6%70–793.3%
5.6%60–693.6%
4.9%50–596.2%
7.2%40–4911.1%
3.6%30–392.0%
7.8%20–295.6%
11.1%10–199.2%
2.3%0–910.8%
Share of all residents in each age group

Race and ethnicity

  • White87.6%
  • Hispanic or Latino8.5%
  • Two or more races2.9%
  • Black0.7%
  • Asian0.3%

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

Households

91 households, 3.36 people per household on average, 76.9% family households, and 14.3% people living alone.

Income in ZIP 20838

Median household income$250,000+
Per-capita income$80,514
Poverty rate2.3%
Income inequality (Gini)0.410 = equal, 1 = unequal

Median household income ranks 2nd of 400 ZIP Codes in Maryland. Richest ZIP Codes in Maryland

2%Under $25k
4%$25k–50k
9%$50k–75k
6%$75k–100k
8%$100k–150k
2%$150k–200k
69%$200k+
Households by annual income

Housing in ZIP 20838

Median home value$775,700
Housing units97
Median year built1968
Vacant6.2%

Owners and renters

  • Owner-occupied 97.8%
  • Renter-occupied 2.2%

Types of homes

  • Single-family homes 100%

Work, commute and education

Mean commute48 minone way
Unemployment rate0.6%
Labor force participation74%age 16+
Broadband at home92.3%households

How workers get to work

  • Drove alone26.7%
  • Carpooled5.5%
  • Public transit4.8%
  • Walked9.7%
  • Bicycle0%
  • Worked from home53.3%

Education, adults 25+

  • High school or higher95.9%
  • Bachelor's or higher77.5%
  • Graduate or professional degree37.3%

How ZIP 20838 compares

ZIP 20838Montgomery CountyMarylandUnited States
Median household income$250,000+$132,450$103,678$80,734
Per-capita income$80,514$67,571$52,979$44,673
Median home value$775,700$640,300$419,900$332,700
Homeownership rate97.8%65.3%67.6%65.2%
Median age34.440.239.438.9
Bachelor's degree or higher77.5%60.6%43.4%35.7%
Poverty rate2.3%7.5%9.4%12.5%
Unemployment rate0.6%4.9%4.9%5.2%
Mean commute48 min32 min31 min26 min
Worked from home53.3%28.3%19.3%15.1%
Broadband at home92.3%95.7%92.4%91%
Foreign-born residents1.3%33.6%16.6%14.1%

ZIP Codes bordering 20838

ZIP CodeCityPopulationMedian incomeHome valueMedian ageDirection
20842Dickerson2,369$204,013$745,80048.5SW · 2.9 mi
20841Boyds9,969$184,688$782,50046.8SE · 3.9 mi

Cities and communities in 20838

  • Barnesville (52%)

ZIP Code 20838: questions and answers

What county is ZIP Code 20838 in?
ZIP Code 20838 is in Montgomery County, Maryland.
What city is ZIP Code 20838 in?
The Postal Service's default place name for 20838 is Barnesville. By Census boundaries it covers Barnesville (town, 52% of the land). The remaining 48% is unincorporated.
What is the population of ZIP Code 20838?
About 306 people live in ZIP Code 20838, according to the Census Bureau's American Community Survey (2020–2024).
What time zone is 20838 in?
ZIP Code 20838 is in the Eastern Time zone (America/New_York).
What is the median household income in 20838?
The median household income in ZIP Code 20838 is $250,000+ (2020–2024 ACS), compared with $132,450 in Montgomery County and $103,678 in Maryland.
Which ZIP Codes border 20838?
20842 (Dickerson) and 20841 (Boyds).

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.