Middlesex County is a county in the Commonwealth of Massachusetts, in the United States. As of 2018, the population was 1,614,714, making it the 22nd most populous county in the United States. It is the most populous county in both Massachusetts and New England.