Wilmington is a town in Middlesex County, Massachusetts, United States. Its population was 23,349 at the 2020 United States census.