Since his parents died early, his uncle Albrecht Rengger, then Interior Minister of the Helvetic Republic, provided his education, first at a private school, and then at the canton school of Aarau from 1805 to 1812.
Da seine Eltern früh starben, sorgte sein Onkel Albrecht Rengger, damals Innenminister der Helvetischen Republik, für seine Ausbildung, zunächst an einer Privatschule, dann von 1805 bis 1812 an der Kantonsschule Aarau.