Gainesville is the county seat of Alachua County, Florida, and the most populous city in North Central Florida, with a population of 145,214 in 2022. It is the principal city of the Gainesville metropolitan area, which had a population of 339,247 in 2020.