This study investigates the nexus between the rise of female leaders and the appointment of women to cabinets and how family ties, crucial for women’s political ascendance, impact these appointments. Using a unique dataset across 160 countries from 1966 to 2021, we find that female leaders generally appoint more women to their cabinets and key cabinet roles. However, this effect is significantly moderated by the “Goldilocks” principle, defined by the nature of a leader’s family ties. Specifically, female leaders with moderate family ties are most likely to appoint women. In contrast, their counterparts from political dynasties and those without familial political ties are less inclined to do so. The exploratory analysis suggests potential mechanisms driving this dynamic: female leaders with a “just-right” degree of political lineage are more likely to have advanced degrees and Western education, potentially aligning them more closely with liberal and feminist values.