There is very little known of her life prior to her marriage. Her father was executed when she was four years old, during which time she hid with her mother and siblings in the Västerås Monastery. She spent her childhood mainly at Lo Castle in Västergötland and Ekeberg in Närke. At that time, the contemporary educational ideal for a Swedish noblewoman was to be tutored in reading, writing, economics, and mathematics. She was expected to learn how to manage a large estate and landholding and perform the duties of her future spouse in his absence, as well as to have knowledge at least in the German language except Swedish, and to deport herself with humility but also dignity by reading religious literature. Finally, it was customary for a girl from the nobility to spent some time in a convent to complete her education, and Margaret is likely to have received this customary education.