City in Bastrop County and Travis County, Texas

Elgin, Texas

13,327 residents · 1 ZIP Code

Population
13,327 ▲ 37.4% since 2020 (2025 est.)
Rank in state
231st largest of 1,272 places
Land area
7.2 sq mi · 1,855 people/sq mi
Time zone
Central Time
ZIP Codes
78621
Area code
512 and 737
97.44°W97.42°W97.40°W97.38°W97.36°W30.32°N30.34°N30.36°N30.38°N786211 miN
Elgin city limits (outlined) over the ZIP Codes that serve it.

What county is Elgin in?

Elgin is mainly in Bastrop County, home to about 86% of its residents. Parts of the city also lie in Travis County.

What stands out in Elgin

  • The poverty rate is 5.3%, 48% lower than Bastrop County (10.2%).
  • The average commute is 32 minutes, 9% lower than Bastrop County (35 minutes).
  • The share of adults with a bachelor's degree is 23.1%, 8% lower than Bastrop County (25%).
  • The average household size is 2.61 people, 7% lower than Bastrop County (2.81 people).

ZIP Codes in Elgin

ZIP CodeCityPopulationMedian incomeHome valueMedian ageShare in city
78621Elgin30,411$98,534$320,80036.24% of ZIP

People in Elgin

Median age36.6
Under 1825.6%
65 and older12.8%
Born abroad14.2%
Moved here in the last year9.2%

Age and sex

MaleAgeFemale
0.2%80+2.5%
2.8%70–793.2%
5.7%60–695.1%
5.2%50–598.0%
6.9%40–495.7%
7.0%30–396.7%
6.2%20–297.5%
5.0%10–196.8%
8.7%0–96.7%
Share of all residents in each age group

Race and ethnicity

  • Hispanic or Latino46.9%
  • White33%
  • Black16.5%
  • Two or more races2.2%
  • Other1%
  • Asian0.3%

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

Households

4,375 households, 2.61 people per household on average, 65.7% family households, and 26.4% people living alone.

Income in Elgin

Median household income$91,114±$13,867
Per-capita income$40,631
Poverty rate5.3%
Income inequality (Gini)0.390 = equal, 1 = unequal
9%Under $25k
15%$25k–50k
15%$50k–75k
20%$75k–100k
19%$100k–150k
10%$150k–200k
12%$200k+
Households by annual income

Housing in Elgin

Median home value$326,400
Median gross rent$1,440/mo
Housing units4,493
Median year built1990
Vacant2.6%

Owners and renters

  • Owner-occupied 71.4%
  • Renter-occupied 28.6%

Types of homes

  • Single-family homes 87.8%
  • 2–9 unit buildings 8.9%
  • 10+ unit buildings 2.6%
  • Mobile homes, RVs 0.6%

Work, commute and education

Mean commute32 minone way
Unemployment rate4.2%
Labor force participation73.1%age 16+
Broadband at home91.1%households

How workers get to work

  • Drove alone66.5%
  • Carpooled11.9%
  • Public transit0%
  • Walked0.4%
  • Bicycle0%
  • Worked from home21%

Education, adults 25+

  • High school or higher82.2%
  • Bachelor's or higher23.1%
  • Graduate or professional degree10%

How Elgin compares

ElginBastrop CountyTexasUnited States
Median household income$91,114$86,226$78,476$80,734
Per-capita income$40,631$36,637$40,752$44,673
Median home value$326,400$314,800$283,800$332,700
Median gross rent$1,440/mo$1,410/mo$1,403/mo$1,413/mo
Homeownership rate71.4%76.5%62.6%65.2%
Median age36.637.035.638.9
Bachelor's degree or higher23.1%25%33.8%35.7%
Poverty rate5.3%10.2%13.8%12.5%
Unemployment rate4.2%4.3%5.3%5.2%
Mean commute32 min35 min27 min26 min
Worked from home21%15.7%14.4%15.1%
Broadband at home91.1%90.5%91.4%91%
Foreign-born residents14.2%13.2%17.6%14.1%

Places near Elgin

Area codes in Elgin

Elgin phone numbers use area codes 512 and 737. See every phone prefix, carrier and the local time on Elgin area codes at AreaCodeExplorer.

Elgin, TX: questions and answers

What county is Elgin, TX in?
Elgin is mainly in Bastrop County, home to about 86% of its residents. Parts of the city also lie in Travis County.
What ZIP Codes are in Elgin?
Elgin is served by 1 residential ZIP Code: 78621.
What is the population of Elgin?
The Census Bureau estimates 13,327 residents in Elgin in 2025.
What time zone is Elgin in?
Elgin is in the Central Time zone (America/Chicago).
What is the area code for Elgin?
Elgin uses area codes 512 and 737.

Sources: U.S. Census Bureau, American Community Survey 2020–2024 5-year estimates; 2025 Population Estimates; 2024 Gazetteer and cartographic boundary files. How we build these pages.