Doctors Note Logo

Published on: 2/18/2026

Crawling Skin? Why You Feel "Bugs" Before Falling Asleep

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.

answer background

Explanation

Crawling Skin? Why You Feel "Bugs" Before Falling Asleep

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.


What Is That "Crawling" Sensation?

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.

Hypnagogic Hallucinations Explained

As you transition from wakefulness to sleep, your brain shifts gears. During this in-between state:

  • Your muscles begin to relax.
  • Your brain waves change.
  • Dream-like images and sensations can blend with reality.

For some people, this can include:

  • A crawling or tingling sensation
  • Feeling like bugs are on the skin
  • A sudden "jolt" or twitch (hypnic jerk)
  • Vivid visual or auditory sensations

These experiences are generally brief and harmless, especially if they only occur occasionally and resolve quickly.


Why Does This Happen Before Sleep?

Several normal biological processes can contribute to hallucinations feeling like bugs are crawling on me before sleep.

1. The Brain's Sleep-Wake Transition

As your brain prepares for sleep:

  • Sensory processing changes.
  • Muscle tone decreases.
  • Dream imagery can begin before you're fully asleep.

This crossover can cause realistic-feeling sensations without any physical cause.

2. Nerve Sensitivity

At night, when you're still and not distracted, you may become more aware of normal skin sensations, such as:

  • Mild tingling
  • Blood flow changes
  • Pressure from sheets or clothing

Your brain may misinterpret these subtle signals as crawling.

3. Stress and Anxiety

High stress levels can make your nervous system more reactive. Stress hormones increase alertness, which may:

  • Heighten skin sensitivity
  • Increase awareness of minor body sensations
  • Make normal sensations feel abnormal

Stress can also disrupt sleep, making hypnagogic hallucinations more likely.


Could It Be Restless Leg Syndrome (RLS)?

Sometimes, crawling sensations before sleep are related to Restless Leg Syndrome (RLS).

RLS is a neurological condition that causes:

  • An uncomfortable urge to move the legs
  • Tingling, creeping, or crawling sensations
  • Symptoms that worsen at night
  • Relief with movement

Many people describe RLS as feeling like something is crawling inside their legs. It can occasionally affect arms as well.

If your symptoms:

  • Happen mostly at night
  • Improve when you move
  • Interfere with sleep

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.


Other Possible Causes

While sleep-related hallucinations are common, persistent or severe crawling sensations may have other causes.

1. Peripheral Neuropathy

Damage to peripheral nerves can cause:

  • Tingling
  • Burning
  • Numbness
  • Crawling sensations

Common causes include:

  • Diabetes
  • Vitamin B12 deficiency
  • Thyroid problems
  • Alcohol overuse

2. Medication Side Effects

Certain medications can trigger tactile hallucinations, including:

  • Some antidepressants
  • Stimulants
  • Withdrawal from certain drugs
  • Substance use (including cocaine or methamphetamine)

Never stop a medication suddenly without speaking to a healthcare provider.

3. Hormonal Changes

Hormonal shifts—such as during menopause—can cause formication. Some women describe a crawling sensation on the skin during perimenopause due to estrogen changes.

4. Mental Health Conditions

In rare cases, persistent tactile hallucinations may be linked to:

  • Severe anxiety disorders
  • Major depression with psychotic features
  • Psychotic disorders

However, if the sensation only happens briefly before sleep and you otherwise feel mentally clear, a serious psychiatric condition is much less likely.


When Is It Probably Harmless?

It's likely benign if:

  • It only happens when falling asleep
  • It lasts seconds to minutes
  • You are aware it's not real
  • You have no other neurological symptoms
  • It doesn't happen during the day

Many healthy adults experience hypnagogic hallucinations at some point in their lives.


When Should You Speak to a Doctor?

You should talk to a medical professional if:

  • The sensations happen frequently or are worsening
  • They occur during the day
  • You notice numbness, weakness, or balance issues
  • You have diabetes or thyroid disease
  • You experience confusion or changes in thinking
  • Sleep is consistently disrupted

In rare cases, persistent tactile hallucinations may indicate:

  • Neurological disease
  • Severe vitamin deficiency
  • Substance withdrawal
  • Serious psychiatric illness

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.


How to Reduce Crawling Sensations Before Sleep

If your symptoms are mild and related to sleep, the following may help:

Improve Sleep Hygiene

  • Go to bed at the same time nightly
  • Limit screen time before bed
  • Keep your bedroom cool and dark
  • Avoid caffeine late in the day

Calm the Nervous System

  • Practice deep breathing
  • Try progressive muscle relaxation
  • Consider mindfulness meditation
  • Take a warm bath before bed

Check Nutritional Factors

Low iron levels are linked to Restless Leg Syndrome. Your doctor may test:

  • Iron levels
  • Ferritin
  • Vitamin B12
  • Thyroid function

Never start supplements without medical guidance.

Move Your Body

Gentle stretching before bed can reduce nerve tension and may help if RLS is involved.


The Bottom Line

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:

  • Is frequent
  • Interferes with sleep
  • Occurs during the day
  • Comes with other symptoms

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.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

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.

Learn more about diseases

Restless Leg Syndrome

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.