Dakota City is a city in and the county seat of Humboldt County, Iowa, United States. The population was 759 at the time of the 2020 census. Dakota City shares its western border with the much larger city of Humboldt. It is the least populous county seat in Iowa.