Skip to content

Anxiety & Mental Health: When it's a brain problem, not a mind problem

The biochemistry behind anxiety and low mood, and why testing should come before assumptions.

JarrodCooper_300x300

Jarrod Cooper - ND

Naturopathic Doctor · Author, The Healing Hierarchy

20 min read Updated 2026

If you are dealing with anxiety, low mood, brain fog, or poor concentration, you have probably been told it is stress. Or you need to meditate more. Or you should consider medication. Maybe you have tried an SSRI and it helped a little, or it made you feel numb, or it did nothing at all.

What nobody may have asked you is whether your brain has the raw materials it needs to function. Because anxiety, depression, and brain fog are not always psychological problems. They are often biochemical ones. And the difference matters, because the treatment is completely different.

After more than a decade treating complex chronic illness, I can tell you that a significant proportion of the mental health presentations I see have measurable, testable, biochemical drivers. Not all of them. But enough that testing should be the first step, not the last resort.

This guide covers the biochemistry behind common mental health symptoms, the gut-brain connection, what testing reveals that standard psychiatric assessment misses, and what can be done about it.

Your Brain Is an Organ

This sounds obvious, but the implications are routinely ignored in clinical practice. Your brain is a biological organ that requires specific nutrients, adequate blood flow, stable blood sugar, balanced neurotransmitters, and a healthy inflammatory environment to function properly. When any of these are disrupted, the brain produces symptoms. Those symptoms feel psychological. They feel like anxiety, like depression, like an inability to think clearly. But the cause is often biological.

Your brain cannot make serotonin without adequate tryptophan, iron, B6, zinc, and magnesium. It cannot make dopamine without tyrosine, iron, B6, and copper. It cannot make GABA, the calming neurotransmitter that puts the brakes on anxious thoughts, without glutamate, B6, and the right gut bacteria. It cannot maintain stable mood without steady blood sugar. It cannot regulate inflammation without omega-3 fatty acids, vitamin D, and a functioning gut barrier.

When these raw materials are missing, the brain does not produce calm, focus, or stable mood. Not because of a psychological deficit. Because of a biochemical one. You cannot think your way out of a nutrient deficiency. You cannot meditate away a zinc deficit. You cannot journal your way through a gut infection that is producing neurotoxins.

This is not to dismiss psychological factors. Trauma, learned patterns, life circumstances, and relational stress are all real and valid contributors to mental health. But when a patient has tried therapy, tried medication, tried lifestyle changes, and is still struggling, the biochemistry deserves investigation. In my experience, finding and treating a biological driver often makes the psychological work finally stick.

Blood Sugar: The Most Overlooked Driver

This is one of the most overlooked drivers of anxiety and mood instability, and one of the simplest to fix. When blood sugar crashes, the body releases adrenaline and cortisol to mobilise glucose. The subjective experience of this is indistinguishable from a panic attack: rapid heart rate, shallow breathing, sweating, racing thoughts, a sense of dread that arrives from nowhere.

If you eat a high-carbohydrate meal, skip meals regularly, or rely on sugar and caffeine to get through the day, your blood sugar spikes and then crashes. Each crash triggers a stress hormone surge. If this happens multiple times a day, your nervous system is being bathed in stress hormones around the clock. Over time, this depletes the very nutrients (B vitamins, magnesium, zinc) that the brain needs to produce calming neurotransmitters. The anxiety feeds itself.

I regularly see patients whose panic attacks resolve entirely once blood sugar is stabilised through dietary changes. Protein at every meal, reducing refined carbohydrates, and not skipping meals. No supplements needed. No medication change. The panic was never psychological. It was metabolic. The body was doing exactly what it is designed to do in response to a blood sugar crisis. Fix the blood sugar and the panic response stops.

If your anxiety is worst in the late morning, mid-afternoon, or the middle of the night (the classic 2-3am waking), blood sugar instability is almost certainly contributing. A blood sugar crash at 2am triggers a cortisol spike that wakes you up. You lie there with a racing heart and racing mind, convinced you are anxious. You are not anxious. You are hypoglycaemic. And the fix is a protein-rich snack before bed, not a benzodiazepine.

The Gut-Brain Axis

Approximately ninety-five per cent of your serotonin is produced in the gut, not the brain. Your gut bacteria also produce precursors to GABA, dopamine, and other neurochemicals. The gut and brain communicate constantly through the vagus nerve, forming a two-way highway that means gut dysfunction directly affects brain function in real time.

The gut-brain axis in anxiety

When gut bacteria are out of balance, the effects on the brain are direct and measurable. Certain bacterial species produce toxins that cross the blood-brain barrier and interfere with neurotransmitter function. Clostridia species in particular produce metabolites that deplete dopamine. Others consume the amino acid precursors the brain needs for serotonin and GABA production. When the gut lining is permeable, inflammatory molecules enter the bloodstream and drive neuroinflammation, which presents as brain fog, poor concentration, and mood disturbance.

I have treated patients whose anxiety resolved entirely through gut treatment. No psychological intervention. No medication. The anxiety was driven by a gut infection producing inflammatory toxins and disrupting neurotransmitter production. Once the infection was cleared and the gut healed, the anxiety disappeared. Not gradually faded. Disappeared. The patient described it as someone turning off a switch.

I have also treated patients whose depression lifted after clearing a parasitic infection that had been consuming their tryptophan, the amino acid precursor to serotonin. The depression had been diagnosed as clinical depression. It was a parasite. A stool test found it. Targeted treatment cleared it. The mood normalised within weeks.

This is not to say that all anxiety or depression is gut-driven. But if you have gut symptoms alongside mood or cognitive symptoms, the connection should be investigated before assuming the problem is purely psychological.

Two Hidden Drivers Most Practitioners Miss

Beyond gut dysfunction and blood sugar, two biochemical patterns drive a significant proportion of the mental health cases I see. Both are testable and both respond to targeted nutrient therapy.

Pyrrole disorder (pyroluria).

Elevated kryptopyrroles in the urine deplete zinc and B6, two nutrients critical for neurotransmitter production. Zinc is required for GABA production and over 300 enzymatic reactions. B6 (as pyridoxal-5-phosphate) is required for the production of serotonin, dopamine, and GABA. When both are chronically depleted by elevated pyrroles, the brain cannot produce adequate calming neurotransmitters.

Pyrrole disorder presents as poor stress tolerance, emotional volatility, sensitivity to light and sound, poor dream recall (because B6 is required for dream formation), a tendency to withdraw under pressure, inner tension that feels disproportionate to circumstances, and a history of symptoms that worsen under stress and improve during low-demand periods. It is remarkably common in anxiety, depression, behavioural disorders in children, and ADHD.

It is tested with a simple urine kryptopyrrole test. If elevated, treatment with zinc picolinate and pyridoxal-5-phosphate (active B6) can produce significant improvement within four to eight weeks. I have seen patients with decades of anxiety improve dramatically from this single intervention when it is the primary driver.

Copper-zinc imbalance.

Copper and zinc exist in a ratio in the body, and when copper is elevated relative to zinc, it directly affects neurotransmitter metabolism. High copper increases noradrenaline (the fight-or-flight neurotransmitter) and can suppress dopamine. The result is anxiety, inner restlessness, racing thoughts, hormonal mood instability, and in some cases paranoia under stress.

Elevated copper relative to zinc is especially common in women because oestrogen raises copper levels. Post-partum depression has a strong association with copper overload because pregnancy dramatically increases copper while depleting zinc. Women on the oral contraceptive pill often have elevated copper. The pattern shows up on a blood panel (serum copper and zinc) and on hair tissue mineral analysis (HTMA).

Treatment involves zinc repletion to bring the ratio back into balance, alongside supporting the liver’s ability to produce ceruloplasmin, the protein that binds and transports copper safely. This is not a fast fix. Copper rebalancing can take six to twelve months. But the improvement in mood and anxiety is often profound once the ratio normalises.

Biochemical Patterns Behind Mental Health

Through clinical experience and influenced by the work of Dr William Walsh and his research into biochemical individuality, I look for specific patterns that predict which biochemical drivers are at play.

Undermethylation

is associated with depression that does not respond well to SSRIs on their own, perfectionism, high inner drive combined with persistent low mood, seasonal mood patterns (worse in autumn/winter), OCD tendencies, a history of high achievement alongside internal struggle, and a tendency toward ritual and routine. Blood markers typically show elevated homocysteine, low SAMe-to-SAH ratio, and elevated whole blood histamine. These patients respond to methylation support: SAMe, methionine, methylfolate, and methyl B12.

Overmethylation

is associated with anxiety as the primary presentation rather than depression, sensory sensitivity (noise, light, crowds), adverse reactions to methyl donors (feeling worse on methylfolate or methyl B12), food and chemical sensitivities, a tendency toward paranoia or conspiracy thinking under stress, and restlessness that does not respond to relaxation techniques. These patients respond to folate (folinic acid rather than methylfolate), niacin, and calming support. Methyl donors make them dramatically worse.

The distinction matters enormously. A practitioner who prescribes methylfolate and methyl B12 to every patient with depression will help the undermethylators and harm the overmethylators. Testing determines which pattern is present. Treatment follows the data.

What Testing Reveals

A standard psychiatric assessment does not test biochemistry. It assesses symptoms and matches them to a diagnostic category, then selects medication accordingly. This approach helps many people, but it misses the patients whose mental health symptoms have a biological driver that medication alone cannot address.

The testing I run for mental health presentations includes a functional blood panel (homocysteine, active B12, folate, ferritin, vitamin D, zinc, copper, fasting glucose and insulin, full thyroid panel, inflammatory markers including CRP), an organic acids test (neurotransmitter metabolites including HVA and VMA for dopamine and adrenaline, 5-HIAA for serotonin, quinolinate for B6 status, mitochondrial markers, and toxin markers), a stool test (gut infections, permeability, inflammation, secretory IgA, bacterial metabolites that affect the brain), and in specific cases kryptopyrrole urine testing and hair tissue mineral analysis for copper-zinc ratio.

This combination frequently reveals patterns that explain why previous treatments have not worked. A patient on an SSRI whose serotonin precursors are depleted because of gut malabsorption and B6 deficiency is not going to respond to a drug that recycles serotonin, because there is not enough serotonin to recycle. The SSRI is a recycling machine. If the factory is not producing enough raw material, the recycling machine has nothing to work with.

A patient with anxiety driven by copper overload is not going to respond to talk therapy or benzodiazepines, because the driver is mineral, not psychological. A patient with brain fog caused by neuroinflammation from a leaky gut is not going to think more clearly by trying harder or sleeping more.

Testing does not replace psychological support. It complements it. And for the subset of patients whose symptoms are primarily biochemical, it changes everything.

The Restoration Sequence

Mental health restoration follows the same sequencing principles as every other system in my framework. Foundations first, then targeted support.

The order of treatment for mood

step 1 Stabilise blood sugar.

Protein at every meal, reduce refined carbohydrates, do not skip meals. This alone resolves or significantly improves a proportion of anxiety presentations within days, not weeks. It costs nothing and has no side effects.

step 2 Address the gut.

If stool testing reveals infections, dysbiosis, or permeability, the gut repair sequence comes first. The gut produces the neurotransmitter precursors the brain needs. Fix the factory before expecting better output.

step 3 Restore nutrient cofactors.

Based on testing: zinc, B6 (as P-5-P), magnesium, iron (if ferritin is below 50), vitamin D, and omega-3 fatty acids are the most commonly depleted nutrients in mental health presentations. These are supplemented immediately alongside dietary improvements. They are not luxury additions. They are the raw materials the brain requires to function.

step 4 Targeted neurotransmitter support.

Based on the biochemical pattern identified through testing. Methylation support for undermethylators (SAMe, methionine, methyl B12, methylfolate). Folate and niacin for overmethylators. Zinc and B6 for pyrrole disorder. Zinc supplementation and copper reduction strategies for copper-zinc imbalance.

step 5 Nervous system regulation.

Breathwork, vagus nerve stimulation (specific techniques, not vague advice to “relax”), appropriate movement matched to current capacity, cold exposure when tolerated, and sleep optimisation support the nervous system’s ability to shift from sympathetic (fight-or-flight) to parasympathetic (rest-and-repair). This is not a mindset exercise. It is a physiological intervention that changes measurable markers like heart rate variability.

step 6 Retest and adjust.

Nutrient levels, organic acids markers, and gut markers are retested at three to six months to confirm the biochemistry is shifting. Symptoms are tracked alongside the data. If the numbers are improving but symptoms persist, there may be a psychological component that needs specific support. If the numbers are not improving, the protocol needs adjustment. The data tells the story.

A note on medication.

SSRIs and other psychiatric medications are not the enemy. They are bridges that can hold a person stable while the upstream biochemistry is being addressed. The goal is not to avoid medication at all costs. It is to ensure the biological drivers are identified and treated so that the medication has the best chance of working, or so that the patient and their prescribing doctor can make an informed decision about whether medication remains necessary once the biochemistry has been corrected.

FAQ

Frequently
asked questions

The questions patients ask most often when they first come in. If yours isn't here, bring it to your appointment.

Can anxiety really be caused by a nutrient deficiency?

Yes. Zinc, B6, magnesium, iron, and vitamin D deficiencies are all directly associated with anxiety through their roles in neurotransmitter production and nervous system regulation. This does not mean all anxiety is nutritional, but it means testing should be done before assuming the cause is purely psychological.

I am on an SSRI but it is not working well. What should I do?

An SSRI works by keeping more serotonin active at the synapse. But if your body is not producing enough serotonin in the first place, because of depleted precursors, gut dysfunction, or poor methylation, the medication has less raw material to work with. Testing can identify whether biochemical factors are limiting the medication's effectiveness. Do not stop your medication without discussing it with your prescribing doctor.

Can gut infections cause depression?

Yes. Certain gut bacteria produce metabolites that interfere with neurotransmitter production and drive neuroinflammation. Parasites can consume amino acid precursors that the brain needs for serotonin synthesis. I have seen mood improve significantly after gut infections are cleared, without any change to psychiatric medication.

What is the difference between undermethylation and overmethylation?

Undermethylation is associated with low serotonin activity, depression, perfectionism, and OCD tendencies. It responds to methyl donors like SAMe and methyl B12. Overmethylation is associated with excess dopamine and noradrenaline activity, anxiety, and chemical sensitivity. It responds to folate, niacin, and calming nutrients. Giving methyl donors to an overmethylator makes them worse. Testing determines which pattern is present.

Should I stop my psychiatric medication to try this approach?

No. Never stop medication without medical supervision. The functional approach works alongside medication, not instead of it. As biochemistry improves, medication requirements may change, but that decision is made with your prescribing doctor based on clinical progress and retesting.

My child has anxiety. Is testing appropriate for children?

Yes. Children are often more biochemically sensitive than adults. Pyrrole disorder, zinc deficiency, blood sugar instability, copper-zinc imbalance, and gut infections are all common in children with anxiety and behavioural issues. Testing can identify treatable drivers without defaulting to medication as a first line. I see this regularly in my practice and the results in children are often faster and more dramatic than in adults because children have not been accumulating dysfunction for as long.

Can brain fog be treated?

Yes. Brain fog is almost always a symptom of something measurable: neuroinflammation from gut permeability, blood sugar instability, nutrient depletion (especially B12, iron, and magnesium), poor mitochondrial function, or thyroid dysfunction. It is not a vague complaint. It is a clinical finding that points to specific upstream drivers. Once those drivers are identified and treated, clarity returns.

How long does it take to see improvement?

Blood sugar stabilisation can improve anxiety within days. Nutrient repletion typically shows results within four to eight weeks. Gut repair takes longer, usually three to six months for significant change. Full biochemical restoration for complex cases can take six to twelve months. Most patients notice meaningful improvement within the first two to three months.

Is this approach evidence-based?

The individual components are well-supported by research. The role of zinc and B6 in neurotransmitter production is established biochemistry. The gut-brain axis is one of the most active areas of published research in medicine. Blood sugar's effect on stress hormones is textbook physiology. Dr William Walsh's research database covers over 30,000 patients with biochemical mental health data. What functional medicine adds is the integration of these individual findings into a coherent clinical framework that addresses the whole picture rather than one piece at a time.

How telehealth works

Telehealth: the same care, wherever you are

Most of the patients I treat never set foot in the Perth clinic, and that is by design, not compromise. Telehealth patients get exactly the same care and access as someone who walks in the door in person. Not a reduced version: the same practitioner, the same functional testing, the same treatment sequence, the same follow-up. Plenty of my Perth patients choose telehealth anyway, simply because it is more convenient than travelling in.

Here is what that looks like in practice. Consultations run through a secure medical video link, joinable from your phone or computer with nothing to download. Your testing is arranged through our electronic links with the major Australian pathology labs, so you collect locally and the results come straight back to me. Any specialised kits that are not collected at a standard centre are simply posted to your door. Every patient also has access to a secure online patient portal, where your results are stored, you can message me and the team directly between appointments, and order your supplements. Being interstate or overseas changes nothing about the standard of care you receive.

Where to start

Two paths forward,
depending on where you are.

JarrodCooper_300x300

WRITTEN BY

Jarrod Cooper - ND

Naturopathic Doctor and founder of Advanced Functional Medicine. Consults from Perth, Western Australia and via telehealth nationally and internationally. Author of The Healing Hierarchy: Restore Function. Rebuild Your Body.

More from the Health Library

See all pillar guides