A woman can take ibuprofen in moderate doses while breastfeeding. Ibuprofen is safe in moderate doses during breastfeeding as only minimal quantities of the drug get into breast milk. ... At least one study has found that taking ibuprofen early on in pregnancy increases the likelihood of pregnancy loss.