Acetaminophen is generally considered safe to use during pregnancy and breastfeeding. However, it is always important to consult with a healthcare professional before taking any medication during these periods.