While melatonin is generally considered safe for short-term use in children, long-term safety studies are limited. The American Academy of Pediatrics recommends consulting a healthcare provider before starting melatonin, especially for prolonged use. Potential side effects may include dizziness, daytime drowsiness, and headaches.