She married Bernhard Spyri, an employee , when she was 25. They met when they were children. They lived in Zurich, Switzerland and had only one child, a son, Berhard Diethelm Spyri, in 1855. In Zurich, they were friends with the musician Richard Wagner and poet Conrad Ferdinand Meyer. Both her husband and son died of tuberculosis in 1884.