Fairfax City is a Virginia independent city, which means it acts independently from any county. It is a seperate political subdivision from Fairfax County. It has a population of 24,097. As of 2007, the city had a median income of $93,441. Fairfax, Virginia is about 17 miles from the nation's capital.