In the 17th century Hockenheim was severely devastated twice by French troops, 1644 in the Thirty Years' War and 1674 in the Franco-Dutch War. During this period the former cultivation of hops in the area was partly replaced with tobacco, brought into the country by the French. 1803 the Electoral Palatinate was dissolved and the village was integrated in Baden. With the growing tobacco crop the village flourished and was awarded town rights on 22 July 1895 by Frederick I, Grand Duke of Baden.