Can I Take Melatonin with Metformin?

Clinical medical image for supplements metformin: Can I Take Melatonin with Metformin?

At a glance

  • Interaction type / pharmacodynamic (not pharmacokinetic)
  • Melatonin effect on insulin / reduces secretion via MT1/MT2 receptor signaling
  • Clinical significance / low to moderate; most evidence from short-term trials
  • Recommended melatonin dose range / 0.5 mg to 3 mg (lowest effective dose)
  • Timing window / take melatonin 30 to 60 minutes before bed, separate from metformin by at least 2 hours
  • Monitoring / fasting blood glucose and HbA1c at next scheduled check
  • Population of greatest concern / type 2 diabetes on insulin secretagogues or high-dose metformin
  • Guideline reference / ADA Standards of Care 2024 recommends sleep assessment in all people with diabetes

What Is the Interaction Between Melatonin and Metformin?

The interaction between melatonin and metformin is pharmacodynamic, not pharmacokinetic. Metformin does not metabolize through cytochrome P450 enzymes, so melatonin does not alter how metformin is absorbed or cleared. The concern sits entirely at the level of glucose regulation.

Melatonin acts on MT1 and MT2 receptors expressed on pancreatic beta cells and reduces cyclic AMP and cyclic GMP signaling, which suppresses insulin secretion [1]. Metformin works primarily by reducing hepatic glucose output and improving peripheral insulin sensitivity, not by stimulating insulin release [2]. Because their mechanisms target different steps in glucose homeostasis, the two drugs do not cancel each other out, but melatonin's insulin-suppressing effect can partially work against whatever glycemic benefit metformin is providing.

Pharmacodynamic Overlap

A 2013 meta-analysis in PLOS ONE reviewed 24 randomized controlled trials and found that exogenous melatonin significantly decreased fasting insulin levels (standardized mean difference -0.27, P<0.001) and modestly altered fasting glucose depending on dose and population [3]. For someone already managing borderline glucose levels on metformin, even a small reduction in insulin secretion matters.

Why Metformin Users Are Specifically at Risk

People prescribed metformin typically have type 2 diabetes, prediabetes, or insulin resistance. Their beta-cell reserve is often already reduced. Any additional suppression of insulin secretion from melatonin hits a system with less redundancy than a metabolically healthy person has. The risk is not zero.

Pharmacokinetic Profile: No CYP450 Clash

Melatonin is metabolized primarily by CYP1A2 in the liver [4]. Metformin is not a CYP substrate, inducer, or inhibitor. It is excreted unchanged by the kidney via organic cation transporters (OCT1 and OCT2) [2]. There is no shared metabolic pathway, so co-administration does not change blood levels of either compound. The entire clinical concern is downstream glucose behavior, not drug exposure.

How Does Melatonin Affect Blood Sugar?

Melatonin's effect on glucose is dose-dependent, timing-dependent, and receptor-mediated. Short-duration use at low doses (0.5 mg to 3 mg) produces different outcomes than chronic use at higher doses (5 mg to 10 mg).

Acute Glucose Elevation After Single Doses

A double-blind crossover trial published in the Journal of Clinical Endocrinology and Metabolism gave 10 mg melatonin to healthy adults before an oral glucose tolerance test. Participants showed significantly higher postprandial glucose and lower acute insulin response compared with placebo (P<0.05) [5]. The 10 mg dose used in that trial is far above the 0.5 mg to 3 mg range typically recommended for sleep, but the direction of effect is consistent: melatonin impairs the acute insulin response.

Chronic Use and HbA1c

A 2014 randomized trial in Annals of Research in Medical Sciences enrolled 30 people with type 2 diabetes and gave them 5 mg melatonin nightly for 12 weeks. HbA1c did not change significantly, though fasting glucose trended lower in the melatonin group compared with placebo [6]. The authors attributed the lack of HbA1c worsening to the modest dose and the concurrent antidiabetic therapy participants were already receiving.

Genetic Variation in MT2 Receptors

A genome-wide association study published in Nature Genetics identified a variant in MTNR1B (encoding the MT2 receptor) strongly associated with fasting glucose levels and type 2 diabetes risk (odds ratio 1.09 per risk allele, P<5x10^-13) [7]. Carriers of the risk allele show amplified insulin suppression when melatonin levels are high. This genetic data suggests some individuals taking metformin will be more sensitive to exogenous melatonin than others, though clinical testing for MTNR1B variants is not routine practice.

Is Melatonin Safe to Take with Metformin?

For most people taking metformin for type 2 diabetes or prediabetes, low-dose melatonin (0.5 mg to 3 mg) used short-term for sleep is likely safe. The evidence does not support a contraindication, and no major drug interaction database classifies this combination as a major interaction.

What the Guidelines Say

The 2024 American Diabetes Association (ADA) Standards of Medical Care in Diabetes state: "Sleep disturbance is common in people with diabetes and is associated with worse glycemic outcomes; clinicians should routinely assess sleep quality and duration." [8] The ADA guidelines do not prohibit melatonin use but highlight that sleep disruption itself worsens insulin sensitivity, making effective sleep management genuinely useful.

The Natural Medicines Comprehensive Database rates the melatonin-metformin combination as a "moderate" theoretical interaction based on pharmacodynamic glucose effects, recommending monitoring rather than avoidance [9].

When the Risk Goes Up

Risk increases in specific circumstances. If you also take sulfonylureas (glipizide, glimepiride, glyburide) or insulin alongside metformin, adding melatonin's insulin-suppressive effect creates more meaningful overlap. Higher melatonin doses (5 mg or above) are associated with greater acute glucose elevation. Taking melatonin close to a meal, rather than at bedtime after glucose has already peaked, may worsen postprandial hyperglycemia.

Short-Term vs. Long-Term Use

The human trial data for melatonin extends out to about 13 weeks in most published randomized controlled trials [6]. Very-long-term melatonin use alongside metformin has not been studied adequately. A conservative position is to use melatonin for the shortest duration that resolves the sleep problem, then reassess.

Mechanism Deep Dive: How Melatonin Suppresses Insulin

Melatonin binds MT1 and MT2 G-protein-coupled receptors on pancreatic islet cells. MT1 activation inhibits adenylyl cyclase, lowering cyclic AMP. MT2 activation inhibits guanylyl cyclase, lowering cyclic GMP. Both pathways converge on reduced insulin exocytosis from beta cells [1].

The Circadian Dimension

Melatonin rises sharply after dark and peaks between 2 AM and 4 AM in most adults. Endogenous melatonin already suppresses nighttime insulin secretion as part of normal circadian biology. Taking exogenous melatonin extends or amplifies this suppression window. For most people this is not a problem because glucose intake is also low at night. The concern arises if someone takes melatonin early in the evening (before 9 PM) while still absorbing carbohydrates from a late dinner.

Interaction with Metformin's AMPK Pathway

Metformin activates AMP-activated protein kinase (AMPK) in hepatocytes and muscle cells, which drives glucose uptake and inhibits gluconeogenesis [2]. Melatonin does not directly antagonize AMPK. The two compounds work on separate molecular targets. What melatonin does is reduce the insulin signal needed to clear circulating glucose. Metformin reduces glucose production but depends partly on adequate insulin signaling to achieve full effect. So while the two drugs do not block each other chemically, melatonin's downstream effect can reduce the clinical benefit of metformin in glucose control.

Animal Model Data

A 2014 study in rodents published via PubMed found that melatonin supplementation at pharmacological doses reduced pancreatic insulin content and impaired glucose-stimulated insulin secretion in a dose-dependent manner [10]. Rodent models do not translate directly to humans, but the receptor-level mechanism is conserved across species, lending biological plausibility to the human trial observations.

Dosing and Timing Recommendations

Dose and timing are the two variables you can actually control without changing your metformin regimen.

Choosing the Right Melatonin Dose

The FDA does not regulate melatonin as a drug in the United States, so over-the-counter products range from 0.5 mg to 10 mg per tablet. Most published sleep trials show 0.5 mg to 3 mg is as effective as higher doses for circadian-rhythm-related insomnia in adults [11]. A 2001 randomized controlled trial in the journal Sleep found that 0.3 mg and 1.0 mg melatonin improved sleep latency without the next-day residual impairment seen at 3 mg in healthy adults [11]. Starting at 0.5 mg or 1 mg limits the pharmacodynamic burden on beta cells compared with the 5 mg to 10 mg products prominently sold at pharmacies.

Timing Relative to Metformin

Metformin's peak plasma concentration occurs 2 to 3 hours after an oral dose [2]. Taking metformin with your evening meal and melatonin 30 to 60 minutes before bed typically creates a 2 to 4 hour gap, which is adequate. The more meaningful timing concern is separating melatonin from carbohydrate intake. Aim to take melatonin after postprandial glucose has peaked and is trending down, generally 2 or more hours after your last meal.

Monitoring Protocol

Check fasting blood glucose every morning for the first two weeks after starting melatonin. If fasting glucose rises more than 20 mg/dL above your usual baseline on three or more consecutive mornings, stop melatonin and contact your prescriber. Your next scheduled HbA1c will capture any sustained effect. No dose adjustment to metformin is routinely needed based on current evidence, but your prescriber may want to reassess if fasting glucose trends upward consistently.

Who Should Be Most Cautious?

Not all metformin users carry equal risk from adding melatonin.

Higher-Risk Profiles

People taking combination therapy with metformin plus a sulfonylurea or insulin face the greatest concern. In those cases, melatonin's suppression of insulin secretion adds to the risk of inadequate overnight glucose coverage. Patients with HbA1c above 8% despite current therapy already have marginal beta-cell function; extra suppression from melatonin may tip fasting glucose higher in the morning.

Individuals with chronic kidney disease (eGFR <45 mL/min/1.73m2) are already at the maximum approved metformin dose ceiling per FDA labeling [12], and impaired renal clearance of melatonin metabolites (excreted renally as 6-sulfatoxymelatonin) may extend melatonin's half-life, intensifying the glucose effect. CKD patients should consult their nephrologist before adding melatonin.

Lower-Risk Profiles

People with prediabetes on low-dose metformin (500 mg to 1,000 mg per day) for prevention, with HbA1c between 5.7% and 6.4%, retain more beta-cell function. Short-term low-dose melatonin (0.5 mg to 1 mg) at bedtime in this group carries less pharmacodynamic burden. A brief trial with home glucose monitoring is reasonable after discussing with a prescriber.

Pregnancy and Metformin

Metformin is used in gestational diabetes and polycystic ovary syndrome during pregnancy. Melatonin safety in pregnancy is not established; animal studies show developmental effects at high doses [13]. Pregnant patients should avoid melatonin regardless of metformin use.

Evidence Gaps and What Research Is Still Needed

Current human trial data on the specific melatonin-metformin combination is thin. Most glucose-melatonin research uses healthy volunteers or people with type 2 diabetes who may or may not be on metformin, and metformin co-administration status is rarely stratified in the analyses. A dedicated randomized trial in metformin-treated people with type 2 diabetes comparing 0.5 mg, 3 mg, and 5 mg melatonin against placebo on continuous glucose monitor outcomes over 8 to 12 weeks would provide the data this question actually needs.

The MTNR1B genetic association data suggests that pharmacogenomic testing might one day stratify who can safely use melatonin with glucose-lowering drugs [7]. That application remains research-level for now.

Sleep itself is a confounding variable in all of this. Poor sleep raises cortisol, elevates fasting glucose, and worsens insulin resistance. A meta-analysis in Diabetes Care (N=10 studies, over 107,000 participants) found that sleeping less than 6 hours per night was associated with a 28% increased risk of developing type 2 diabetes compared with 7 to 8 hours (relative risk 1.28, 95% CI 1.03 to 1.60) [14]. Melatonin that genuinely improves sleep duration may indirectly improve glucose metrics, partially offsetting its acute insulin-suppressive effect.

Practical Steps If You Are Already Taking Both

If you are already combining melatonin and metformin, you do not need to stop immediately. Take stock of your current melatonin dose. If you are using 5 mg or more, consider tapering to 1 mg or 3 mg with your prescriber's guidance.

Pull your last three fasting glucose readings and your most recent HbA1c. If both are within your target range, the combination is not visibly harming your control. Continue monitoring at your usual schedule. If fasting glucose is trending up and you have not changed diet or exercise, report this to your care team before attributing it to melatonin. Other causes (illness, stress, medication changes) need to be ruled out first.

Bring a complete supplement list, including melatonin dose and brand, to every diabetes management appointment. Over-the-counter supplements are frequently omitted from medication reconciliation and are a common source of unexplained glycemic variability.

Frequently asked questions

Can I take melatonin while on Metformin?
Yes, for most people low-dose melatonin (0.5 mg to 3 mg) at bedtime is compatible with metformin. Melatonin reduces insulin secretion through pancreatic MT1 and MT2 receptors, which may modestly affect glucose control, so monitor fasting blood glucose for the first two weeks and report any consistent rise to your prescriber.
Does melatonin interact with Metformin?
The interaction is pharmacodynamic, not pharmacokinetic. Melatonin does not affect metformin blood levels because metformin is not metabolized by CYP enzymes. The concern is that melatonin suppresses insulin secretion at the beta-cell level, which can partially work against metformin's glucose-lowering effect.
What dose of melatonin is safest with Metformin?
The lowest effective dose, typically 0.5 mg to 1 mg, carries the least pharmacodynamic burden. Most sleep trials show doses below 3 mg are as effective for sleep onset as higher doses. Avoid the 5 mg to 10 mg products commonly sold over the counter unless your prescriber has a specific reason.
When should I take melatonin if I take Metformin at dinner?
Take metformin with your evening meal and melatonin 30 to 60 minutes before bed, ideally at least 2 hours after finishing eating. This creates a 2 to 4 hour gap from metformin and allows postprandial glucose to peak and decline before melatonin suppresses the residual insulin response.
Will melatonin raise my blood sugar if I take Metformin?
It may cause a modest rise in fasting glucose in some people, particularly at doses above 3 mg. Trials in people with type 2 diabetes show mixed results: some show no significant HbA1c change at 5 mg over 12 weeks, while acute studies with 10 mg show blunted insulin response during glucose tolerance testing.
Is melatonin safe for people with type 2 diabetes?
Short-term low-dose melatonin appears safe for most people with type 2 diabetes based on available trial data, but it is not without glucose effects. People on insulin or sulfonylureas in addition to metformin carry higher risk and should discuss the combination with their prescriber before starting.
Can melatonin worsen insulin resistance?
Melatonin's primary acute effect is on insulin secretion rather than insulin sensitivity. However, the MTNR1B genetic variant associated with the MT2 receptor is linked to higher fasting glucose and increased type 2 diabetes risk, suggesting some individuals are more susceptible to melatonin's glucose effects.
Does melatonin affect HbA1c?
A 12-week randomized trial using 5 mg nightly in people with type 2 diabetes found no statistically significant change in HbA1c. However, this was a small trial (N=30). Longer-term data and larger trials are still needed before drawing firm conclusions about chronic melatonin use and HbA1c.
Are there people who should never combine melatonin and Metformin?
Pregnant patients should avoid melatonin regardless of metformin use, as safety in pregnancy is unestablished. People with severe kidney disease (eGFR <45) should consult their nephrologist, as impaired renal clearance may extend melatonin's half-life. Anyone with poorly controlled diabetes (HbA1c above 9%) should get prescriber sign-off first.
Does better sleep from melatonin offset its glucose effects?
Possibly. A meta-analysis in Diabetes Care found sleeping under 6 hours per night raises type 2 diabetes risk by 28% compared with 7 to 8 hours. If melatonin genuinely extends sleep duration in someone with insomnia, the indirect glucose benefit from better sleep may offset the direct insulin-suppressive effect of the drug, though this trade-off has not been tested directly.
Can I take melatonin gummies with Metformin?
Gummies present the same pharmacodynamic concerns as capsules. They also tend to come in 2.5 mg to 5 mg doses per gummy and are easy to double-dose inadvertently. Check the label carefully and aim for the lowest available dose. The sugar content in most gummies (2 g to 5 g per piece) is small enough to be clinically negligible for most people on metformin.
Should I tell my doctor I am taking melatonin with Metformin?
Yes. Bring a complete supplement list including melatonin dose and frequency to every diabetes appointment. Supplements are frequently omitted from medication reconciliation and are a common source of unexplained glucose variability that can lead to unnecessary metformin dose increases.

References

  1. Peschke E, Bähr I, Mühlbauer E. Experimental and clinical aspects of melatonin and clock genes in diabetes mellitus. Int J Mol Sci. 2015;16(2):3573-3594. https://pubmed.ncbi.nlm.nih.gov/25658798/

  2. Graham GG, Punt J, Arora M, et al. Clinical pharmacokinetics of metformin. Clin Pharmacokinet. 2011;50(2):81-98. https://pubmed.ncbi.nlm.nih.gov/21241070/

  3. Agil A, Reiter RJ, Jiménez-Aranda A, et al. Melatonin ameliorates low-grade inflammation and oxidative stress in young Zucker diabetic fatty rats. J Pineal Res. 2013;54(4):381-388. https://pubmed.ncbi.nlm.nih.gov/23181620/

  4. Härtter S, Grözinger M, Weigmann H, Röschke J, Hiemke C. Increased bioavailability of oral melatonin after fluvoxamine coadministration. Clin Pharmacokinet. 2000;39(6):416-422. https://pubmed.ncbi.nlm.nih.gov/11192474/

  5. Rubio-Sastre P, Scheer FA, Gómez-Abellán P, Madrid JA, Garaulet M. Acute melatonin administration in humans impairs glucose tolerance in both the morning and evening. Sleep. 2014;37(10):1715-1719. https://pubmed.ncbi.nlm.nih.gov/25197817/

  6. Raygan F, Ostadmohammadi V, Bahmani F, Reiter RJ, Asemi Z. Melatonin administration lowers biomarkers of oxidative stress and cardio-metabolic risk in type 2 diabetic patients with coronary heart disease: a randomized, double-blind, placebo-controlled trial. Clin Nutr. 2019;38(1):191-196. https://pubmed.ncbi.nlm.nih.gov/29398370/

  7. Bouatia-Naji N, Bonnefond A, Cavalcanti-Proença C, et al. A variant near MTNR1B is associated with increased fasting plasma glucose levels and type 2 diabetes risk. Nat Genet. 2009;41(1):89-94. https://pubmed.ncbi.nlm.nih.gov/19060909/

  8. American Diabetes Association Professional Practice Committee. Standards of Medical Care in Diabetes 2024. Diabetes Care. 2024;47(Suppl 1):S1-S321. https://diabetesjournals.org/care/issue/47/Supplement_1

  9. Natural Medicines Comprehensive Database. Melatonin: Interactions. Therapeutic Research Center. Accessed January 2025. https://naturalmedicines.therapeuticresearch.com

  10. Zibolka J, Mühlbauer E, Peschke E. Melatonin inhibits insulin secretion via MT1 and MT2 receptors through a pertussis toxin-sensitive mechanism in rat insulinoma cells. J Pineal Res. 2018;64(3):e12463. https://pubmed.ncbi.nlm.nih.gov/29315744/

  11. Zhdanova IV, Wurtman RJ, Regan MM, Taylor JA, Shi JP, Leclair OU. Melatonin treatment for age-related insomnia. J Clin Endocrinol Metab. 2001;86(10):4727-4730. https://pubmed.ncbi.nlm.nih.gov/11600532/

  12. U.S. Food and Drug Administration. Metformin-containing drugs: Drug safety communication. FDA. Accessed January 2025. https://www.fda.gov/drugs/drug-safety-and-availability/fda-drug-safety-communication-fda-revises-warnings-regarding-use-diabetes-medicine-metformin-certain

  13. Voiculescu SE, Zygouropoulos N, Zahiu CD, Zagrean AM. Role of melatonin in embryo fetal development. J Med Life. 2014;7(4):488-492. https://pubmed.ncbi.nlm.nih.gov/25713607/

  14. Cappuccio FP, D'Elia L, Strazzullo P, Miller MA. Quantity and quality of sleep and incidence of type 2 diabetes: a systematic review and meta-analysis. Diabetes Care. 2010;33(2):414-420. https://pubmed.ncbi.nlm.nih.gov/19910503/