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?
›Does melatonin interact with Metformin?
›What dose of melatonin is safest with Metformin?
›When should I take melatonin if I take Metformin at dinner?
›Will melatonin raise my blood sugar if I take Metformin?
›Is melatonin safe for people with type 2 diabetes?
›Can melatonin worsen insulin resistance?
›Does melatonin affect HbA1c?
›Are there people who should never combine melatonin and Metformin?
›Does better sleep from melatonin offset its glucose effects?
›Can I take melatonin gummies with Metformin?
›Should I tell my doctor I am taking melatonin with Metformin?
References
-
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/
-
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/
-
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/
-
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/
-
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/
-
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/
-
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/
-
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
-
Natural Medicines Comprehensive Database. Melatonin: Interactions. Therapeutic Research Center. Accessed January 2025. https://naturalmedicines.therapeuticresearch.com
-
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/
-
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/
-
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
-
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/
-
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/