Genes and nutrition · Blood sugar
Late dinner? This gene makes your blood sugar sluggish at night
MTNR1B codes for melatonin receptor 1B, which sits on the insulin-producing cells of your pancreas. The G allele of rs10830963 dampens insulin release there, especially when melatonin is high at night.
By Dr. Martin Wyss, PhD, Updated 25 November 2026, Sources and methodology, Report an error
Where the gene sits
- Variants
- 2
- Studies
- 196
- Research
- extensive
- Topic
- Blood sugar
Melatonin signaling and insulin release
What MTNR1B does
MTNR1B encodes melatonin receptor 2. This protein sits on the surface of cells, including those of the pancreas, and picks up the signal of the hormone melatonin. Melatonin rises in the evening and tells the body that night has come. In the pancreatic beta cells, the receptor then dampens insulin release. Think of it as a dimmer switch that turns down the metabolic lights at night.
The variant rs10830963 (G allele) is linked to stronger receptor activity. The insulin response is weaker, fasting glucose tends to run higher, and the risk of type 2 diabetes and gestational diabetes goes up. This shows most clearly when you eat late, while melatonin is already high. My advice for G carriers: move your last large meal earlier in the evening and keep an eye on your fasting glucose.
For rs10830964 (C2120T), the T allele is associated with insomnia. How this happens is not settled; fewer receptors or lower activity are only proposed mechanisms. Melatonin, magnesium, hops, chamomile and passion flower are discussed as support. A proven benefit for you as a T carrier is not established. The receptor thus links sleep, daily rhythm and blood sugar.
Late dinner? This gene makes your blood sugar sluggish at night
Alleles
CGTno effect allele set
Frequency
26 %minor allele, share of allele copies
Protein
no changeregulatory variant
Position
Chr. 1192,975,544 (GRCh38)
Alleles on the GRCh38 forward strand. Frequency from the 1000 Genomes phase 3 reference panel (all populations) via Ensembl.
That 10 pm meal can hit your blood sugar very differently than it hits your partner's, and a melatonin gene helps decide why.
Timing of your last meal matters most. Meta-analyses, including one of 13,752 participants, link the G allele to a higher type 2 diabetes risk. One study on insulin and C-peptide kinetics showed a weaker insulin response to glucose in G carriers. A meta-analysis on gene-environment interactions of circadian genes supports that meal timing and genotype interact. In practice: finish dinner at least 3 hours before bed and keep late carbs small. Meta-analyses also tie the variant to gestational diabetes and PCOS, and it even shapes the dose response to diabetes drugs like nateglinide.
More of this
Last meal at least 3 hours before bed
Biggest meal at lunch instead of dinner
General nutrition adviceProtein and vegetables in the evening
General nutrition adviceA 10-minute walk after dinner
General nutrition adviceFixed sleep times to keep your melatonin rhythm stable
Lab or mechanism
Less of this
Snacks after 9 pm
Large carb portions right before sleep
Sweets and alcohol as a nightcap
General nutrition adviceEating during night shifts or under late screen light
Lab or mechanism
Foods and their active compounds
- Evening vegetables (e.g. broccoli, zucchini)Dietary fiber (cellulose, pectins)
It slows the glucose rise when you eat early and light.
- Eggs, fish, poultryProtein (amino acids)
In the evening it fills you up with little glucose load for your weaker insulin response.
- White bread, pasta, rice late at nightStarch (fast-digesting carbohydrates)
They demand much insulin shortly before sleep, which G carriers release less well.
- Sweets and desserts after 9 pmSucrose
Sugar raises glucose late, when the insulin response is weaker.
- Alcohol as a nightcapEthanol
It disturbs sleep and overnight glucose metabolism, so skip it in the evening.
Relevant measurements and tests
Fasting glucose, HbA1c and an oral glucose tolerance test with insulin and C-peptide show whether your insulin response runs weaker.
Studies (10)
- A systematic review of genetic variations and DNA methylation alterations underlying circadian rhythm sleep-wake disorders. Sleep Med Rev 2026 · meta-analysis
- Aggregation of Genome-Wide Association Data from FinnGen and UK Biobank Replicates Multiple Risk Loci for Pregnancy Complications. Genes (Basel) 2022 · meta-analysis
- Development of pharmacogenomic algorithm to optimize nateglinide dose for the treatment of type 2 diabetes mellitus. Pharmacol Rep 2022 · meta-analysis
- Association between melatonin receptor gene polymorphisms and polycystic ovarian syndrome: a systematic review and meta-analysis. Biosci Rep 2020 · meta-analysis
- The association between melatonin receptor 1B gene polymorphisms and type 2 diabetes mellitus (T2DM) in Chinese populations: a meta-analysis. Ann Palliat Med 2020 · meta-analysis
- Gene-Environment Interactions of Circadian-Related Genes for Cardiometabolic Traits. Diabetes Care 2015 · meta-analysis
- Relationship between melatonin receptor 1B (rs10830963 and rs1387153) with gestational diabetes mellitus: a case-control study and meta-analysis. Arch Gynecol Obstet 2016 · meta-analysis
- Melatonin receptor 1B gene rs10830963 C/G polymorphism associated with type 2 diabetes mellitus: An updated meta-analysis of 13,752 participants. Heliyon 2022
- MTNR 1B (rs10830963) Gene Polymorphism, but not MTNR 1A (rs2119882), Associated with Type 2 Diabetes Mellitus Risk in Saudi Arabia. Clin Lab 2024
- The rs10830963 Polymorphism of the MTNR1B Gene: Association With Abnormal Glucose, Insulin and C-peptide Kinetics. Front Endocrinol (Lausanne) 2022
Your Melatonin Receptor: Why Sleep May Slip in T Carriers
Alleles
CTEffect allele T, marked gold
Frequency
16.9 %minor allele, share of allele copies
Protein
no changeregulatory variant
Position
Chr. 1192,986,515 (GRCh38)
Alleles on the GRCh38 forward strand. Frequency from the 1000 Genomes phase 3 reference panel (all populations) via Ensembl.
About 17 in 100 people carry an MTNR1B variant linked to sleep trouble, and your evening routine could be the lever.
MTNR1B codes for a receptor that listens to melatonin, the hormone that signals sleep onset. The T allele of rs10830964 is linked to insomnia, possibly through fewer receptors or lower activity, though that mechanism is still only proposed.
Evidence is weak, so treat these as options, not promises. A double-blind trial in care home residents with primary insomnia used 5 mg melatonin, 225 mg magnesium and 11.2 mg zinc daily and found better sleep quality than placebo. Magnesium acts on GABA signaling, which may help T carriers too. Hops, chamomile and passion flower contain compounds like apigenin and chrysin. Lab and animal studies suggest they calm via GABA or adenosine receptors. Caffeine blocks adenosine signals and keeps you alert, which can worsen existing sleep problems. A genome-wide study confirmed that adenosine receptor variants shape caffeine-related sleep disturbance.
More of this
Melatonin 5 mg in the evening, combined with magnesium and zinc in the trial (only with existing sleep problems)
Randomised trial, PubMed 21226679Magnesium 225 mg daily, as in the insomnia trial
Randomised trial, PubMed 21226679Zinc 11.2 mg daily, also from that trial
Randomised trial, PubMed 21226679Hop or valerian-hop tea in the evening
Animal or cell study, PubMed 12175708Chamomile tea in the evening
Animal or cell study, PubMed 22370792Passion flower tea in the evening
Animal or cell study, PubMed 9234160
Less of this
Coffee in the afternoon and evening
Observational study, PubMed 22754043Cola and energy drinks after 2 pm
Observational study, PubMed 22754043Strong green or black tea at night
Observational study, PubMed 22754043Heavy meals right before bed
General nutrition advice
Foods and their active compounds
- Melatonin supplement (evening, if you have sleep problems)Melatonin
May directly stimulate the melatonin receptor in T carriers with existing sleep problems.
- Pumpkin seeds, almonds, spinachMagnesium
Supports GABA signaling and may improve sleep quality in insomnia.
- Hop tea or valerian-hop teaHop compounds (e.g. xanthohumol, bitter acids)
May calm in the evening via adenosine receptors; the evidence is weak.
- Chamomile teaApigenin
Lab studies suggest a calming effect via GABA receptors that may ease falling asleep.
- Passion flower teaChrysin
Animal studies point to a calming effect via GABA receptors.
- Coffee, cola, energy drinks, strong teaCaffeine
Blocks adenosine signals and keeps you awake, so skip it in the afternoon and evening.
Which type are you?
You do not carry the variant, so this spot in your melatonin receptor gives no sign of a higher insomnia risk.
With one copy of the variant, a slightly higher insomnia risk is discussed, and if you already sleep poorly it may help to skip caffeine in the afternoon.
With two copies of the variant, the possible insomnia risk is most pronounced, and magnesium (e.g. 225 mg in the evening) plus chamomile or hops are options, while caffeine can worsen sleep problems.
Relevant measurements and tests
A whole blood or serum magnesium level shows whether your mineral status fits. A sleep diary or tracker shows how long you take to fall asleep.
Studies (6)
- Behavioral characterisation of the flavonoids apigenin and chrysin. Fitoterapia 2000
- Interactions of valerian extracts and a fixed valerian-hop extract combination with adenosine receptors. Life Sci 2002
- The effect of melatonin, magnesium, and zinc on primary insomnia in long-term care facility residents in Italy: a double-blind, placebo-controlled clinical trial. J Am Geriatr Soc 2011
- Enhancement of pentobarbital-induced sleep by apigenin through chloride ion channel activation. Arch Pharm Res 2012
- A genome-wide association study of caffeine-related sleep disturbance: confirmation of a role for a common variant in the adenosine receptor. Sleep 2012
- Behavioural effects of Passiflora incarnata L. and its indole alkaloid and flavonoid derivatives and maltol in the mouse. J Ethnopharmacol 1997
Which MTNR1B variant do you carry?
Which variant you carry shows in your Genome Report from HUMAN ALCHEMIST, taken from a cheek swab.