US Census Data

ZIP 77831 vs ZIP 77840

A side-by-side comparison of ZIP Code 77831 and ZIP Code 77840: population, income, housing, and more.

ZIP 77831 and ZIP 77840 are ZIP Code areas in Texas. This page compares them across population, income, housing, education, commuting, and how each has changed since 2019.

ZIP 77840 has the higher population (55,186 vs 3,163 in ZIP 77831). ZIP 77831 has the higher median household income ($72,115 vs $31,278 in ZIP 77840). ZIP 77840 has the higher median home value ($241,000 vs $182,100 in ZIP 77831).

Population, income & housing

ZIP 77831ZIP 77840
Population3,16355,186
Median age45.4 yrs22.1 yrs
Median household income$72,115$31,278
Median home value$182,100$241,000
Median gross rent$850$1,085
Housing units1,79125,423
Homeownership rate95.0%11.1%
Bachelor's degree or higher24.7%45.7%
Unemployment rate1.4%6.2%

Trends (ACS 5-year, 2019–2023)

ZIP 77831ZIP 77840
Population3,179 → 3,163 (-0.5%)59,371 → 55,186 (-7.0%)
Median household income$50,090 → $72,115 (+44.0%)$26,075 → $31,278 (+20.0%)
Median home value$127,400 → $182,100 (+42.9%)$196,400 → $241,000 (+22.7%)
Median gross rent$809 → $850 (+5.1%)$920 → $1,085 (+17.9%)

ZIP 77831

Population
3,1793,163
Median household income
$50,090$72,115
Median home value
$127,400$182,100
Median gross rent
$809$850

ZIP 77840

Population
59,37155,186
Median household income
$26,075$31,278
Median home value
$196,400$241,000
Median gross rent
$920$1,085

Age & race/ethnicity

Age distribution (share)

ZIP 77831ZIP 77840
Under 54.8%4.0%
5 to 1718.3%7.6%
18 to 244.7%55.5%
25 to 346.7%14.2%
35 to 4415.1%7.9%
45 to 5411.1%3.8%
55 to 6418.7%3.5%
65 to 7414.4%2.1%
75 and over6.1%1.4%

Race & ethnicity (share)

ZIP 77831ZIP 77840
White (non-Hispanic)74.7%55.2%
Black or African American7.9%11.2%
American Indian & Alaska Native0.3%0.1%
Asian0.0%9.5%
Native Hawaiian & Pacific Islander0.0%0.1%
Some other race0.0%0.3%
Two or more races1.0%3.5%
Hispanic or Latino16.1%20.1%

Educational attainment (age 25+)

Share of adults 25+

ZIP 77831ZIP 77840
No high school diploma5.2%9.2%
High school graduate40.3%18.3%
Some college or associate's29.8%26.8%
Bachelor's degree14.0%26.1%
Graduate or professional degree10.7%19.6%

Commute to work

How workers get to work (share)

ZIP 77831ZIP 77840
Drove alone80.8%64.8%
Carpooled9.0%9.7%
Public transit0.0%4.0%
Walked0.0%5.7%
Bicycle0.0%3.4%
Worked from home10.2%11.1%
Other means0.0%1.4%

Housing

Units in structure (share)

ZIP 77831ZIP 77840
1-unit, detached72.5%17.6%
1-unit, attached3.2%7.5%
2 to 4 units0.6%22.9%
5 to 19 units0.0%27.6%
20 or more units0.0%22.9%
Mobile home & other23.7%1.5%

Poverty & households

ZIP 77831ZIP 77840
Poverty rate10.9%46.0%
Average household size2.392.29
Mean commute (minutes)4515
Median year structure built19931990

Full profiles

2
ZIP 77831 vs ZIP 77840: Compare Population & Demographics | US Census Data