During pregnancy, famotidine should be used only when clearly needed. Discuss the risks and benefits with your doctor. This drug passes into breast milk. Consult your doctor before breastfeeding.