Alamogordo is located in Otero county New mexico with a geographic area of 21.4 square miles. The total population in Alamogordo is 31,635 with 49.6% male and 50.4% female. Children under age 5 represent 5.8% of the population, under age 18 equal 22.7% of the population and over age 65 is 18.6% of the population. The median household income is $45,786, per capita income is $27,807. There are a total of 12,830 housing units with 60.0% owner occupied. Education includes 27.1% of residents that are high school graduates and 25.3% with a bachelor's degree or higher. The average temperature in Alamogordo in the summer is 78 degrees, and in the winter 32 degrees.