2020 census As of the
2020 census, Ashburn had a population of 4,291. The median age was 38.9 years. 25.2% of residents were under the age of 18 and 18.0% of residents were 65 years of age or older. For every 100 females there were 85.3 males, and for every 100 females age 18 and over there were 80.4 males age 18 and over. 93.8% of residents lived in urban areas, while 6.2% lived in rural areas. There were 1,736 households, including 1,061 family households, in Ashburn. Of all households, 32.8% had children under the age of 18 living in them, 28.3% were married-couple households, 20.2% were households with a male householder and no spouse or partner present, and 44.4% were households with a female householder and no spouse or partner present. About 34.4% of all households were made up of individuals, and 15.5% had someone living alone who was 65 years of age or older. There were 1,933 housing units, of which 10.2% were vacant. The homeowner vacancy rate was 3.0% and the rental vacancy rate was 7.7%. ==Education==