Bedford is a town in Middlesex County, Massachusetts, United States. It is within the Greater Boston area, 15 miles north-west of the city of Boston. The population of Bedford was 13,320 at the 2010 census.