Fairfax ( FAIR-faks) is an independent city in Virginia and the county seat of Fairfax County, Virginia, United States. As of the 2020 census, the population was 24,146.