Carpentersville is a village in Kane County, Illinois, United States. The population was 37,983 at the 2020 census. It is part of the Chicago metropolitan area.