Westfield is a city in Hampden County, in the Pioneer Valley of western Massachusetts, United States. It is part of the Springfield, Massachusetts Metropolitan Statistical Area. The population was 40,072 at the 2000 census. The ZIP Code is 01085 for homes and businesses, 01086 for Westfield State College and U.S. Post Office boxes.