Farmer City is a city in DeWitt County, Illinois, United States. The population was 2,037 at the 2010 census.
Farmer City is located at 40°14′47″N 88°38′31″W / 40.24639°N 88.64194°W / 40.24639; -88.64194 (40.246306, -88.641858).
According to the 2010 census, Farmer City has a total area of 2.449 square miles (6.34 km), of which 2.4 square miles (6.22 km) (or 98%) is land and 0.049 square miles (0.13 km) (or 2%) is water.
As of the census of 2000, there were 2,055 people, 830 households, and 557 families residing in the city. The population density was 892.8 people per square mile (345.0/km²). There were 906 housing units at an average density of 393.6 per square mile (152.1/km²). The racial makeup of the city was 99.56% White, 0.05% from other races, and 0.39% from two or more races. Hispanic or Latino of any race were 0.39% of the population.
There were 830 households out of which 32.2% had children under the age of 18 living with them, 52.8% were married couples living together, 9.8% had a female householder with no husband present, and 32.8% were non-families. 28.1% of all households were made up of individuals and 14.7% had someone living alone who was 65 years of age or older. The average household size was 2.41 and the average family size was 2.94.
In the city, the population was spread out with 24.7% under the age of 18, 7.0% from 18 to 24, 27.6% from 25 to 44, 21.6% from 45 to 64, and 19.1% who were 65 years of age or older. The median age was 39 years. For every 100 females, there were 93.5 males. For every 100 females age 18 and over, there were 90.0 males.
The median income for a household in the city was $40,223, and the median income for a family was $45,515. Males had a median income of $34,524 versus $22,438 for females. The per capita income for the city was $19,946. About 5.6% of families and 8.3% of the population were below the poverty line, including 15.4% of those under age 18 and 3.3% of those age 65 or over.