City in Cooke County, Texas

Gainesville, Texas

18,528 residents · 2 ZIP Codes

Population
18,528 ▲ 6.7% since 2020 (2025 est.)
Rank in state
181st largest of 1,272 places
Land area
19.3 sq mi · 960 people/sq mi
Time zone
Central Time
ZIP Codes
76240 and 76241
Area code
940
97.20°W97.15°W97.10°W97.05°W33.60°N33.65°N33.70°N762402 miN
Gainesville city limits (outlined) over the ZIP Codes that serve it.

What county is Gainesville in?

Gainesville is in Cooke County, Texas.

What stands out in Gainesville

  • The share of residents born abroad is 10.4%, 49% higher than Cooke County (7%).
  • The poverty rate is 19.1%, 41% higher than Cooke County (13.5%).
  • The median home value is $177,000, 26% lower than Cooke County ($240,400).
  • The median household income is $58,809, 20% lower than Cooke County ($73,932).

ZIP Codes in Gainesville

ZIP CodeCityPopulationMedian incomeHome valueMedian ageShare in city
76240Gainesville29,419$71,502$227,10040.05% of ZIP
76241Gainesville0–––100% of ZIP

People in Gainesville

Median age36.5
Under 1824.4%
65 and older16.6%
Born abroad10.4%
Moved here in the last year13.9%

Age and sex

MaleAgeFemale
1.7%80+2.9%
3.1%70–794.0%
5.5%60–695.6%
6.7%50–596.4%
4.2%40–495.6%
6.4%30–396.0%
6.3%20–297.3%
9.0%10–195.8%
5.4%0–98.1%
Share of all residents in each age group

Race and ethnicity

  • White58.2%
  • Hispanic or Latino31.1%
  • Black6.8%
  • Two or more races2.7%
  • Asian0.9%
  • American Indian / Alaska Native0.3%

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

Households

6,994 households, 2.49 people per household on average, 62% family households, and 30.3% people living alone.

Income in Gainesville

Median household income$58,809±$3,630
Per-capita income$31,046
Poverty rate19.1%
Income inequality (Gini)0.450 = equal, 1 = unequal
19%Under $25k
22%$25k–50k
22%$50k–75k
12%$75k–100k
10%$100k–150k
8%$150k–200k
6%$200k+
Households by annual income

Housing in Gainesville

Median home value$177,000
Median gross rent$1,038/mo
Housing units7,485
Median year built1971
Vacant6.6%

Owners and renters

  • Owner-occupied 57.6%
  • Renter-occupied 42.4%

Types of homes

  • Single-family homes 72.5%
  • 2–9 unit buildings 14.7%
  • 10+ unit buildings 10.5%
  • Mobile homes, RVs 2.4%

Work, commute and education

Mean commute22 minone way
Unemployment rate8.1%
Labor force participation64.9%age 16+
Broadband at home85.1%households

How workers get to work

  • Drove alone79.1%
  • Carpooled10.7%
  • Public transit0%
  • Walked0.8%
  • Bicycle0%
  • Worked from home5.6%

Education, adults 25+

  • High school or higher84.2%
  • Bachelor's or higher19.4%
  • Graduate or professional degree6%

How Gainesville compares

GainesvilleCooke CountyTexasUnited States
Median household income$58,809$73,932$78,476$80,734
Per-capita income$31,046$38,914$40,752$44,673
Median home value$177,000$240,400$283,800$332,700
Median gross rent$1,038/mo$1,047/mo$1,403/mo$1,413/mo
Homeownership rate57.6%71.8%62.6%65.2%
Median age36.540.535.638.9
Bachelor's degree or higher19.4%23.7%33.8%35.7%
Poverty rate19.1%13.5%13.8%12.5%
Unemployment rate8.1%4.5%5.3%5.2%
Mean commute22 min26 min27 min26 min
Worked from home5.6%7.2%14.4%15.1%
Broadband at home85.1%86%91.4%91%
Foreign-born residents10.4%7%17.6%14.1%

Places near Gainesville

Area codes in Gainesville

Gainesville phone numbers use area code 940. See every phone prefix, carrier and the local time on Gainesville area codes at AreaCodeExplorer.

Gainesville, TX: questions and answers

What county is Gainesville, TX in?
Gainesville is in Cooke County, Texas.
What ZIP Codes are in Gainesville?
Gainesville is served by 2 residential ZIP Codes: 76240 and 76241.
What is the population of Gainesville?
The Census Bureau estimates 18,528 residents in Gainesville in 2025.
What time zone is Gainesville in?
Gainesville is in the Central Time zone (America/Chicago).
What is the area code for Gainesville?
Gainesville uses area code 940.

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.