If your physical and mental health allows for exclusive breastfeeding and you want to do it, the immune advantages are strongest with full exclusivity in the first six months. Lean into support systems — lactation consultants, breastfeeding groups, and a partner who handles everything that isn't feeding.
If exclusive breastfeeding isn't working, is causing significant stress, or doesn't fit your life, combo feeding preserves the most valuable parts of breastfeeding (immune factors, bonding, convenience for some feeds) while giving you the flexibility of formula. There is no research showing that combo-fed babies have worse outcomes than exclusively breastfed babies when you control for confounders.
If you're returning to work, combo feeding is often the most sustainable long-term approach — breast feed when you're home, formula when you're not. It eliminates or reduces the pumping burden that working parents face, which causes many working mothers to stop breastfeeding entirely.