Many antibiotics are considered safe to take while breastfeeding. Antibiotics are frequently used to combat bacterial infections, and while they can pass into breast milk1 , most are present in only low levels and are not harmful to the baby.
The American Academy of Pediatrics2 has stated that most antibiotics, including commonly used ones like amoxicillin and penicillin, are generally safe for breastfeeding mothers and their infants. This is backed up by research which found no adverse effects on infants of mothers taking these types of antibiotics.
However, it's always crucial to check with your healthcare provider, as there are some antibiotics that are less studied or might have potential side effects for the baby. These include fluoroquinolones and tetracyclines, which are not usually the first choice for breastfeeding mothers.