Marlborough is a city in Middlesex County, Massachusetts, United States. The population was 36,255 at the 2000 census. The name of this town is sometimes spelled as Marlboro, rather than Marlborough, which is the official spelling.