Our Services
Medical Information
Helpful Resources
Published on: 2/18/2026
There are several factors to consider. A crawling or tingling feeling right before sleep is often benign hypnagogic formication during the sleep wake transition, but it can also point to restless legs syndrome or less common issues like neuropathy, medication effects, hormonal shifts, or mental health conditions. If it is frequent, happens in the daytime, disrupts sleep, or comes with numbness, weakness, or conditions like diabetes, you should seek medical care; simple steps like better sleep habits, stress reduction, gentle movement, and checking iron or B12 may help. See below for red flags, specific tests to ask about, treatment options, and how to decide your next steps.
If you've ever been lying in bed and suddenly felt like insects were crawling on your skin, you're not alone. Many people describe hallucinations feeling like bugs are crawling on me before sleep—a sensation that can be confusing, uncomfortable, and sometimes frightening.
The good news? In many cases, this experience is linked to normal changes in the brain as you fall asleep. Still, it's important to understand what's happening, why it happens, and when it may signal something more serious.
Let's break it down clearly and calmly.
The medical term for the feeling of bugs crawling on or under the skin is formication. It's a type of tactile hallucination—meaning you feel something that isn't physically there.
When it happens specifically as you're drifting off to sleep, it's often related to hypnagogic hallucinations.
As you transition from wakefulness to sleep, your brain shifts gears. During this in-between state:
For some people, this can include:
These experiences are generally brief and harmless, especially if they only occur occasionally and resolve quickly.
Several normal biological processes can contribute to hallucinations feeling like bugs are crawling on me before sleep.
As your brain prepares for sleep:
This crossover can cause realistic-feeling sensations without any physical cause.
At night, when you're still and not distracted, you may become more aware of normal skin sensations, such as:
Your brain may misinterpret these subtle signals as crawling.
High stress levels can make your nervous system more reactive. Stress hormones increase alertness, which may:
Stress can also disrupt sleep, making hypnagogic hallucinations more likely.
Sometimes, crawling sensations before sleep are related to Restless Leg Syndrome (RLS).
RLS is a neurological condition that causes:
Many people describe RLS as feeling like something is crawling inside their legs. It can occasionally affect arms as well.
If your symptoms:
You should learn more about Restless Leg Syndrome and take a free AI-powered symptom assessment to help determine if this might be what you're experiencing.
RLS is treatable, and identifying it early can significantly improve sleep quality.
While sleep-related hallucinations are common, persistent or severe crawling sensations may have other causes.
Damage to peripheral nerves can cause:
Common causes include:
Certain medications can trigger tactile hallucinations, including:
Never stop a medication suddenly without speaking to a healthcare provider.
Hormonal shifts—such as during menopause—can cause formication. Some women describe a crawling sensation on the skin during perimenopause due to estrogen changes.
In rare cases, persistent tactile hallucinations may be linked to:
However, if the sensation only happens briefly before sleep and you otherwise feel mentally clear, a serious psychiatric condition is much less likely.
It's likely benign if:
Many healthy adults experience hypnagogic hallucinations at some point in their lives.
You should talk to a medical professional if:
In rare cases, persistent tactile hallucinations may indicate:
If symptoms are severe, sudden, or accompanied by other concerning changes, seek medical care promptly.
When in doubt, it's always reasonable to speak to a doctor. Early evaluation can rule out serious causes and provide peace of mind.
If your symptoms are mild and related to sleep, the following may help:
Low iron levels are linked to Restless Leg Syndrome. Your doctor may test:
Never start supplements without medical guidance.
Gentle stretching before bed can reduce nerve tension and may help if RLS is involved.
Experiencing hallucinations feeling like bugs are crawling on me before sleep is more common than most people realize. In many cases, it's simply part of the brain's transition into sleep—a temporary overlap between dreaming and wakefulness.
However, if the sensation:
It deserves medical attention.
You may want to start with a free, online symptom check for Restless Leg Syndrome if your symptoms mainly occur at night and improve with movement.
Most importantly, if you're concerned about anything that feels severe, persistent, or potentially life threatening, speak to a doctor. Getting evaluated doesn't mean something is wrong—it means you're taking your health seriously.
Sleep should feel safe and restorative. If something is disrupting that, you deserve answers—and support.
(References)
* Gandhi N, Kousha O, Khayat S. Restless Legs Syndrome: A Comprehensive Review. J Clin Sleep Med. 2020 Oct 15;16(10):1797-1808. doi: 10.5664/jcsm.8690. PMID: 33054522.
* Patel A, Kim C, Wu R, Yosipovitch G. Nocturnal Pruritus: Current Concepts and Management. J Clin Sleep Med. 2021 Jul 1;17(7):1477-1486. doi: 10.5664/jcsm.9332. PMID: 34139883.
* Thorpy MJ. Hypnagogic and Hypnopompic Hallucinations. Sleep Med Clin. 2020 Jun;15(2):129-136. doi: 10.1016/j.jsmc.2020.02.002. PMID: 32332062.
* Hsieh KC, Tseng TH, Yang FC, Lin YP, Tseng CM, Chien HF. Sensory Disturbances in Sleep: A Review of the Pathophysiology and Clinical Management. J Clin Sleep Med. 2022 Aug 1;18(8):1969-1980. doi: 10.5664/jcsm.10099. PMID: 35928135.
* Hoitsma E, De Greef BTA, Faber CG, Merkies ISJ. Small Fiber Neuropathy: A Clinical Review. Curr Pain Headache Rep. 2021 Dec;25(12):73. doi: 10.1007/s11916-021-00990-2. PMID: 34769062.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.