The area of Cogoleto is identified in the Roman Peutingerian Table as Hasta, with a bridge (destroyed in World War II by Allied bombings) existing here. The first mention of the town dates to 1039, and in 1091 it was included in Bonifacio del Vasto's Marquisate of Savona. In 1343 it was acquired by the Republic of Genoa.