2020 census As of the
2020 census, Temple had a population of 5,089, with 1,575 households and 1,391 families residing in the city. The median age was 33.5 years. 27.8% of residents were under the age of 18 and 10.1% were 65 years of age or older. For every 100 females there were 94.7 males, and for every 100 females age 18 and over there were 89.5 males age 18 and over. 0.0% of residents lived in urban areas, while 100.0% lived in rural areas. Among households in Temple, 42.8% had children under the age of 18 living in them. Of all households, 49.8% were married-couple households, 15.3% were households with a male householder and no spouse or partner present, and 26.4% were households with a female householder and no spouse or partner present. About 19.7% of all households were made up of individuals and 6.3% had someone living alone who was 65 years of age or older. ==Education==