How long does melatonin last? Melatonin, a hormone that regulates sleep-wake cycles, typically lasts in the body for about 4 to 8 hours. The duration can vary based on factors such as dosage, individual metabolism, and overall health. It's advisable to take melatonin supplements about 30 minutes to an hour before bedtime to support healthy sleep patterns.