Newmarket is located in Rockingham county New hampshire with a geographic area of 2.3 square miles. The total population in Newmarket is 5,737 with 52.3% male and 47.7% female. Children under age 5 represent 5.2% of the population, under age 18 equal 14.7% of the population and over age 65 is 12.7% of the population. The median household income is $69,259, per capita income is $39,736. There are a total of 2,714 housing units with 42.2% owner occupied. Education includes 17.2% of residents that are high school graduates and 50.0% with a bachelor's degree or higher. The average temperature in Newmarket in the summer is 68 degrees, and in the winter 23 degrees.