---
title: "Functional Lab Tests for Insomnia: What 4 Tests Reveal"
entity: "blog"
canonical_url: "https://www.thesleepdetective.com/blog/functional-lab-tests-for-insomnia-what-4-tests-reveal"
markdown_url: "https://www.thesleepdetective.com/llms/blog/functional-lab-tests-for-insomnia-what-4-tests-reveal"
lastmod: "2026-10-07T09:00:00.000Z"
---

[About Martha](/about-me)

Key Takeaways

- Most of Martha's insomnia clients have cortisol that's higher than it should be at bedtime or in the middle of the night, a pattern a single morning blood draw can't show.
- Night-time cortisol is driven by imbalances that build on each other: gut pathogens releasing toxins at night, a backed-up liver, depleted calming neurotransmitters, and toxins like mold and heavy metals that accumulate in the brain and liver.
- Martha uses four functional lab tests (the Hormone Zoomer, the Gut Zoomer, a neurotransmitter test, and a toxin test) to look for everything that affects sleep so nothing is missed.

You're exhausted, but the second your head hits the pillow your brain switches on. Or you fall asleep and then you're wide awake in the middle of the night. Your blood work keeps coming back normal, and nobody can tell you why.

If you don't sleep normally, there are imbalances hiding in your body that you don't know are there. Over the past eight years, after working with hundreds of clients, I've found four functional lab tests that look for everything that affects sleep so nothing is missed.

## John: 10 hours in bed to get 8 hours of sleep

My client John couldn't fall asleep and kept waking up in the middle of the night. He felt wired but tired. It was taking him 10 hours in bed to get close to eight hours of sleep, and he woke up feeling like he hadn't slept at all.

He was a business owner and very determined. He got through each day with what he called brute force.

## Test 1: The Hormone Zoomer

The first test is the Hormone Zoomer, a urine test similar to the DUTCH test I've used in the past. Blood work measures cortisol at one moment, usually in the morning while you're fasting. It tells us nothing about the rest of the day.

My own cortisol was normal in the morning, but it was even higher in the middle of the night than in the morning, when it was supposed to be highest. Most of my clients have cortisol that's higher than it should be at bedtime or in the middle of the night. Cortisol gives you energy and makes your mind race because it's what your body uses in survival mode.

John had super high cortisol at night, just like I did. His sex hormones (estrogen, progesterone, and testosterone, all important for sleep in women and men) were depleted across the board. That happens when the body has been stressed so long it pulls resources toward cortisol and away from sex hormones.

If estrogen is higher than progesterone in women, or higher than testosterone in men, that can directly lead to sleep issues. It's also a sign the liver isn't clearing hormones properly. This test shows how parts of liver detox like methylation and sulfation are working, and John was having trouble detoxing, as do almost all my clients.

## Test 2: The Gut Zoomer

The second test is the Gut Zoomer, similar to the GI Map but with a lot more information. If you have any symptom, including sleep issues, your gut isn't totally healthy, even without digestive issues. I never had digestive issues, but I had a parasite, depleted good bacteria, and poor digestion, and all of it affected my sleep.

The Gut Zoomer looks for dozens of parasites, bacterial overgrowth, viruses, and other pathogens. These pathogens are most active in the middle of the night, when they release toxins. Those toxins cause inflammation, your body releases cortisol to deal with it, and the cortisol wakes you up.

This is why you can avoid alcohol, do cleanses, and eat organic and still have liver detox issues. Sometimes the toxins are being produced inside your body.

John had candida, a fungus that produces a really toxic substance called acetaldehyde. He also had low immune function in the gut, which is common when the body has been fighting pathogens for a long time.

## Test 3: Neurotransmitter testing

John also had lots of depleted good bacteria. Gut bacteria are responsible for making up to 90% of our neurotransmitters.

The third test, included in the Gut Zoomer, measures calming neurotransmitters like serotonin, GABA, and dopamine, and stimulating ones like glutamate, histamine, and acetylcholine. Too much of the stimulating ones can lead to anxiety and sleep issues. John was mainly depleted: his serotonin, dopamine, and GABA were low, along with noradrenaline and adrenaline.

## Test 4: Toxin testing

The fourth test looks for environmental chemicals, heavy metals, PFAS (forever chemicals), and mycotoxins from mold. Everyone has some toxins, but a healthy body can deal with a normal amount. Some of my clients have eight toxins showing up; others have 40.

John had really high mycotoxins from mold, plus mercury. These toxins accumulate in the brain, which is how they lead to sleep issues, and in the liver, which affects your ability to detox.

## Why you need all four at once

CBT-I helps with the mental part of insomnia. But it's not enough if you also have a parasite, depleted neurotransmitters, and a body releasing cortisol in the middle of the night.

A couple of months into working together, John wrote: "You are a genius and a true lifesaver. I have been sleeping since Sunday. I wake up, but I am still groggy and I fall back to sleep. Not perfect, but way better than I have been used to. It's night and day."

He'd tried things for 25 years and seen eight to 10 professionals. In his words: "If it were the placebo, I would have thought myself better with one of those certainly."

Want a guide to all four tests and what each one looks for? Get my lab tests guide at thesleepdetective.com/lab-guide.

## FAQ

Q: Why does my blood work come back normal if I can't sleep?

A: Because blood work measures cortisol at a single moment, usually in the morning while you're fasting. It doesn't show what's happening the rest of the day. Martha's own cortisol was normal in the morning but even higher in the middle of the night, which only showed up on a 24-hour urine test like the Hormone Zoomer.

Q: Why do I keep waking up in the middle of the night?

A: In most of Martha's clients, cortisol is higher than it should be in the middle of the night, and cortisol wakes you up. One common trigger is gut pathogens like parasites, which are most active at night and release toxins. Those toxins cause inflammation, and your body releases cortisol to deal with it.

Q: Can gut problems cause insomnia if I don't have digestive symptoms?

A: Yes. Martha never had digestive issues, but she had a parasite, depleted good bacteria, and poor digestion, and all of it affected her sleep. Gut bacteria make up to 90% of your neurotransmitters, so when they're depleted, calming neurotransmitters like serotonin and GABA often are too.

Q: Why isn't CBT-I fixing my insomnia?

A: CBT-I addresses the mental side of insomnia, not the physical root causes. If you have a parasite, depleted neurotransmitters, or cortisol spiking in the middle of the night, CBT-I alone won't be enough. Looking at everything at the same time with functional lab testing is the fastest way to find what's keeping you awake.

## If hidden imbalances in your hormones, gut, neurotransmitters, or toxin load might be affecting your sleep, this is exactly what the Complete Sleep Solution program investigates. The program includes all four functional lab panels (the Hormone Zoomer, Gut Zoomer, neurotransmitter testing, and toxin testing) that identify cortisol patterns, gut pathogens, neurotransmitter imbalances, and toxic burden so you know exactly what's keeping you awake.

→ Learn how the [Complete Sleep Solution](/neurotransmitter/complete-sleep-solution-new) program works 

About Martha Lewis 

Martha Lewis is a certified Functional Diagnostic Nutrition practitioner and founder of The Sleep Detective™. Since 2019, she has helped 300+ clients identify the root causes of their insomnia using functional lab testing — including gut analysis, hormone panels, neurotransmitter testing, and toxin screening. She discovered her own root causes (hormone imbalances, heavy metals, and a parasite) after years of trying conventional sleep solutions, and now uses the same investigative approach with her clients.

Learn more [about Martha →](/about-me)

Get 7+ hours of uninterrupted sleep a night.

[Book a consultation for the COMPLETE SLEEP SOLUTION program](https://p.bttr.to/3VJwvDs)
