Functional Medicine
Sleep Issues Treatment
Bad sleep isn't a sleep problem. It's a hormone problem, a cortisol problem, a neurotransmitter problem, or a gut problem that shows up at night. We find the root cause and fix it without sleep medications that leave you groggy and dependent.

Why You Can't Sleep (And Why Melatonin Isn't the Answer)
You're exhausted all day. Then you lie down and your brain won't shut off. Or you fall asleep fine but wake up at 2am and stare at the ceiling for hours. Or you sleep 8 hours and feel like you got 3.
Your doctor prescribed trazodone or told you to take melatonin and practice "sleep hygiene." Maybe it helped for a week. Then it stopped working. That's because you're treating a symptom while ignoring the mechanism.
Sleep is regulated by hormones and neurotransmitters: cortisol should be low at night and rise in the morning. Progesterone is your natural sedative (and it drops in perimenopause). Testosterone affects sleep architecture in both sexes. GABA calms the nervous system. Serotonin converts to melatonin. If any of these systems are off, no amount of blue-light glasses and lavender spray will fix your sleep.
We also see sleep disruption from blood sugar instability (cortisol spikes to rescue low glucose at 2am), gut inflammation (the gut produces most of your serotonin), and chronic stress that keeps the sympathetic nervous system locked on.
“These glands have a complex relationship with each other. In conventional medicine there's this idea that the thyroid is off on an island, the adrenal glands are off by themselves, and the ovaries are separate. All of these hormones are in the blood together.”
Dr. Rose: The Hormonal Triangle
Provider Insight
“I was so anxious that I was really looking at getting on an anxiety medication, and then I know now that that was a function of my hormones. I don't feel like that anymore. I feel great.”
Cat: Anxiety Resolved Through Hormone Balance
Patient Story
“My old level was really probably closer to my baseline. And if you take that and cut it in half, even though my half was still in what medical professionals say is an acceptable range, that's not necessarily what's acceptable for my body.”
Ryan: Why 'Normal Range' Wasn't Normal for Him
Patient Story
“I wake up and not feel that, you're like, 'Wow.' My quality of life is completely different.”
Caleb: Quality of Life Completely Changed
Patient Story
“This is my health. I can go out and spend a ton of money on clothes, but this is my health, so it's worth it.”
Terry: Less Inflammation, Better Sleep, Energy Back
Patient Story
“There were things on there that I hadn't known. For example, Hashimoto's disease. I had asked my physician to test me for that and they didn't. And that did come up on there.”
Laura: Hashimoto's Discovered After Years of Being Dismissed
Patient Story
Inside Med Matrix
Everything Under One Roof
Advanced testing, personalized protocols, and real results from a team that treats the whole picture.
Testing and Treating the Root Cause of Poor Sleep
Our approach starts with a full panel: hormones (testosterone, estrogen, progesterone, DHEA), cortisol patterns, thyroid function, blood sugar markers (fasting insulin, HbA1c), inflammatory markers, and nutrient levels (magnesium, B6, iron, vitamin D) that directly affect sleep quality.
- Cortisol dysregulation. If your cortisol is elevated at night, you won't sleep no matter what you try. We identify the pattern and address the HPA axis dysfunction causing it.
- Hormone optimization. Progesterone replacement for women in perimenopause often resolves insomnia within days. Testosterone optimization improves sleep architecture in men.
- Blood sugar stability. 2am wake-ups are frequently a blood sugar crash triggering a cortisol rescue spike. We fix the metabolic pattern.
- Neurotransmitter support. Targeted amino acids, magnesium glycinate, and specific nutrients to support GABA and serotonin production naturally.
- Gut health. 95% of serotonin is made in the gut. If gut function is compromised, neurotransmitter production suffers and sleep follows.
The goal is restorative sleep without pharmaceutical dependence. Most patients see improvement within 2-4 weeks once we address the underlying cause.
What Causes Insomnia and Sleep Disorders?
Most sleep problems aren't actually sleep problems. They're hormone problems, cortisol problems, blood sugar problems, or gut problems that show up when you lie down at night. Treating the symptom (insomnia) without finding the mechanism (why your body won't sleep) is why melatonin, trazodone, and sleep hygiene tips stop working.
Cortisol that won't shut off. Cortisol should drop to its lowest point around 10pm. In patients with HPA axis dysfunction from chronic stress, cortisol stays elevated at night or spikes in the early morning hours. You feel wired at bedtime, or you fall asleep and snap awake at 2am with a racing mind. No amount of meditation fixes a cortisol pattern that's physiologically inverted. But it is fixable once identified through proper testing.
Progesterone decline. Progesterone is your body's natural calming hormone. It activates GABA receptors in the brain, the same receptors that benzodiazepines target. In perimenopause (which can start as early as 35), progesterone is the first hormone to drop. Women who never had trouble sleeping suddenly can't fall asleep or stay asleep. Their doctor prescribes Ambien instead of checking progesterone. Bioidentical progesterone replacement often resolves the insomnia within days, not weeks.
Blood sugar crashes at 2am. This is one of the most overlooked causes of middle-of-the-night waking. When blood sugar drops too low during sleep, your body releases cortisol and adrenaline to bring it back up. You wake up alert, anxious, heart pounding. It feels like stress or anxiety, but it's a metabolic event. Fasting insulin and HbA1c testing reveals the pattern. Dietary changes and metabolic support fix it.
Low serotonin from gut dysfunction. About 95% of your body's serotonin is produced in the gut. Serotonin converts to melatonin. If gut inflammation, bacterial imbalance, or poor absorption is compromising serotonin production, your body can't make enough melatonin on its own. Taking supplemental melatonin patches over the real issue. Restoring gut health restores the pathway.
What Are the Treatment Options for Insomnia Without Medication?
We don't start with a prescription pad. We start with lab work.
Your panel includes hormones (testosterone, estrogen, progesterone, DHEA), cortisol, full thyroid function, blood sugar markers (fasting insulin, HbA1c), inflammatory markers, and the nutrients that directly drive sleep chemistry: magnesium, B6, iron, and vitamin D.
Once we know what's off, treatment targets the specific mechanism. For some patients, it's a single fix. For others, it's a combination.
Progesterone restoration for women whose insomnia started in their mid-30s to 40s. This is the fastest fix we see. Many patients sleep through the night within the first week.
Cortisol rhythm repair through targeted adaptogens, phosphatidylserine, and lifestyle adjustments that bring the HPA axis back into a healthy pattern. This typically takes 4 to 8 weeks.
Blood sugar stabilization through dietary changes, strategic pre-bed nutrition, and metabolic support. Patients who wake at 2am and can't get back to sleep are often shocked when this simple intervention eliminates the problem.
Magnesium glycinate supplementation. Not magnesium oxide (which is poorly absorbed). Glycinate crosses the blood-brain barrier and supports GABA activity. Lindsay, one of our patients, stopped a 3-year sleep medication after starting magnesium and addressing her metabolic health.
Neurotransmitter support with specific amino acid precursors (5-HTP, L-theanine, GABA) when serotonin or GABA production is low. These aren't sleeping pills. They give your body the raw materials to produce its own calming neurotransmitters.
Dr. Sasha Rose works with most of our sleep patients in South Portland. The goal is always restorative sleep without pharmaceutical dependence. We monitor progress and adjust the protocol until you're sleeping consistently.
Common Symptoms We See
- Trouble falling asleep despite feeling exhausted
- Waking up between 2am and 4am and lying awake for hours
- Sleeping 7 to 8 hours but waking up unrefreshed
- Racing mind or anxiety at bedtime
- Relying on sleep medication that stops working over time
- Daytime drowsiness or needing afternoon naps
- Waking with a pounding heart or feeling of panic
- Sleep quality that declined in your mid-30s or 40s
- Feeling wired at night but dragging in the morning
- Restless legs or frequent tossing and turning
- Brain fog and poor concentration tied to bad sleep
What We Test for This Condition
Progesterone
Natural sedative that activates GABA receptors. Drops in perimenopause and is the most common hormonal cause of new-onset insomnia in women.
Cortisol
Should be lowest at bedtime. Elevated nighttime cortisol keeps the nervous system on alert and prevents sleep onset.
Fasting Insulin
Identifies insulin resistance and blood sugar instability that causes 2am cortisol-rescue wake-ups.
HbA1c
Three-month blood sugar average. Reveals metabolic patterns that disrupt sleep architecture.
Magnesium (RBC)
Intracellular magnesium supports GABA activity and muscle relaxation. Serum magnesium misses most deficiencies.
Testosterone (Total + Free)
Affects sleep architecture and deep sleep phases in both men and women. Low levels reduce sleep quality.
Free T3
Low thyroid function causes fatigue but also disrupts sleep cycles. Thyroid and sleep are tightly linked.
Vitamin D (25-OH)
Deficiency is associated with poor sleep quality and shortened sleep duration. Most Maine residents are low.
Vitamin B6
Required for serotonin and melatonin synthesis. Low B6 impairs your body's ability to produce its own sleep hormones.
From Our Podcast
Our providers answer common questions about this condition on the Med Matrix Method podcast.
Why Do I Keep Waking Up at 3AM? Cortisol, the HPA Axis, and How to Fix It
- Q:What hormone imbalances cause insomnia?
- Q:Why does melatonin stop working for most people?
HPA Axis Dysfunction: How a Broken Cortisol Rhythm Drains Your Energy
- Q:How does chronic stress rewire your sleep-wake cycle?
- Q:What is the cortisol-sleep connection?
Perimenopause and Menopause Symptoms: The Toll the Change Takes on a Woman's Whole Body
- Q:Why does insomnia start in perimenopause?
- Q:How does progesterone affect sleep quality?
Who Treats This Condition
These providers specialize in this area and review every patient's case personally.
Real Patient Stories
Hear from patients who came to Med Matrix with this condition.

Peggi
Peggi came to Med Matrix knowing she was not operating at her best, with low energy and poor sleep, and wanted real answers instead of guesswork. The in-depth lab work and one-hour review gave her clarity and validation about what was actually happening in her body. After targeted changes, her energy and sleep improved significantly and she feels more balanced overall.
“What stood out to me the most was how personal the experience was, from the discovery call all the way to the in-depth lab and the one-hour review which explained everything that was going on. I wasn't making it up in my mind. I finally understood what was going on.”

Lindsay
Lindsay gained 43 pounds in about 6 months while her PCP kept telling her labs were fine. Two close family members recommended functional medicine, and after researching online she connected with Med Matrix. Working with Colin, she discovered her A1C was raised and her cholesterol and triglycerides were past 300, all against a severe cardiac family history her PCP had never taken seriously. She has since lost weight, stopped a 3-year sleep medication, sleeps through the night, and describes the experience as "life-changing."
“I want to want to get out of bed.”
Free Resource
Get Your Free Practice Guide
Includes a $100 voucher toward your first visit
Everything you need to make an informed decision: pricing, testing catalog, process timeline, provider bios, and real patient stories. No commitment required.

Free Practice Guide + $100 Voucher
Everything you need before your first visit
STEP 1 OF 3
Enter your email to get instant access
We only accept a limited number of patients per week
EXPLORE
Related Content
Articles, patient stories, and podcast episodes about sleep issues treatment.
FAQ
Sleep Issues Treatment FAQ
We focus on fixing the root cause of poor sleep rather than masking it with sedatives. Occasionally we use short-term support while underlying issues resolve, but the goal is always natural, restorative sleep without ongoing medication.
Most patients who say this haven't had their hormones, cortisol patterns, and gut health properly tested. The interventions fail because they're treating the wrong thing. We find the actual mechanism first.
It depends on the cause. Progesterone-related insomnia can resolve within days. Cortisol dysregulation and gut-related issues typically take 3-6 weeks. We monitor and adjust your protocol based on response.
Related Services to Sleep Issues Treatment

Your Health, Your Terms
Start Feeling Like Yourself Again
Get your free practice guide and a $100 voucher toward your first visit. No commitment, no pressure.




