In the 17th century, Tamm was almost completely destroyed during the Thirty Years' War, and the reconstruction of core buildings, such as the central fortified church of Saint Bartholomew, wasn't complete until 25 years after the war's end in 1648.
During the 18th century Tamm's inhabitants participated in the construction of the Duke of Württemberg's new residence in nearby Ludwigsburg, mostly as socagers.