Middleburg is located in Loudoun county Virginia with a geographic area of 1.0 square miles. The total population in Middleburg is 573 with 42.1% male and 57.9% female. Children under age 5 represent 4.5% of the population, under age 18 equal 26.2% of the population and over age 65 is 26.4% of the population. The median household income is $58,438, per capita income is $54,356. There are a total of 295 housing units with 58.3% owner occupied. Education includes 16.9% of residents that are high school graduates and 51.9% with a bachelor's degree or higher. The average temperature in Middleburg in the summer is 71 degrees, and in the winter 35 degrees.