How to Increase Melatonin Production: Light, Food, and Supplements
Increasing melatonin production starts with light, not pills. Melatonin is a hormone made by the pineal gland, a pea-sized gland deep in the brain, and it signals to the body that night has arrived. Your brain releases melatonin in darkness and shuts off production in light, so the timing of light exposure has more influence on melatonin than any single food or supplement. (1)
This article explains what melatonin does, what lowers it, and the evidence behind three ways to support it: managing light exposure, eating melatonin-containing foods, and using supplements under the guidance of a healthcare provider. It also covers how melatonin levels are measured and where the research is still thin.
Key takeaways:
- Melatonin is a hormone made by the pineal gland that helps time the sleep-wake cycle (circadian rhythm). Darkness triggers its release and light suppresses it. (1)
- Evening room light can delay melatonin release and shorten its nightly duration by about 90 minutes. (9)
- Some foods contain melatonin. Small human trials show tart cherry juice and tropical fruits can raise melatonin levels, but food amounts are far smaller than supplement doses. (11)(16)(20)
- Melatonin supplements may shorten the time it takes to fall asleep by about seven minutes on average, which is a modest effect. (8)
- Supplement labels are often inaccurate. In one analysis, 22 of 25 melatonin gummies did not contain the amount listed on the label. (5)
- Short-term melatonin use appears safe for most adults, but long-term safety data are limited. Talk with a healthcare provider before starting. (18)

Health is a journey. Find your guide.
Fullscript Connect helps you find a healthcare provider that partners with you — from where you are now to where you want to be. Easily explore profiles and pricing, find the right fit, and book today.
What is melatonin?
Melatonin is a hormone that tells the body when it is time to sleep. The pineal gland makes it from serotonin, which the body makes from the amino acid tryptophan, in response to darkness. Blood levels rise a few hours before your usual bedtime, peak in the middle of the night, and fall toward morning. (1)
A small cluster of cells in the brain called the suprachiasmatic nucleus acts as the body's master clock. It receives light signals from the eyes and tells the pineal gland when to start and stop releasing melatonin. This is why melatonin works more like a timing signal than a sedative. It tells your body what time it is, which helps sleep happen at the right hour. (1)
What affects melatonin production?
Light exposure
Light is the strongest regulator of melatonin. In a study of 116 healthy adults, exposure to ordinary room light before bedtime (under 200 lux) in the hours before bed delayed melatonin onset in 99% of participants and shortened melatonin duration by about 90 minutes compared with dim light. Room light during usual sleep hours suppressed melatonin by more than 50% in most trials. (9)
Blue light, the short-wavelength light emitted by LED screens and many modern bulbs, is especially effective at suppressing melatonin. In a controlled study, blue LED light suppressed melatonin in a dose-dependent way, meaning brighter exposure caused greater suppression. (25)
Age
Melatonin production changes across the lifespan. Infants produce very little melatonin until a clear day-night rhythm develops at around two to three months of age. Levels rise through childhood, fall during adolescence, and stay relatively stable until about age 35–40, when they begin to decline. In adults older than90, melatonin levels may be less than 20% of what they were in early adulthood. (1)
One reason for this decline is calcification of the pineal gland, a buildup of calcium deposits that becomes more common with age and is associated with lower melatonin output. (24)
Health conditions and medications
Lower melatonin levels have been reported in people with type 2 diabetes, mood disorders, neurodegenerative diseases such as Alzheimer's disease, cancer, and some chronic pain conditions. (10) These are associations. Research has not established that low melatonin causes these conditions.
Certain medications may interfere with natural melatonin production. Beta-blockers, a type of medication used in treating cardiovascular disease, are the most well-documented class of medication associated with reductions in melatonin production of up to 86%. (21) Other medications that may suppress nighttime melatonin levels include nonsteroidal anti-inflammatory drugs (NSAIDs) and benzodiazepines. (2)(17)
Low melatonin: What it looks like
"Melatonin deficiency" is not a formal medical diagnosis, but the term is often used to describe melatonin levels that are lower than expected or released at the wrong time. The most common signs relate to sleep timing:
- Trouble falling asleep at a typical bedtime
- Waking during the night
- Feeling alert late at night and groggy in the morning
- Difficulty adjusting to jet lag or shift work
These symptoms have many possible causes, including stress, sleep apnea, and medications. A healthcare provider can help determine whether a circadian rhythm problem is part of the picture.
How to check melatonin levels
Melatonin can be measured in saliva, blood, or urine. The most useful clinical marker is dim light melatonin onset (DLMO), the time in the evening when melatonin starts to rise. To measure it, a person collects saliva samples every 30–60 minutes under dim light for several hours before bedtime. Urine tests measure 6-sulfatoxymelatonin, the main breakdown product of melatonin, and can estimate overall nightly production. (3)
These tests are mainly used to diagnose circadian rhythm sleep disorders, such as delayed sleep phase syndrome. A single random melatonin level says little because levels change so much across the day. (3) Talk with a healthcare provider about whether testing makes sense for you.
How to increase melatonin production naturally
1. Dim the lights in the evening
Because evening light delays melatonin release, the most direct way to support natural production is to reduce light in the two to three hours before bed. (9) Practical steps include:
- Switching to lamps with warm, low-wattage bulbs after sunset
- Lowering screen brightness or turning on a device's night mode
- Keeping phones, tablets, and laptops out of the bedroom
- Using blackout curtains or a sleep mask if outdoor light reaches your bed
2. Get bright light in the morning
Morning light is the other half of the equation. Light after waking suppresses any remaining melatonin and shifts the body clock earlier, so melatonin rises earlier the following evening. In a randomized controlled trial, morning bright light combined with early evening melatonin shifted the body clock earlier than either one alone. (4) A walk outside shortly after waking is a free and practical way to get this light exposure. This is also the most effective answer to how to reduce melatonin in the morning if you wake up feeling groggy.
3. Eat foods that promote melatonin production
Melatonin is found naturally in many plant and animal foods, although in much smaller amounts than supplements provide. (16) A few small human studies show that eating certain foods can raise melatonin levels:
- In a randomized, placebo-controlled trial of 20 adults, drinking tart cherry juice concentrate for seven days increased melatonin levels and total sleep time. (11)
- In 12 healthy men, eating bananas or drinking orange or pineapple juice raised serum melatonin levels, which peaked about two hours later. (20)
These studies are small, so the effect of food on sleep is not well established. Even so, many melatonin-containing foods are already part of a balanced diet.
Top 10 melatonin-rich foods:
- Tart cherries
- Grapes
- Tomatoes
- Peppers
- Bananas, oranges, and pineapple
- Walnuts and almonds
- Seeds, such as flaxseed and mustard seed
- Grains, such as oats, rice, corn, and barley
- Eggs and fish
- Extra-virgin olive oil (16)
Coffee, green/black tea, beer, and wine also contain melatonin, but they are left off this list because caffeine and alcohol can interfere with sleep. (16)(22)
4. Support serotonin and tryptophan intake
The body makes melatonin from serotonin, which it makes from tryptophan. (1) Tryptophan is found in protein foods such as eggs, fish, poultry, dairy, nuts, and seeds. Eating enough protein supports the raw materials the body uses to make both serotonin and melatonin, which is the most practical way to approach how to increase melatonin and serotonin through diet. (15)
Benefits of melatonin
Melatonin is best known for its role in sleep timing, but it acts on tissues throughout the body. (1) The evidence is strongest for the following uses:
- Falling asleep faster. A meta-analysis of 19 trials with 1,683 participants found that melatonin supplementation was associated with a reduction in the time to fall asleep by about seven minutes, a modest increase in total sleep time by about eight minutes, and improved overall sleep quality. (8)
- Jet lag. Melatonin may help reset the body clock after travel across time zones. (18)
- Anxiety before surgery. The findings of a Cochrane review of 27 trials suggested that melatonin may help reduce anxiety in patients preparing for surgery compared to placebo. Some studies reported effects comparable to standard anti-anxiety medications (benzodiazepines) in this setting. Most included studies had an unclear risk of bias. These findings are specific to the surgical setting and should not be generalized to the treatment of anxiety disorders. (14)
Research is also exploring other roles for melatonin, but most of this evidence comes from laboratory, animal, or small human studies:
- Antioxidant activity. Melatonin neutralizes free radicals, unstable molecules that can damage cells. (16)
- Reproductive health. Melatonin is present in ovarian follicles and may influence egg quality and ovulation. (19)
- Exercise recovery. Some studies suggest melatonin may reduce exercise-induced oxidative stress. (12)
These findings are promising but not yet strong enough to recommend melatonin for these purposes.
Melatonin supplements: What the evidence shows
Effectiveness
Melatonin supplements help some people fall asleep a little faster, but the effect is smaller than many people expect. (8) The American Academy of Sleep Medicine guideline suggests that clinicians not use melatonin as a treatment for chronic insomnia in adults, based on limited evidence of benefit. For chronic insomnia, cognitive behavioral therapy for insomnia (CBT-I) remains the first-line approach. (21)
Melatonin appears more useful for problems with sleep timing, such as jet lag, than for general sleeplessness. (18)
Dose and timing
A 2024 dose-response meta-analysis of 26 randomized controlled trials found that melatonin's effects on falling asleep and total sleep time may be optimized at doses of 4 mg per day. The authors suggested that taking melatonin about three hours before the desired bedtime may work better than the common practice of taking 2 mg 30 minutes before bed. Further research is needed to confirm the optimal dose and timing of melatonin supplementation. (6)
Your healthcare provider can help you choose a dose and timing based on your goals.
Product quality
Melatonin is sold as a dietary supplement in the United States, and the amount in the bottle does not always match the label:
- In an analysis of 31 supplements, melatonin content ranged from 83% below to 478% above the labeled amount, and some products contained serotonin. (7)
- In an analysis of 25 melatonin gummy products, only three contained an amount within 10% of the label. Actual amounts ranged from 74% to 347% of the labeled dose. (5)
To purchase a high-quality product, look for products that have been tested by an independent third party, and ask your healthcare provider for a recommendation.
Safety
Short-term melatonin use appears safe for most adults, but long-term melatonin safety data are lacking. Possible side effects include daytime drowsiness, dizziness, headache, and nausea. People who take blood thinners or seizure medications, and people who are pregnant or breastfeeding, should talk with a healthcare provider before using melatonin. (18)
Keep melatonin out of children's reach. Pediatric melatonin ingestions reported to U.S. poison control centers rose 530% between 2012 and 2021, and most were accidental. (13) Give melatonin to a child only with guidance from their healthcare provider.
Frequently asked questions (FAQs)
What is the fastest way to increase melatonin production?
Dim the lights and avoid screens for two to three hours before bed. Evening room light delays melatonin release, so reducing light exposure lets the body start producing melatonin on schedule. (9)
Which foods have the most melatonin?
Tart cherries, grapes, tomatoes, peppers, nuts, seeds, some grains, eggs, and fish are examples of foods that contain melatonin. (16) Small studies show tart cherry juice and tropical fruits such as bananas, oranges, and pineapple can raise melatonin levels. (11)(20)
Can I test my melatonin levels?
Yes. Melatonin can be measured in saliva, blood, or urine. The most common clinical test is dim light melatonin onset (DLMO), which uses saliva samples collected in the evening. It is mainly used to diagnose circadian rhythm sleep disorders. (3)
Is it safe to take melatonin every night?
Short-term use appears safe for most adults, but long-term safety has not been well studied. (18) Talk with a healthcare provider before taking melatonin nightly for an extended period.
How much melatonin should I take?
There is no single recommended dose. A 2024 meta-analysis found that benefits for sleep increased with doses up to about 4 mg per day. (5) Your healthcare provider can recommend a dose and timing based on your needs.
Why do I feel groggy after taking melatonin?
Taking melatonin too late at night or taking a higher dose than you need can leave melatonin in your system in the morning. Daytime drowsiness is one of the most common side effects. (18) Taking it earlier in the evening or lowering the dose may help, but check with your healthcare provider first.
The bottom line
Learning how to increase melatonin production comes down to working with your body clock. Dim the lights in the evening, get bright light in the morning, and eat a balanced diet that includes melatonin-containing foods such as tart cherries, grapes, and nuts. Melatonin supplements can help with sleep timing problems such as jet lag, but their effect on general sleeplessness is modest, and product quality varies widely. If you are thinking about adding a supplement, talk with a healthcare provider about the right product, dose, and timing for you.

Health is a journey. Find your guide.
Fullscript Connect helps you find a healthcare provider that partners with you — from where you are now to where you want to be. Easily explore profiles and pricing, find the right fit, and book today.

