Some people should avoid melatonin or only use it under close medical supervision, because of health conditions, possible side effects, or drug interactions. Anyone considering it regularly for sleep should speak with a clinician first, especially if taking other medicines or having ongoing health problems.

Quick Scoop

  • Melatonin is not a harmless “vitamin”; it is a hormone that can cause drowsiness, interact with medicines, and may worsen some conditions.
  • Certain groups (pregnancy, autoimmune disease, serious heart, liver, or kidney problems, seizure disorders, children without specialist guidance) are at higher risk and often advised to avoid or be very cautious.
  • Long‑term, high‑dose use is increasingly questioned, with new data raising concerns about possible links with heart problems in people with chronic insomnia.

People who should not (or usually should not) take melatonin

  • Pregnant or breastfeeding people : Routine melatonin use is not recommended because of limited safety data and potential effects on the baby.
  • People with known allergy to melatonin : Anyone who has had an allergic reaction to melatonin or ingredients in a product should avoid it completely.
  • Children and teens without specialist advice : Use in young people is typically reserved for specific conditions and should be supervised by a pediatric or sleep specialist.

People who need extra caution and medical supervision

  • Autoimmune diseases (for example rheumatoid arthritis, multiple sclerosis, lupus): Melatonin can affect immune function, so many guidelines advise caution or specialist review.
  • Liver or kidney disease : These organs clear medicines and supplements, so melatonin can build up and cause stronger or prolonged effects.
  • Seizure disorders : Melatonin can interact with anti‑seizure medicines and may affect seizure control; any use should be neurologist‑guided.

When melatonin can be particularly risky

  • Taking certain medicines : Melatonin can interact with drugs that thin the blood, control seizures, lower blood pressure, manage diabetes, act as birth control, or suppress the immune system.
  • Heart and circulation issues : A large observational analysis of adults with chronic insomnia linked long‑term melatonin use (1 year or more) with higher rates of heart failure, heart‑failure hospitalizations, and death from any cause, though it did not prove cause and effect.
  • Dementia or high fall risk : In older adults with dementia, slower clearance of melatonin and extra daytime drowsiness may increase fall risk.

Common side effects and safety notes

  • Possible side effects include nausea, dizziness, headaches, next‑day sleepiness, or worsened restless legs symptoms; driving or using machinery within about five hours after a dose is discouraged.
  • Many adults who use melatonin for sleep actually have underlying problems (sleep apnea, depression, anxiety, other medical issues) that need direct treatment rather than masking with a supplement.

Bottom note: Information gathered from public forums or data available on the internet and portrayed here.