Whether naturally produced or taken as a supplement, melatonin will pass through breast milk – and artificial changes in melatonin concentrations in your breast milk could disturb your baby’s sleep patterns. There aren’t enough studies to say whether it's definitely safe to take melatonin supplements while breastfeeding, but taking small amounts for a short period of time likely won’t harm your baby.