Williamsburg is a city located in James City County, Virginia. Williamsburg has a 2026 population of 16,030. It is also the county seat of James City County. Williamsburg is currently declining at a rate of -0.53% annually but its population has increased by 3.6% since the most recent census, which recorded a population of 15,473 in 2020.