Hartford is a village in Madison County, Illinois, United States, on the Mississippi River near the mouth of the Missouri River. The population was 1,185 at the 2020 census, down from 1,429 in 2010. Lewis and Clark spent the winter of 1803-04 there, near what has been designated the Lewis and Clark State Historic Site.