Lincoln is a town in the historic area of Middlesex County, Massachusetts, United States. The population was 6,362 at the 2010 census, including residents of Hanscom Air Force Base that live within town limits. Without the base, which is largely self-contained, Lincoln is home to 5,152 people, according to the 2000 census. Chambers Russell, a Representative in the Court in Boston, was influential in the town's creation. In gratitude, Russell was asked to name the new town. He chose Lincoln, after his family home in Lincolnshire, England. His homestead in Lincoln was the Codman House property, which was occupied after his death by his relatives, the Coodman family.