During the Palatinate wars of succession, Eppingen functioned as the main storage facility for the German army. From 1695 to 1697, the Eppingen Lines ("Eppinger Linien"), a string of earthwork fortifications and watchtowers, were built. They served as large defending walls against French raids at that time. One watchtower, called the Chartaque, was built by local students to show the architecture of those ancient buildings. Eppingen was affiliated to Baden in 1803. It maintained the second oldest school of agriculture in Baden. At the end of the 19th century, Eppingen was connected to the railway network; the Kraichgau Railway was opened to Karlsruhe in 1879 and to Heilbronn in 1880 and the Steinsfurt–Eppingen railway, which connected to Heidelberg, was opened in 1899.