Melatonin is generally considered safe for short-term use. But more research needs to be done on its long-term use. Dietary supplements like melatonin are regulated by the U.S. Food and Drug Administration.