Cernobbio is a comune (municipality) in the Province of Como in the Italian region of Lombary, located about 40 kilometres (25 mi) north of Milan and about 2 kilometres (1 mi) northwest of Como, on the border with Switzerland. As of 31 December 2004, it had a population of 7,031 and an area of 11.7 km².