🎧 Listen to this article
There’s a cell in your brain that decides — literally cell by cell — whether your synapses get preserved or digested away. It’s called a microglia, and whether it works as your brain’s maintenance crew or its demolition team is being voted on every day by what lands on your plate. Not by your genes. By your blood sugar.
We covered what these cells do at night in the sleep piece about your brain’s night-shift immune cells. This is the other half of the story, the one that happens while you’re awake: the metabolic switch that flips microglia from defenders to destroyers — and the research, much of it popularized by neurologist Dr. David Perlmutter, showing that the flip is driven by things you control. If you want the broader foundation first, start with what microglia actually are and what functional medicine gets right about them. Here, we go one layer deeper: metabolism.
What’s actually happening
Microglia are the resident immune cells of the brain — its dedicated innate immune system. In their supportive state (researchers call it M2), they clear debris, tend synapses, and keep the environment right for neurons to fire. In their inflamed state (M1), they pump out cytokines, strip away synapses, and — here’s the brutal part — recruit other M2 microglia into becoming M1 too. The inflammatory signal spreads through brain tissue like a rumor: each converted cell converts others (Hashemiaghdam et al., Journal of Neuroimmunology, 2020). That’s the feed-forward cascade, and it’s why neurodegeneration keeps progressing even after the original trigger — a head injury, an infection, years of metabolic abuse — is long gone.
The engine of this switch is the cell’s mitochondria. When microglia flip to the destructive state, their mitochondria effectively come offline and the cell falls back on sloppy, inefficient glucose fermentation (Joshi et al., Nature Neuroscience, 2019). That’s why the field now talks about immunometabolism: the metabolism of these immune cells and their behavior are the same conversation. Change how the cell makes energy and you change what the cell does.
Why this is happening to you specifically
Because your brain’s immune cells are eavesdropping on your bloodstream. Microglia carry receptors that let them sense the metabolic state of your whole body. When blood sugar runs chronically high, glucose binds to your proteins — glycation — and your brain’s immune system reads those sugared proteins as foreign. Cue the flip to M1. This is the proposed mechanism behind one of the starkest numbers in neurology: type 2 diabetes is associated with a roughly three-fold increase in Alzheimer’s risk (Burillo et al., Cells, 2021). Alzheimer’s researchers have started calling insulin resistance of the brain “type 3 diabetes” for a reason.
And the insult arrives in bulk. In a prospective cohort of over 72,000 people followed for a decade, each additional serving of ultra-processed food per day was associated with a measurable increase in dementia risk (Li et al., Neurology, 2022), and meta-analyses pooling observational studies now find high UPF intake consistently associated with dementia (Henney et al., Journal of Neurology, 2024). If you’re a woman between 38 and 52 juggling work, kids, and a blood sugar rollercoaster built on bars, crackers, and “just one handful” of chips at 4pm — this is not a future-tense problem. The M1 recruitment is already taking attendance. It also explains the brain fog so many women in perimenopause get dismissed about — which is often microglial inflammation, not “just hormones”.
Here’s the part worth sitting with: the seeds are sown in your 30s and 40s, decades before anyone notices a misplaced word or a forgotten name. Cognitive decline is the late symptom, not the first one.
What you can do today
1. Stabilize the signal. Every glucose spike is a memo to your microglia. Build meals around protein, fiber, and healthy fat first; eat carbohydrates after, not instead. Fasting insulin and A1C are the numbers that tell you whether the memo is getting friendlier — more on that in the gut-brain immune pathway.
2. Feed the gut that feeds the brain. Dysbiosis thins your gut lining, lets inflammatory cytokines cross the blood-brain barrier, and hands your microglia an “intruder” alarm. Fiber and polyphenol-rich plants — the colorful stuff — are how you keep that alarm quiet. Butyrate-producing fiber is a good place to start (what to eat for butyrate).
3. Move like your mitochondria depend on it — they do. Exercise is the most reliable way to nudge microglia back toward the supportive state. In the US POINTER trial, older adults who got intensive, structured coaching on exercise, diet, and vascular health didn’t just slow decline — they improved cognitively over two years (Baker et al., JAMA, 2025).
4. Take the lifestyle intervention seriously as treatment, not prevention theater. In a randomized controlled trial of patients who already had mild cognitive impairment or early Alzheimer’s, 20 weeks of intensive diet, exercise, and stress changes produced measurable cognitive improvement in a substantial share of participants (Ornish et al., Alzheimer’s Research & Therapy, 2024). Not slowing decline — reversing trajectory. That’s how much leverage the M2 state still holds even after diagnosis.
What to stop doing
Stop treating dementia as a lottery. The “it’s all in your genes” framing deserves retirement — APOE4 loads the gun, but metabolism pulls the trigger, and the same lifestyle trial results above held across risk profiles. Stop outsourcing acid control to over-the-counter proton pump inhibitors you don’t medically need; shifting stomach pH reshapes the microbiome, and habitual PPI use is associated with higher dementia risk. And stop letting “healthy-ish” ultra-processed snacks — the protein bars with 30 ingredients, the veggie chips — count as plants. Your microglia read the ingredient list, not the marketing.
The supplement / product question
Two supplement categories actually map onto the mechanism here — mitochondrial support and blood sugar control. Honest assessment: they’re the fine-tuning on top of the big levers, not replacements for them.
Urolithin A is the compound your gut bacteria make from pomegranate and walnut polyphenols — when you have the right microbes. It drives mitophagy, the recycling of damaged mitochondria, which is exactly the organelle that goes offline when microglia flip to M1. If your microbiome isn’t producing it, Timeline Mitopure Urolithin A delivers the studied form directly.
Berberine is the best-evidenced supplement for the blood-sugar side of the equation, improving insulin sensitivity through mechanisms comparable to metformin — relevant when insulin resistance is the memo your brain keeps receiving. NOW Foods Berberine HCL 500mg is a straightforward, widely tested option.
Not a supplement, but the sleep-microglia connection runs through the same machinery — if you’re chronically short on sleep, no stack will compensate. See which magnesium types actually help with sleep.
This post contains affiliate links. If you purchase through these links, I may earn a small commission at no extra cost to you.
What we still don’t know
TSPO imaging now lets researchers see activated microglia light up in living brains — in Alzheimer’s, depression, long COVID, PTSD. What nobody can say yet: whether the activation is the cause of the damage, the cleanup crew responding to it, or both at once. If it’s partly a response, then drugging microglia into silence could backfire; if it’s the driver, reprogramming them is the whole game. Trials targeting microglial mitochondria are underway, but in humans, nobody has shown that you can flip an entrenched M1 population back to M2 at scale. The honest position: the lifestyle evidence is strong, the mechanism is compelling, and the causal picture in living brains is still being drawn.
Save this for later — or send it to someone who keeps getting told their brain fog is just stress.
