Texas · Census place 4827984

Gainesville, Texas

Gainesville is a city in Cooke County, Texas with an estimated 18,295 residents on July 1, 2024. It is the 164th largest of 804 incorporated places of 1,000+ people in the state.

Population 2024
18,295
#164 of 804 in Texas
Change since 2020
+5.1%
+886 people
Land area
19.3 sq mi
+ 0.03 sq mi water
Density
948 / sq mi
State median 1,561
Orange pin: Gainesville. Shaded: its county. Dark pin: Austin.

Gainesville population, 2020 to 2024

Gainesville added 886 residents from July 2020 to July 2024, a change of +5.1%. In the latest year it moved by +171. Among 384 Texas places of 5,000 or more, that growth ranks 183rd; the median place changed by +4.5%. The median place of 5,000+ in Texas has 15,345 people, so Gainesville is 1.2 times that size.

17.4k202017.7k202117.9k202218.1k202318.3k2024
July 1 estimates. The April 2020 estimates base was 17,384. The axis starts above zero so yearly changes are visible.

Gainesville covers 19.30 square miles of land and 0.03 of water, for 948 people per square mile of land. The median Texas place of 5,000+ has 1,561, so Gainesville is less dense than the typical town.

What county Gainesville is in

All of Gainesville's residents live in Cooke County, which had 44,258 residents in 2024. Gainesville holds 41.3% of the county's population. The shaded shape is on the map above; dots mark the eight nearest places.

ZIP codes in Gainesville

2 ZIP Code Tabulation Areas (ZCTAs) overlap Gainesville by at least 10% of the ZCTA's or the city's land: 76240, 76241. ZCTAs are Census approximations of USPS ZIP code delivery areas. The list comes from the 2020 ZCTA to place relationship file, so a city that annexed land after 2020 may reach into ZIP codes not listed here.

Where Gainesville is

The Census internal point of Gainesville is at 33.638600, -97.148400. Austin, the capital, is 235.0 miles S in a straight line. The nearest larger place is Denton, TX (165,998 people), 29.1 miles away.

Internal point

Decimal
33.638600, -97.148400
DMS
33°38'18.96"N 97°08'54.24"W
UTM
14N 671723.6E 3723623.2N
Geohash
9vfzm7dxn
Plus code
8654JVQ2+CJ

Daylight in Gainesville

At 33.64° N, Gainesville gets about 14 h 23 min of daylight around the June solstice and 9 h 55 min around the December solstice, a swing of 4 h 28 min. Figures are sunrise to sunset from the SunCalc model for June 21 and December 21, 2026.

Places near Gainesville

The eight nearest incorporated places of 1,000+ in Texas, measured between internal points. The closest is Lindsay, 4.1 miles away, with 1,264 people.

Questions people ask

What is the population of Gainesville, TX?

18,295 on July 1, 2024, in the Census Vintage 2024 estimates. That is up 886 (5.1%) from 17,409 in July 2020.

What county is Gainesville in?

Cooke County. All of its residents live in that county.

What ZIP codes cover Gainesville?

2 ZIP Code Tabulation Areas overlap it by at least 10% of either area: 76240, 76241.

How far is Gainesville from Austin?

235.0 miles (378.3 km) in a straight line, heading S from Gainesville.

What is the nearest larger city to Gainesville?

Denton, TX, with 165,998 residents, 29.1 miles away between internal points.

Sources and data as of

Data as of: Census Vintage 2024 subcounty estimates (July 1, 2024), 2024 Gazetteer places, 2020 ZCTA to place relationship file.

  1. 01Census Vintage 2024 subcounty population estimates
  2. 02Census 2024 Gazetteer, places
  3. 03Census 2020 ZCTA to place relationship file
  4. 04Census 2024 cartographic boundary file, counties (1:5,000,000)

How every number is computed: methodology. Spotted a wrong figure? Report an error.