The best advice is to check with your doctor.
Melatonin Oral Precautions
Before taking melatonin, tell your doctor or pharmacist if you are allergic to it; or if you have any other allergies.
If you have any of the following health problems, consult your doctor or pharmacist before using this product: diabetes, high blood pressure, immune system disorder, liver disease, mental/mood disorder (e.g., depression), seizure disorder (e.g., epilepsy).
This drug may make you dizzy or drowsy.