Oakton is a census-designated place in Fairfax County, Virginia, United States. The population was 34,166 at the 2010 census. Oakton is an affluent community of Northern Virginia. Its center is 16 miles west of Washington, D.C.