For most people, melatonin is considered safe when used short-term at recommended dosages. However, its long-term safety profile is not well-established. Particular caution is advised for individuals with autoimmune diseases, pregnant or breastfeeding women, and those on medication that interacts with melatonin, such as blood thinners or immunosuppressants. Consulting a healthcare provider before starting melatonin is advisable.