Margherita married Odoardo Farnese, Duke of Parma on 11 October 1628. On 11 September 1646 Odoardo died. Their eldest son, Ranuccio was not yet old enough to rule the Duchy alone so Margherita acted as regent until her son was old enough to govern alone. She died in Parma on February 6 1679.