The municipality is mentioned for the first time during the 11th century. The land, originally owned by the Arduinic dynasty, passed to the Marquisate of Saluzzo, who had a castle built here. The Saluzzo dynasty soon underwent a rapid decadence ending with a French domination period which lasted 40 years. In 1588 Carmagnola became a possession of the House of Savoy, when Charles Emmanuel I besieged and conquered it. France took possession of Carmagnola a second time during the 17th century, during the civil war between "Madamisti" and "Principisti" (supporters of the French and the Savoy dynasty respectively). In this period (1637–1642), the three main subdivisions were razed to the ground as they were conflicting with the defence structures, and immediately re-built around 1.5 km from their original position, where they still are at the present time.