Hamilton is a city in
Hancock County,
Illinois,
United States. The population was 2,951 at the 2010 census, a decline from 3,029 in 2000. The city is located directly across the Mississippi River from
Keokuk, Iowa. Hamilton is the largest city in Hancock County.