Topsfield is located in Essex county Massachusetts with a geographic area of 2.7 square miles. The total population in Topsfield is 3,046 with 47.0% male and 53.0% female. Children under age 5 represent 9.1% of the population, under age 18 equal 29.3% of the population and over age 65 is 22.2% of the population. The median household income is $139,077, per capita income is $51,846. There are a total of 984 housing units with 79.7% owner occupied. Education includes 4.5% of residents that are high school graduates and 74.4% with a bachelor's degree or higher. The average temperature in Topsfield in the summer is 70 degrees, and in the winter 30 degrees.