Leopold Zunz was born at Detmold, the son of Talmud scholar Immanuel Menachem Zunz (1759-1802) and Hendel Behrens (1773-1809), the daughter of Dov Beer, an assistant cantor of the Detmold community. The year following his birth his family moved to Hamburg, where, as a young boy, he began learning Hebrew grammar, the Pentateuch, and the Talmud. His father, who was his first teacher, died in July 1802, when Zunz was not quite eight years old. He subsequently gained admission to the Jewish "free school" (Freischule) founded by Philipp Samson, in Wolfenbüttel. Departing from home in July 1803, he saw his mother for the last time (she died in 1809 during his years in Wolfenbüttel). A turning point in Zunz's development came in 1807, when , a reform-minded educator, took over the directorship of the Samson School. Ehrenberg reorganized the curriculum, introducing, alongside traditional learning, new subjects such as religion, history, geography, French, and German; he became Zunz's mentor, and they remained friends until Ehrenberg's death in 1853.