Gainesville ZIP Codes — Cooke County, TX

There are 2 unique ZIP codes in Gainesville, Texas. Area code: 940.
2
ZIP codes
369.74
sq mi land
3.03
sq mi water
940
area code
Gainesville, TX ZIP code map

About Gainesville, TX

Gainesville is a charming city located in the heart of Texas. Known for its friendly atmosphere and community spirit, it serves as the county seat of Cooke County. Visitors and residents alike appreciate its historic sites and vibrant local culture.

Location & geography

Gainesville is situated in the north-central part of Texas, approximately 25 miles from the larger city of Denton and about 70 miles north of Dallas. The city covers a total land area of 369.42 square miles, with an additional 3.03 square miles of water. This expansive area features a mix of rolling landscapes and rural terrain, providing a scenic backdrop for outdoor activities.

Community & economy

The character of Gainesville is defined by its small-town charm and a strong sense of community. The local economy is supported by various industries including agriculture, manufacturing, and retail, offering residents a range of employment opportunities. Daily life in Gainesville is enriched by local events, parks, and family-owned businesses that contribute to the city’s welcoming ambiance.

Transportation

Gainesville is accessible via several major highways, including U.S. Highway 82 and U.S. Highway 377, which connect it to neighboring cities and regions. The nearest named airport is the Gainesville Municipal Airport, providing general aviation services to the area. Public transportation options are limited, making personal vehicles the primary mode of transit for residents.

History

Gainesville was founded in the late 1800s and quickly developed as a hub for agriculture and commerce in Cooke County. Throughout its history, the city has played a significant role in the regional economy, particularly during the cotton boom. Notable events in its past include the establishment of the Cooke County Courthouse, a prominent landmark that showcases the city's historical architecture.

Did you know?

One surprising fact about Gainesville is that it was once home to a vibrant music scene, which included notable performances by legendary artists. Additionally, the city's annual events, such as the North Texas State Fair, draw visitors from all over to celebrate local culture and traditions.

ZIP codes for Gainesville, TX (2)
ZIP code City County Map
76240 Gainesville Cooke View map
76241 Gainesville Cooke View map

Demographics & statistics

29,253
Population
38.4
Median age
$58,384
Median household income
$34,602
Per capita income
$183,300
Median home value
$1,069
Median monthly rent
62.9%
Home ownership
16.7%
Poverty rate
4.2%
Unemployment
8,141
Housing units
22.7%
Bachelor's or higher

Age distribution

Male Female
997
Under 5
1,053
986
5–9
1,042
960
10–14
1,013
1,013
15–19
1,069
827
20–24
873
1,747
25–34
1,844
1,795
35–44
1,896
1,565
45–54
1,653
840
55–59
888
990
60–64
1,045
1,446
65–74
1,526
709
75–84
749
354
85+
373
← Male
Female →

Age summary

GroupCount%
Under 187,22724.7%
18 and over22,02675.3%
65 and over5,15717.6%
Median age38.4 years

Race & ethnicity

White 72.1%
Hispanic or Latino 10%
Two or more races 9.9%
Black or African American 4.1%
Other race 2.2%
Asian 1%
American Indian / Alaska Native 0.7%
GroupCount%
White23,43772.1%
Hispanic or Latino3,23610%
Two or more races3,2059.9%
Black or African American1,3274.1%
Other race7262.2%
Asian3171%
American Indian / Alaska Native2330.7%

Household income

Under $10k 3.7%
$10k–$15k 4.1%
$15k–$25k 9.5%
$25k–$35k 7.7%
$35k–$50k 15.5%
$50k–$75k 18.8%
$75k–$100k 12.0%
$100k–$150k 14.7%
$150k–$200k 6.5%
$200k+ 7.5%
Range% of households
Under $10k3.7%
$10k–$15k4.1%
$15k–$25k9.5%
$25k–$35k7.7%
$35k–$50k15.5%
$50k–$75k18.8%
$75k–$100k12.0%
$100k–$150k14.7%
$150k–$200k6.5%
$200k+7.5%
Median income$58,384

Housing

Home values

Under $50k 12.0%
$50k–$100k 17.6%
$100k–$150k 11.3%
$150k–$200k 13.7%
$200k–$300k 18.7%
$300k–$500k 16.4%
$500k–$1M 7.7%
$1M+ 2.6%

Housing overview

MetricValue
Median home value$183,300
Median rent / month$1,069
Owner occupied62.9%
Renter occupied37.1%
Vacant7.8%
Single-family detached76.9%
Large apartment buildings3.3%
Mobile homes7.7%
Median rooms5.4
Avg household size (owned)2.60

Year built

Era%
2020 or later0.4%
2010–201911.5%
2000–200912.5%
1990–199910.6%
1980–198912.0%
1970–197917.7%
1960–196910.3%
1950–195912.2%
1940–19496.6%
1939 or earlier6.2%

Bedrooms

Size% of units
No bedroom (studio)2.0%
1 bedroom9.0%
2 bedrooms23.2%
3 bedrooms52.6%
4 bedrooms10.7%
5+ bedrooms2.5%

Vehicles per household

Vehicles% of households
No vehicle5.8%
1 vehicle30.8%
2 vehicles41.2%
3 or more22.2%

Heating fuel

Fuel type%
Utility gas27.5%
Electricity63.5%
Propane / LP gas7.2%
Wood0.5%
Solar0.4%
No fuel used0.5%

Households & families

Household typeCount%
Married-couple family5,94552.2%
Cohabiting couple8187.2%
Male householder, no spouse2,09718.4%
Female householder, no spouse2,53722.3%
Households with children under 184,22637.1%
Households with seniors (65+)3,47430.5%
Average household size2.51

Marital status

StatusMaleFemale
Never married31.9%22.8%
Married54.3%54.6%
Separated1.3%3.0%
Widowed4.1%10.3%
Divorced8.3%9.3%

Education

Less than 9th grade 6.2%
Some HS, no diploma 6.3%
HS graduate 30.4%
Some college, no degree 25.9%
Associate's degree 8.4%
Bachelor's degree 14.9%
Graduate / professional 7.8%
Metric%
HS diploma or higher87.5%
Bachelor's or higher22.7%

School enrollment (ages 3–17)

TypeCount%
Nursery / preschool1923.0%
Kindergarten4146.4%
Elementary school3,14148.8%
High school1,70026.4%
College / grad school98315.3%

Employment

Industry of employment

Education & healthcare 22.1%
Arts, food & hospitality 14.8%
Manufacturing 12.0%
Retail trade 10.1%
Construction 9.6%
Agriculture & mining 6.2%
Other services 5.6%
Transportation & utilities 4.7%
Professional & management 4.4%
Finance & real estate 3.8%
Wholesale trade 3.0%
Public administration 2.8%
Information 1.0%

Occupation

Category%
Management, business & arts29.3%
Service17.3%
Sales & office19.2%
Natural resources & construction14.4%
Production & transportation19.9%

Employment type

Type%
Private sector80.3%
Government14.1%
Self-employed5.4%
Unpaid family workers0.2%

Commute

Method%
Drive alone77.0%
Carpool11.8%
Public transit0.4%
Walk1.7%
Other means2.6%
Avg commute (minutes)22.6

Poverty

All people 16.7%
Under 18 years 28.6%
18 and over 12.8%
Married-couple families 7.5%
Female-led households 26.6%

Income support

Source% of households
Social Security32.8%
Retirement income22.4%
Supplemental Security2.4%
Cash public assistance2.3%
Food stamps / SNAP12.9%

Health indicators

Condition%
High blood pressure37.0%
High cholesterol36.9%
Heart disease7.8%
Stroke3.7%
Asthma9.6%
Arthritis26.4%
Kidney disease3.4%
Pulmonary disease8.6%
Cancer7.1%
Behavior / access%
Binge drinking17.6%
No physical activity27.4%
Less than 7 hrs sleep33.5%
Fair or poor health19.3%
Poor mental health16.2%
Poor physical health12.9%
No health insurance26.6%
Visited doctor (checkup)71.7%
Visited dentist54.6%
Cholesterol screening88.0%
Teeth loss16.7%

Veterans & disability

VeteransCount%
Civilian veterans1,5687.1%
Disability%
Any disability13.4%
Under 184.2%
18–64 years11.5%
65 and over33.0%

Health insurance coverage

Type%
Private insurance62.7%
Public insurance34.4%
Uninsured under 1914.4%

Language & origin

Language spoken at home (age 5+)

LanguageCount%
English only27,20393.0%
Spanish2,3018.5%
Other Indo-European2,0737.6%
Asian & Pacific Islander1430.5%
Other languages850.3%

Place of birth & citizenship

OriginCount%
Native born (US)26,63691.1%
Born in same state26,14189.4%
Born in different state18,72364.0%
Foreign born4951.7%
Naturalized citizen2,6178.9%
Not a US citizen56921.7%

Ancestry

AncestryCount%
French2,5648.8%
Italian2,0326.9%
Arab1,5135.2%
English5051.7%
AncestryCount%
Polish1390.5%
Dutch590.2%
German310.1%
Irish100%

Technology access

Metric% of households
Computer access39.0%
Internet access89.3%

Source: U.S. Census Bureau, American Community Survey 2025 estimates.

Frequently asked questions
What ZIP codes does Gainesville, TX have?
Gainesville, TX has one ZIP code: 76240. Each ZIP code serves a distinct delivery area within the city and surrounding region.
Need the complete Texas ZIP code database? Download all TX ZIP codes — Excel, CSV, or Access. Includes lat/lng, county FIPS & timezone.
Download database →