Hartsburg is located in Logan county Illinois with a geographic area of 0.2 square miles. The total population in Hartsburg is 386 with 61.9% male and 38.1% female. Children under age 5 represent 9.6% of the population, under age 18 equal 13.7% of the population and over age 65 is 11.9% of the population. The median household income is $50,625, per capita income is $26,162. There are a total of 178 housing units with 77.5% owner occupied. Education includes 41.6% of residents that are high school graduates and 9.0% with a bachelor's degree or higher. The average temperature in Hartsburg in the summer is 74 degrees, and in the winter 27 degrees.