Sherborn is a town in Middlesex County, Massachusetts, United States. It is in area code 508 and has the ZIP code 01770. As of the 2010 U.S. Census, the town population was 4,119. Sherborn shares its highly ranked public school system with the town of Dover. In addition to Dover, Sherborn is bordered by the towns of Natick, Framingham, Ashland, Millis, Holliston, and Medfield.