There's not enough research to know whether benzoyl peroxide is safe while pregnant or breastfeeding.
To err on the side of caution, avoid this ingredient while pregnant. Dial down any risks by keeping it away from your boobs or chest while breastfeeding.