People who are allergic to melatonin, people with a history of seizures, and people taking other medications that interact with it.