Why You Toss and Turn All Night But Crash Hard During the Day
You toss and turn all night, staring at the ceiling, but when morning comes, you drag yourself through the day until you crash hard by 2 PM. The culprit is often a disrupted circadian rhythm caused by magnesium deficiency—a critical mineral that regulates sleep-wake cycles, melatonin production, and nervous system function. When your body lacks magnesium, GABA receptors that calm your brain at night don't function properly, cortisol stays elevated, and your internal clock falls out of sync.
This paradox—exhausted yet wired—affects millions of Americans. You're too tired to focus during the day but too alert to sleep at night. The solution isn't just "better sleep hygiene"; it's addressing the nutritional gaps that sabotage your circadian rhythm from the inside out.
What Is the Circadian Rhythm and Why Does It Break Down?
Your circadian rhythm is a 24-hour internal clock regulated by the suprachiasmatic nucleus in your brain. It controls when you feel alert, when melatonin rises to make you sleepy, and when cortisol peaks to wake you up. Light, temperature, and meal timing all influence this clock—but so do minerals like magnesium.
Magnesium acts as a cofactor for over 300 enzymatic reactions, including those that produce melatonin and regulate GABA, the neurotransmitter that quiets your mind. When magnesium levels drop—due to processed foods, chronic stress, or poor gut absorption—your circadian rhythm loses its conductor. Cortisol stays high at night, melatonin production falters, and you end up exhausted but unable to sleep.
Studies show that magnesium supplementation improves sleep quality and reduces the time it takes to fall asleep, particularly in older adults and people with restless leg syndrome. One study found that magnesium glycinate supplementation reduced insomnia severity and improved sleep efficiency (PMID: 23853635).
How Magnesium Deficiency Disrupts Your Sleep-Wake Cycle
Approximately 50% of Americans don't meet the recommended daily intake of magnesium (420 mg for men, 320 mg for women). Modern diets high in refined grains, sugar, and processed foods are notoriously low in this mineral. Stress, alcohol, and certain medications (like proton pump inhibitors) further deplete magnesium stores.
When magnesium is low, your body can't properly activate GABA receptors. GABA is the brain's "off switch"—it reduces neuronal excitability and helps you relax. Without sufficient magnesium, your nervous system stays in overdrive, making it nearly impossible to fall asleep even when you're physically exhausted.
At the same time, low magnesium disrupts melatonin synthesis. Melatonin is your body's natural sleep hormone, rising in the evening to signal bedtime. Magnesium is required for the conversion of serotonin to melatonin. No magnesium, no melatonin—and you're left staring at the ceiling at 2 AM.
Why Do You Crash Hard During the Day But Can't Sleep at Night?
This exhaustion-insomnia paradox is a hallmark of circadian misalignment. Your cortisol—the "wake-up" hormone—should peak in the morning and taper off by evening. But when your circadian rhythm is off, cortisol patterns invert. You wake up groggy (low cortisol) and feel wired at night (high cortisol).
Magnesium helps regulate the hypothalamic-pituitary-adrenal (HPA) axis, which controls cortisol release. When magnesium is deficient, the HPA axis becomes dysregulated, leading to chronic stress, anxiety, and the dreaded "tired but wired" feeling.
During the day, your energy crashes because your mitochondria—the powerhouses of your cells—can't produce ATP efficiently without magnesium. ATP (adenosine triphosphate) is your body's energy currency, and magnesium is required to stabilize it. Low magnesium means low ATP, which translates to brain fog, muscle weakness, and that heavy, sluggish feeling by mid-afternoon.
For a deeper dive into how your energy levels fluctuate throughout the day and how to optimize them, check out our energy levels throughout the day optimization guide.
7 Concrete Tips to Fix Your Sleep-Wake Cycle and Reclaim Your Energy
1. Prioritize Magnesium-Rich Foods (and Consider Supplementation)
Food first: dark leafy greens (spinach, kale), pumpkin seeds, almonds, black beans, avocado, and dark chocolate (70%+ cacao) are all excellent sources of magnesium. Aim for at least 300–400 mg daily from whole foods.
However, soil depletion and food processing have reduced the magnesium content in many crops. If you're struggling with sleep, supplementation may be necessary. Magnesium glycinate is highly bioavailable and gentle on the stomach. Avoid magnesium oxide, which has poor absorption and can cause digestive upset.
Spirulina, a nutrient-dense blue-green algae, is also a natural source of magnesium and has been shown to reduce oxidative stress and improve sleep quality. A randomized controlled trial found that spirulina supplementation improved sleep quality and reduced stress levels in healthy adults (PMID: 34107141). Spirulina also contains chlorophyll, which supports detoxification pathways and overall vitality.1
Support Your Circadian Rhythm with Pure Greens
Pure Greens is a Danish-developed greens powder with exactly 13 clean, transparent ingredients—including spirulina, chlorella, spinach, and barley grass—all rich in magnesium, chlorophyll, and phytonutrients that support normal energy metabolism and nervous system function.2
- 13 ingredients — every single one listed on the label, no proprietary blends
- One-time purchase or subscribe & save — no lock-in, cancel anytime
- Transparent nutrition — Danish-quality standards, shipped to the US
2. Align Your Light Exposure with Your Circadian Clock
Light is the most powerful zeitgeber (time-giver) for your circadian rhythm. Get 10–15 minutes of natural sunlight within 30 minutes of waking. This morning light exposure suppresses residual melatonin and triggers a cortisol spike that wakes you up naturally.
In the evening, dim the lights and limit blue light exposure from screens. Blue wavelengths suppress melatonin production, tricking your brain into thinking it's still daytime. Use blue-light-blocking glasses or apps like f.lux after 7 PM.
If you struggle with winter fatigue and sleep disruption due to reduced daylight, read our article on why you need more sleep in winter but feel more tired, which covers the vitamin D and melatonin cycle your body can't balance on its own.
3. Eat Dinner Early and Avoid Late-Night Snacking
Your circadian rhythm doesn't just regulate sleep—it also controls digestion. Eating late at night disrupts your metabolic clock and raises core body temperature, both of which interfere with sleep onset.
Aim to finish dinner at least 3 hours before bed. This allows your digestive system to wind down and your body temperature to drop—a critical signal for melatonin release. If you need a snack, choose magnesium-rich options like a small handful of almonds or a banana (which also contains tryptophan, a precursor to serotonin and melatonin).
Late-night eating can also contribute to digestive issues like bloating and constipation, which further disrupt sleep. For daily habits that support digestive regularity, see our guide on constipation prevention through daily habits.
4. Create a Consistent Sleep Schedule (Even on Weekends)
Your circadian rhythm thrives on consistency. Going to bed and waking up at the same time every day—even on weekends—reinforces your internal clock and makes it easier to fall asleep and wake up naturally.
Irregular sleep schedules confuse your suprachiasmatic nucleus, leading to "social jet lag." Your body doesn't know when to release melatonin or cortisol, so you end up tired during the day and wired at night. Set a bedtime alarm as a reminder to start winding down.
5. Support Your Gut Microbiome for Better Sleep
Your gut and brain communicate via the gut-brain axis, and emerging research shows that gut bacteria influence circadian rhythms, neurotransmitter production, and sleep quality. A diverse microbiome supports serotonin synthesis (90% of serotonin is made in the gut), which is then converted to melatonin.
Fermented foods like sauerkraut, kimchi, kefir, and yogurt increase microbiome diversity. A landmark Stanford study found that a diet rich in fermented foods significantly increased microbiome diversity and reduced markers of inflammation (Wastyk et al., 2021, Cell 184(16):4137, PMID: 34256014).
Chlorella and spirulina also support gut health by providing prebiotic fiber and antioxidants. Spirulina has been shown to reduce oxidative stress and improve endurance, which can help stabilize energy levels throughout the day (Kalafati et al., 2010, Med Sci Sports Exerc, PMID: 19936191).3
6. Manage Stress with Breathwork and Magnesium
Chronic stress depletes magnesium and keeps cortisol elevated, creating a vicious cycle of insomnia and fatigue. Breathwork—particularly slow, diaphragmatic breathing—activates the parasympathetic nervous system, signaling your body to relax.
Try the 4-7-8 technique before bed: inhale for 4 counts, hold for 7, exhale for 8. Repeat 4 times. This practice lowers heart rate, reduces cortisol, and primes your body for sleep.
Pairing breathwork with magnesium supplementation amplifies the calming effect. Magnesium supports GABA function and helps regulate the stress response, making it easier to unwind at night.
7. Limit Caffeine After Noon and Alcohol at Night
Caffeine has a half-life of 5–6 hours, meaning that afternoon coffee is still in your system at bedtime. Even if you can "fall asleep" after caffeine, it fragments your sleep architecture and reduces deep sleep—the restorative phase your body needs most.
Alcohol may make you drowsy initially, but it disrupts REM sleep and increases nighttime awakenings. It also depletes magnesium and dehydrates you, worsening sleep quality. Limit alcohol to earlier in the evening and never use it as a sleep aid.
How Does Pure Greens Support Your Circadian Rhythm and Energy Levels?
Pure Greens is formulated with 13 ingredients that work synergistically to support normal energy metabolism, nervous system function, and overall vitality. Each ingredient is listed transparently on the label—no proprietary blends, no hidden fillers.
| Feature | Pure Greens | Typical Greens Powder |
|---|---|---|
| Ingredient Count | Exactly 13 | 40–75 (proprietary blends) |
| Transparency | Every ingredient listed by name and amount | Proprietary blends, undisclosed amounts |
| Purchase Model | One-time or subscribe & save (cancel anytime) | Often requires subscription lock-in |
| Quality Standards | Danish-developed, clean formulation | Varies widely |
Key ingredients in Pure Greens that support circadian health:
- Spirulina: Rich in magnesium, chlorophyll, and phycocyanin; supports normal energy production and sleep quality1
- Chlorella: Supports detoxification pathways and provides bioavailable magnesium4
- Spinach and Barley Grass: Natural sources of magnesium, folate, and B vitamins that support nervous system function5
- Kelp: Provides iodine, which supports thyroid function and metabolic regulation6
One serving (11g scoop) delivers a concentrated dose of plant-based nutrients that support your body's natural rhythms—without the junk, fillers, or mystery ingredients found in many greens powders.
Try Pure Greens Risk-Free
Order once or subscribe and save—cancel anytime. No lock-in, no auto-renewals unless you choose them. Just 13 clean, transparent ingredients designed to support your energy, digestion, and overall vitality.
What Else Can Disrupt Your Circadian Rhythm?
Beyond magnesium deficiency, several other factors can throw your internal clock out of sync:
- Shift work and jet lag: Irregular schedules confuse your suprachiasmatic nucleus and disrupt melatonin/cortisol patterns
- Chronic stress: Elevates cortisol at night, suppresses melatonin, and depletes magnesium
- Poor gut health: Dysbiosis (imbalanced gut bacteria) reduces serotonin production and disrupts the gut-brain axis
- Nutrient deficiencies: Low B vitamins, vitamin D, and magnesium all impair circadian function
- Inflammatory diet: Processed foods, excess sugar, and trans fats increase systemic inflammation, which disrupts sleep architecture
Frequently Asked Questions
Why do I feel tired all day but can't fall asleep at night?
You likely have circadian misalignment caused by low magnesium, irregular sleep schedules, or chronic stress. Magnesium regulates GABA and melatonin production, and when it's deficient, your nervous system stays overactive at night. Your cortisol rhythm may also be inverted—low in the morning (making you groggy) and high at night (making you wired).
How much magnesium do I need to improve sleep?
Most adults need 300–420 mg of magnesium daily. For sleep support, studies suggest 200–400 mg of magnesium glycinate taken 1–2 hours before bed. Start with 200 mg and increase gradually if needed. Always consult a healthcare provider before starting any new supplement.
Can spirulina really help with sleep quality?
Yes. A randomized controlled trial found that spirulina supplementation improved sleep quality and reduced stress levels in healthy adults (PMID: 34107141). Spirulina is rich in magnesium, chlorophyll, and phycocyanin, all of which support nervous system function and reduce oxidative stress.1
What's the best time to take a greens powder for energy?
Morning is ideal. A greens powder like Pure Greens provides B vitamins, magnesium, and chlorophyll that support normal energy metabolism and help stabilize blood sugar throughout the day. Mix one scoop (11g) with water or a smoothie within an hour of waking for best results.
Does gut health really affect sleep?
Absolutely. The gut-brain axis connects your microbiome to your central nervous system. Gut bacteria produce neurotransmitters like serotonin (a precursor to melatonin) and influence circadian gene expression. A diverse microbiome supports better sleep quality and mood regulation. Fermented foods and prebiotic fiber from greens can help optimize gut health.
Why do I crash hard in the afternoon even after sleeping 8 hours?
Afternoon crashes are often caused by blood sugar spikes and crashes, low magnesium, or poor sleep quality (not just quantity). Even if you sleep 8 hours, if you're not getting enough deep sleep or REM sleep—often due to magnesium deficiency, alcohol, or caffeine—you won't feel rested. Stable blood sugar, adequate magnesium, and consistent sleep schedules are key.
Can I take magnesium every night long-term?
Yes, magnesium is generally safe for long-term use at recommended doses (300–420 mg daily). Magnesium glycinate is well-tolerated and less likely to cause digestive upset. However, if you have kidney disease or take certain medications, consult your doctor before supplementing.
The Bottom Line: Fix Your Circadian Clock, Reclaim Your Energy
Tossing and turning all night while crashing hard during the day isn't a character flaw—it's a circadian rhythm disruption driven by magnesium deficiency, poor light exposure, stress, and gut imbalances. The solution is multi-pronged: prioritize magnesium-rich foods and supplementation, align your light exposure with your internal clock, eat dinner early, maintain a consistent sleep schedule, support your gut microbiome, manage stress, and limit caffeine and alcohol.
Pure Greens supports this entire system with 13 transparent, nutrient-dense ingredients—including spirulina, chlorella, and spinach—that provide magnesium, chlorophyll, and B vitamins to support normal energy metabolism, nervous system function, and overall vitality.2,4,5
Why Pure Greens?
- Exactly 13 ingredients — every single one listed by name and amount on the label
- Danish-developed formulation — clean, transparent, no proprietary blends
- One-time purchase or subscribe & save — cancel anytime, no lock-in
- Real nutrition — no fillers, no mystery blends, just plants
Claims Overview
- Spirulina supports normal energy production, nervous system function, and sleep quality. Randomized controlled trial: spirulina supplementation improved sleep quality and reduced stress levels (PMID: 34107141).
- Pure Greens contains magnesium, B vitamins, and chlorophyll that support normal energy metabolism and nervous system function.
- Spirulina supports endurance and reduces oxidative stress (Kalafati et al., 2010, Med Sci Sports Exerc, PMID: 19936191).
- Chlorella supports detoxification pathways and provides bioavailable magnesium.
- Spinach and barley grass provide magnesium, folate, and B vitamins that support nervous system function.
- Kelp provides iodine, which supports normal thyroid function and metabolic regulation.
References
- PMID: 34107141 — Spirulina RCT: improved sleep quality and stress levels in healthy adults.
- Kalafati M, et al. (2010). Ergogenic and antioxidant effects of spirulina supplementation in humans. Med Sci Sports Exerc. PMID: 19936191.
- Wastyk HC, et al. (2021). Gut-microbiota-targeted diets modulate human immune status. Cell 184(16):4137–4153.e14. PMID: 34256014.
- PMID: 23853635 — Magnesium supplementation improves insomnia severity and sleep efficiency.
These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.



