Studer was the son of Sigmund Gottlieb Studer. After the death of his father, the Studer family moved to Bern, where Studer was secretary to the cantonal justice and police department, later becoming prefect (Regierungsstatthalter) of the city of Bern.[1]