Carlisle is a town located northwest of Boston in Middlesex County, Massachusetts, United States. As of the 2020 U.S. Census, the town had a population of 5,237.