Medfield is a town in Norfolk County, Massachusetts, United States. The population was 12,799 according to the 2020 United States Census. It is a community about 17 miles southwest of Boston, Massachusetts, which is a 40-minute drive to Boston's financial district. Attractions include the Hinkley Pond and the Peak House.