Junction City is a city in Geary County, Kansas, United States. The population was 18,886 at the 2000 census. It is the county seat of Geary County. Fort Riley, a major U.S. Army post, is nearby. Junction City is part of the Manhattan, Kansas Metropolitan Statistical Area.