Topsfield is a town in Essex County, Massachusetts, United States. The population was 6,085 at the 2010 census.
Part of the town comprises the census-designated place of Topsfield.
The Agawam tribe inhabited Topsfield prior to and during the British colonization in the early seventeenth century. They were one of the Algonquian peoples. They claimed the land north of the Danvers River, the whole of Cape Ann and from there to the Merrimack River. However, the first European explorers had brought smallpox to New England, decimating all the shore tribes from the Penobscot River to Narragansett Bay in 1616.