In the Middle Ages it was a possession of the Bobbio Abbey, and then (1227) of the Malaspina and (mid-14th century) of the Fieschi, who built a castle here. Later it was under the Republic of Genoa, and Torriglia was involved in the wars between Guelphs and Ghibellines, causing its siege by the Genoese in 1432. In 1548 it was acquired by the Doria family, who held it until the Napoleonic invasion of 1797.