 Guldberg was born in the city of Christiania (now Oslo), Norway.She was the eldest daughter of Cato August Guldberg (1812–1892), who was a parish priest.Her mother, Hanna Sophie Theresia Bull (1810–1854), was a cousin of Marcus Thrane (1817–1890), leader of the first Norwegian labour union.