Doctors Note Logo

Published on: 5/13/2026

Why Visual Hallucinations are Linked to REM: Next Steps

Visual hallucinations such as seeing spiders or shadows at night often result from REM sleep intruding into wakefulness during hypnagogic or hypnopompic states. Factors like sleep deprivation, irregular sleep schedules, stress, certain medications or underlying disorders can increase these REM intrusions.

There are several factors to consider; see below for detailed next steps on self-help strategies, professional evaluation, and treatment options.

answer background

Explanation

Why Visual Hallucinations Are Linked to REM: Next Steps

Visual hallucinations—such as seeing spiders or shadows at night—can be unsettling. Understanding why these experiences occur, how they relate to REM (rapid eye movement) sleep, and what to do next can help you manage symptoms and seek appropriate care.

What Are REM-Related Visual Hallucinations?

  1. Hypnagogic Hallucinations
    – Occur as you drift into sleep (the "hypnagogic" state)
    – May involve seeing shapes, insects, spiders or shadows

  2. Hypnopompic Hallucinations
    – Occur while waking up from sleep (the "hypnopompic" state)
    – Often vivid, dream-like images that linger as you regain consciousness

  3. REM Intrusion into Wakefulness
    – REM sleep is normally distinct from wakefulness
    – Intrusions can blur boundaries, producing dream images when you're partly awake
    – Explains why you might see spiders or shadows at night when you're not fully asleep

Why REM Intrusions Happen

Several factors can cause REM intrusions:

  • Sleep Deprivation
    Extended lack of sleep increases REM pressure, making intrusions more likely.

  • Irregular Sleep Schedules
    Shift work or frequent time-zone changes disrupt the REM cycle.

  • Stress and Anxiety
    Heightened arousal can fragment sleep stages.

  • Medications and Substances
    Some antidepressants, stimulants or alcohol withdrawal affect REM regulation.

  • Underlying Sleep Disorders
    Conditions like narcolepsy and Rapid Eye Movement (REM) Sleep Behavior Disorder are strongly linked to REM intrusions.

Common Experiences: Seeing Spiders or Shadows at Night

  • Spiders
    – The sudden sense of a crawling insect is a classic hypnagogic image
    – Your brain's visual center can fill in vague patterns as familiar shapes (e.g., spiders)

  • Shadows
    – Low-light conditions and partial wakefulness lead your mind to interpret random dark patches
    – These vague stimuli can trigger lifelike shadow figures

Both types of hallucinations are typically harmless. However, if they are frequent, distressing or disrupt your sleep, it's important to take the next steps.

When to Be Concerned

Most hypnagogic and hypnopompic hallucinations are benign, but certain red flags warrant medical attention:

  • Hallucinations accompanied by sleep paralysis (temporary inability to move)
  • Sudden dream enactment behaviors (e.g., kicking, shouting)
  • Excessive daytime sleepiness or sudden muscle weakness episodes
  • Visual or auditory hallucinations that encroach into full wakefulness
  • Hallucinations that cause significant anxiety or interfere with daily life

Next Steps: Self-Help Strategies

While you prepare to consult a healthcare professional, you can try:

  • Improve Sleep Hygiene
    • Set a consistent bedtime and wake time
    • Keep your bedroom cool, dark and quiet
    • Limit screen use 1–2 hours before bed

  • Manage Stress
    • Practice relaxation techniques (deep breathing, progressive muscle relaxation)
    • Consider meditation or gentle yoga in the evening

  • Monitor Caffeine and Alcohol
    • Avoid stimulants at least 6 hours before bedtime
    • Minimize alcohol, especially close to sleep

  • Maintain a Sleep Diary
    • Log bed/wake times, naps, caffeine/alcohol intake, and any hallucinatory episodes
    • Helps your doctor identify patterns and triggers

When to Seek Professional Help

If self-help strategies don't reduce the frequency or distress of seeing spiders or shadows at night, consult a healthcare provider—ideally a sleep specialist or neurologist. They may recommend:

  • A Comprehensive Sleep Evaluation
    • Detailed history of your sleep and daytime symptoms
    • Use of validated questionnaires on sleep quality and daytime functioning

  • Overnight Sleep Study (Polysomnography)
    • Records brain waves, oxygen levels, eye movements, muscle activity and heart rhythm during sleep
    • Identifies REM abnormalities and other sleep disorders

  • Home Sleep Testing
    • Simplified version for screening certain sleep issues
    • May not capture detailed REM data but can rule out breathing-related problems

Consider a Free, Online Symptom Check

Before your appointment, you can get personalized insights by using Ubie's free AI-powered Rapid Eye Movement (REM) Sleep Behavior Disorder symptom checker—it takes just a few minutes and helps you understand whether your nighttime visual experiences might be connected to this specific sleep disorder.

Understanding Rapid Eye Movement Sleep Behavior Disorder (RBD)

RBD is a parasomnia in which the normal muscle paralysis of REM sleep is incomplete or absent. This allows dream content to be acted out, sometimes leading to injury.

Key features:

  • Dream Enactment Behaviors
    • Talking, yelling, or gesturing during REM sleep
    • Can be violent or protective actions in response to dream content

  • Increased Risk Factors
    • Older age (typically over 50)
    • Certain neurodegenerative conditions (e.g., Parkinson's disease)
    • Preceded by vivid nightmares or dream recall

  • Diagnostic Criteria
    • Documented REM without atonia on polysomnography
    • Clinical history of dream enactment behaviors

Treatment Options for REM-Related Hallucinations and RBD

  1. Medications

    • Clonazepam: Often first-line for RBD
    • Melatonin: Alternative or adjunctive therapy
    • Adjusting medications that disrupt REM (under doctor guidance)
  2. Safety Measures

    • Pad the bedroom floor and remove sharp objects
    • Place padding on nightstand corners
    • Consider a low‐profile bed or placing cushions around the bed
  3. Behavioral Interventions

    • Sleep‐centered cognitive behavioral therapy (CBT)
    • Stress and anxiety management techniques
  4. Follow-Up Appointments

    • Regular check-ins to monitor medication effects
    • Ongoing assessment of sleep quality and daytime alertness

Talking to Your Doctor

Prepare for your appointment by bringing:

  • Your sleep diary and any notes on hallucinations
  • List of current medications, supplements and substances used
  • Results of any online symptom checks (e.g., RBD symptom check)

Questions to ask:

  • Could my seeing spiders or shadows at night be linked to a sleep disorder?
  • What tests do you recommend to confirm a REM intrusion or RBD?
  • Are there medications or therapies to help me sleep more soundly?
  • How can I reduce the risk of injury during sleep?

Bottom Line

Experiencing seeing spiders or shadows at night can be traced to REM sleep intrusions like hypnagogic and hypnopompic hallucinations. While often harmless, persistent or distressing symptoms deserve attention.

  • Start with good sleep hygiene and stress management
  • Keep a sleep diary to track patterns
  • Use Ubie's free online symptom checker to assess your risk for Rapid Eye Movement (REM) Sleep Behavior Disorder and prepare for your doctor visit
  • Speak to a sleep specialist or neurologist for comprehensive evaluation

If you ever feel that your symptoms could be life-threatening or are causing serious harm, please speak to a doctor immediately. Your well-being and safety are the top priorities.

(References)

  • * Ehgoetz Martens, K. A., & Postuma, R. B. (2016). REM sleep dysregulation as a common mechanism underlying visual hallucinations in Lewy body disease and narcolepsy type 1. *Neuroscience & Biobehavioral Reviews*, *67*, 134–143.

  • * Miyauchi, R., Tanabe, S., & Shioiri, S. (2020). Visual cortex activity during REM sleep and its implication for visual imagery. *Frontiers in Human Neuroscience*, *14*, 140.

  • * Siclari, F., & Tononi, G. (2017). The role of the visual cortex in REM sleep and dreaming: a mini-review. *Frontiers in Psychology*, *8*, 1780.

  • * Waters, F., Blom, J. D., & Jardri, R. (2014). Hallucinations and Dreams: What Can Sleep Tell Us About the Mechanisms of Hallucinations? *Schizophrenia Bulletin*, *40*(Suppl 4), S233–S243.

  • * Bubu, O. M., O'Shea, A., & Postuma, R. B. (2020). Neural correlates of visual hallucinations in sleep disorders and neurological diseases. *Journal of Clinical Sleep Medicine*, *16*(4), 605–612.

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.

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.