The oldest documentary records for the constituent towns of Keltern are from 827 or 830 for Dietenhausen, 919 for Ellmendingen, sometime in the 11th century for Dietlingen, 1219 for Weiler, and around 1300 for Niebelsbach. The towns of Dietenhausen, Dietlingen, Ellmendingen, and Weiler were for most of their history part of
Baden. They were assigned to Pforzheim's jurisdiction in 1803 when the state became the
Grand Duchy of Baden. When the districts were shuffled in 1809, the four towns were assigned to the second Pforzheim Oberamt, and again remained under
Pforzheim when the district was recreated as on 25 June 1938. Niebelsbach was ceded on 17 October 1806 to the
Kingdom of Württemberg, under whom it was assigned to until 1 October 1938, when it was reassigned to
Calw. Dietenhausen was incorporated into Ellemendingen on 1 July 1971. On 30 March 1972, all five townships were joined to form the municipality of Keltern, which the
Enz district on 1 January 1973. In 1989, of the were designated a
Federally-protected nature reserve. ==Geography==