While taking a high-quality melatonin supplement for sleep support is generally safe, it should only be taken for short-term use unless discussed with your health care professional.
Some side effects of melatonin include:
Drowsiness
Headaches
Dizziness
Nausea
Irritability
Depression
Reduced libido