Skip to main content

melatonin

Generic
Used for Insomnia
Used for Insomnia

Melatonin is a supplement that's taken to help with sleep problems due to conditions like insomnia or jet lag. It's available over-the-counter and comes in many different formulations, including oral pills and sprays, skin patches, and topical creams. Various melatonin products have different instructions and age recommendations, so speak with your provider or pharmacist to check if it's safe for children. Melatonin is pretty well tolerated, but possible side effects include daytime sleepiness, headaches, and nausea.

Last reviewed on October 26, 2023
basics-icon

What is Melatonin?

What is Melatonin used for?

How Melatonin works

Melatonin is a supplement. It's a synthetic (man-made) version of a naturally occurring hormone made by your brain. Your body makes more melatonin when it's dark, and this tells your body it's time to sleep. If you don't have enough melatonin, you might have trouble sleeping. Taking melatonin might help some people fall asleep faster and stay on a regular sleep schedule.

Drug Facts

Common BrandsVarious brand names
Drug ClassDietary supplement
Controlled Substance ClassificationNot a controlled medication
Generic StatusLower-cost generic available
AvailabilityOver-the-counter

More on Melatonin essentials

coupon-save-icon

Get your GoodRx coupon

Avg retail price
$8.56(save 63.80%)
GoodRx discount
$3.10
See prices
basics-icon

What are the side effects of Melatonin?

The following side effects may get better over time as your body gets used to the medication. Let your healthcare provider know immediately if you continue to experience these symptoms or if they worsen over time.

Common Side Effects

Other Side Effects

Source: DailyMed

The following side effects have also been reported

Side effects that you should report to your care team as soon as possible:

  • Allergic reactions—skin rash, itching, hives, swelling of the face, lips, tongue, or throat
  • Mood and behavior changes—anxiety, nervousness, confusion, hallucinations, irritability, hostility, thoughts of suicide or self-harm, worsening mood, feelings of depression

Side effects that usually do not require medical attention (report to your care team if they continue or are bothersome):

  • Bedwetting in children
  • Dizziness
  • Drowsiness the day after use
  • Headache
  • Nausea
pros-and-cons

Pros and cons of Melatonin

thumbs-up

Pros

Generally well tolerated with very few side effects

Usually not habit-forming like some other sleep aids

Available over the counter (OTC) in many different dosage forms and strengths

Available as a lower-cost generic

thumbs-down

Cons

Might not contain the correct amount of active ingredient since it's not as regulated by the FDA

Can cause daytime drowsiness in older adults

Unknown whether it's safe for long-term use

pharmacist-tips

Pharmacist tips for Melatonin

pharmacist
  • Melatonin is a supplement, not a medication. FDA regulations for supplements are less strict, so companies don't have to prove safety and efficacy to the same degree as prescription or OTC medications. Talk to your provider before using melatonin or any new product.

    • Melatonin comes in many different dosage forms and strengths. Choose a reputable product by making sure there is a USP-verified label on the bottle.

      • Melatonin can interact with certain medications like oral contraceptives. Ask your pharmacist about medication interactions before you start taking melatonin.

        • Melatonin isn't recommended for people with dementia, and it can lead to more side effects in older adults, like daytime sleepiness. Talk to your provider before taking melatonin to avoid any potential side effects.

          • Melatonin causes drowsiness and sleepiness. Don't drive, operate machinery, or participate in activities that require alertness while taking this product until you know how it affects you.

            More on Melatonin tips

            faqs

            Frequently asked questions about Melatonin

            How much melatonin should I take?
            If you're an adult, start with a low dose (e.g., 1 to 2 mg by mouth) 1 to 2 hours before bedtime. If you're still struggling to sleep, you can raise your dose. If you find yourself feeling groggy the next morning, try lowering your dose. Luckily most people don't become addicted to melatonin. But you should contact your provider if you're still having trouble sleeping after using it for 6 months. This might mean that you have another health condition that's causing your insomnia that your provider should check.
            How long does melatonin last?
            Melatonin can last for 5 to 10 hours. This is how long it takes for melatonin to clear from your body. Some tips to avoid having a residual groggy feeling the next morning include taking the lowest possible dose to help you sleep, and not waiting too late in the night to take your dose.
            How much melatonin is too much?
            It's not clear how much melatonin is too much, because different people need different doses to help them sleep. To be on the safe side, start with a low dose (e.g., 1 to 2 mg) and go up slowly over time to find the dose that works best for you.
            Can you take melatonin while pregnant?
            There's been little research on taking melatonin while pregnant, so it might not be safe for your unborn or nursing baby. Talk to your provider before taking melatonin if you're pregnant or breastfeeding.
            Can you overdose on melatonin?
            Yes, it's possible to overdose on melatonin. Look out for side effects from taking too much of it, like headache, nausea, next-day drowsiness, dizziness, vivid dreams, irritability, and diarrhea. If you experience these, stop taking melatonin and talk with your provider who can help guide your dosing.
            Is melatonin safe for kids?
            Melatonin might be safe for certain children and teenagers, but you should speak to your child's healthcare provider before giving them any kind of sleep medication. It's possible for your child to take too much melatonin, which can be dangerous. One study showed cases of melatonin overdose have gone up every year over the past 10 years. And children 5 years old and younger are at the highest risk for being hospitalized due to a melatonin overdose.
            How long does melatonin take to work?
            It can take a few hours for the full effects of melatonin to kick in. For this reason, take your dose 1 to 2 hours before bedtime.
            GoodRxEducationalIcon

            How to save using GoodRx

            Compare Prices
            1. Compare PricesSpecify your dosage and quantity to find out exactly how much you can save.
            Select your free coupon
            2. Select your free couponYou can use the displayed coupon, or compare prices at other pharmacies near you.
            Show coupon to your pharmacist
            3. Show coupon to your pharmacistPresent your printed or electronic coupon when you pick up your prescription.
            Get free couponLearn more
            warings-icon

            What are the risks and warnings for Melatonin?

            Melatonin can cause some serious health issues. This risk may be even higher for certain groups. If this worries you, talk to your doctor or pharmacist about other options.

            risk-warning

            Worsening of certain medical conditions

            • Risk factors: Bleeding disorder | Low blood pressure | Seizure conditions | Depression

              Melatonin can make certain medical conditions worse. These medical conditions can include bleeding conditions, low blood pressure, seizure conditions, and depression. Talk to your provider if you have any medical conditions before starting melatonin.

              risk-warning

              Overdose in children

              • Risk factors: Easy access to melatonin inside the home

                Intentional or accidental overdose with melatonin is a possibility. This can be serious and result in hospitalization. Be sure your child doesn't have access to this medication without adult supervision.

                risk-warning

                Interactions with other medications

                • Risk factors: Taking multiple medications

                  Melatonin can interact with many medications, including oral contraceptives, blood pressure and diabetes medications, and transplant medications. Be sure you have a full list of all the medications you take to show your provider or pharmacist. This way, they can check for any potential interactions between your medications and melatonin.

                  More on Melatonin warnings

                  dosage

                  Melatonin dosage forms

                  The average cost for 30 tablets of 3mg of Melatonin is $4.27 with a free GoodRx coupon. This is 50.13% off the average retail price of $8.56.
                  tablet
                  Tablet
                  DosageQuantityPrice as low asPrice per unit
                  3mg30 tablets$4.27$0.14
                  5mg30 tablets$3.10$0.10

                  Typical dosing for Melatonin

                  Your dose will vary based on your age and how you respond to the product.

                  More on Melatonin dosage forms

                  drug-cost

                  How much does Melatonin cost?

                  To access savings, use a GoodRx coupon and pay just a fraction of the retail price.View prices & coupons
                  contraindications-icon

                  Melatonin contraindications

                  Contraindications are specific health conditions or situations in which a person should not take a medication due to safety concerns. If you have any of the following conditions or if any of the following apply to you, let your healthcare provider know because Melatonin will not be safe for you to take.
                  alternatives

                  What are alternatives to Melatonin?

                  There are a number of medications that your doctor can prescribe in place of Melatonin. Compare a few possible alternatives below.
                  Used for:
                  • Allergies

                  • Common cold symptoms

                  • Trouble sleeping for people 12 years and older

                  $0.68 Lowest GoodRx priceView Prices
                  Used for:
                  $4.86 Lowest GoodRx priceView Prices
                  latest news

                  What is the latest news about Melatonin?

                  Get savings updates for Melatonin

                  Receive price alerts, news, and other messages from GoodRx about Melatonin and other healthcare topics and relevant savings offers.

                  By providing your email, you consent to receive marketing communications from GoodRx, which may include content and/or data related to men’s health, women's health, reproductive care, or sexual health. You agree to the GoodRx Terms of Use and acknowledge the Privacy Policy. You can unsubscribe at any time.

                  References

                  Best studies we found

                  Dietary Supplement Label Database. (n.d.). Melatonin. National Institutes of Health, Office of Dietary Supplements.

                  Lelak, K., et al. (2022). Pediatric melatonin ingestions — United States, 2012–2021. Morbidity and Mortality Weekly Report.

                  MedlinePlus. (2023). Melatonin.

                  View All References (7)

                  National Center for Complementary and Integrative Health. (2022). Melatonin: What you need to know.

                  National Organization for Rare Diseases. (2017). Non-24-hour sleep-wake disorder.

                  Safrel Pharmaceuticals, LLC. (2020). Safrel melatonin- melatonin tablet [package insert]. DailyMed.

                  Sateia, M. J., et al. (2017). Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults: An American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine.

                  Savage, R. A., et al. (2022). Melatonin. StatPearls.

                  Stiegler, P., et al. (2018). Impact of melatonin in solid organ transplantation-Is it time for clinical trials? A comprehensive review. International Journal of Molecular Sciences.

                  U.S. Food and Drug Administration. (2022). FDA 101: Dietary supplements.

                  GoodRx Health has strict sourcing policies and relies on primary sources such as medical organizations, governmental agencies, academic institutions, and peer-reviewed scientific journals. Learn more about how we ensure our content is accurate, thorough, and unbiased by reading our editorial guidelines.
                  Was this page helpful?

                  Browse medications

                  View All

                  Research prescriptions and over-the-counter medications from A to Z, compare drug prices, and start saving.