Can STDs Disrupt Your Sleep?

Published: Updated: Last reviewed: 5 min readDr. Michael Thompson
Medical education image representing sexual health information for “Can STDs Disrupt Your Sleep?.”
On this page

Some STDs can affect sleep, but usually indirectly. HIV is the best-studied link, and sleep problems are common in people living with HIV. Herpes outbreaks, itching, pain, night sweats, and the stress of a diagnosis can also keep you awake. STDs are rarely the hidden cause of insomnia on their own. Unexplained poor sleep with other symptoms deserves a checkup.

Patients sometimes ask whether an STD could explain months of bad sleep. The honest answer is that it's possible, but stress, caffeine, screens, shift work, and mental health are far more common causes. Where STDs do play a role, it's usually through symptoms that wake you up or worry that keeps you up.

How Can an STD Affect Sleep?

There are a few realistic ways:

  • Physical symptoms: pain, burning, itching, or genital sores can make it hard to fall or stay asleep.

  • Fever and night sweats: early HIV and secondary syphilis can cause flu-like symptoms, including night sweats.

  • Immune activation: long-term infection and inflammation, as with untreated HIV, are linked to poorer sleep.

  • Stress and anxiety: the NHLBI lists stress as a key risk factor for insomnia, and a new diagnosis is a significant stressor.

  • Nervous system involvement: rarely, syphilis that reaches the nervous system causes mood changes and restlessness.

STDPossible effect on sleepStrength of the link
HIV
Insomnia, fragmented sleep, fatigue
Well documented
Herpes (HSV)
Pain or itching during outbreaks; anxiety about recurrences
Plausible, symptom-driven
Syphilis
Night sweats in the secondary stage; rare neurological effects
Uncommon
Trichomoniasis, chlamydia, gonorrhea
Itching or pain that disturbs sleep, if symptomatic
Indirect only
HPV
Mostly stress related to the diagnosis
Indirect only

What Do We Know About HIV and Sleep?

Sleep problems are among the most common complaints in people living with HIV. A 2024 systematic review and meta-analysis confirmed that sleep disturbances are widespread in this group. The causes are mixed: inflammation, depression and anxiety, other health conditions, and sometimes medicines. Some older antiretrovirals, such as efavirenz, were known for vivid dreams and insomnia. If you're on treatment and sleeping badly, ask your provider whether your regimen could be a factor.

For anyone not yet tested, fever, rash, sore throat, and night sweats a few weeks after an exposure can be early HIV symptoms.

Can Herpes Outbreaks Keep You Up?

They can. Tingling, pain, and itching often peak at night, and anxiety about the next outbreak can make it worse. Antiviral medicine shortens outbreaks, and daily suppressive therapy reduces how often they happen. Our guide to living with herpes covers practical ways to manage.

Could Stress About an STD Be the Real Problem?

Often, yes. Waiting for results, telling a partner, or adjusting to a lifelong diagnosis can all disrupt sleep. That's a normal reaction, and it usually improves once you have answers and a plan. If it doesn't, talk to someone. Our articles on STDs and mental health and stress and STD outbreaks may help.

Should You Get Tested if You Can't Sleep?

Insomnia alone isn't a reason for STD testing. If you're sexually active, follow the CDC screening recommendations: at least yearly for many people, and every 3–6 months for those at higher risk. Testing is especially worth it if poor sleep comes with night sweats, fever, rash, sores, or discharge. A clear result also takes one worry off the table.

When to Seek Care

  • Seek same-day care for high fever with severe headache, stiff neck, or confusion.

  • See a clinician within a week for night sweats, fever, and swollen glands lasting more than a few days, especially after a possible exposure.

  • Book a visit within 2–4 weeks if insomnia lasts more than a month and affects your daytime functioning.

  • If you're in crisis, or having thoughts of harming yourself, call or text 988 right away.

Frequently Asked Questions

Can an STD cause insomnia?

Sometimes, mostly indirectly through pain, itching, night sweats, or stress. HIV has the strongest documented link with sleep problems.

Can chlamydia cause sleep problems?

No direct link has been established. Most chlamydia causes no symptoms at all. If it causes pelvic pain or discomfort, that can disturb sleep.

Will treating an STD improve my sleep?

If symptoms or worry about the infection were keeping you up, treatment often helps. For HIV, effective treatment and support for mood and other conditions can improve sleep over time.

Do HIV medicines affect sleep?

Some can. Efavirenz in particular was linked to vivid dreams and insomnia. Modern regimens cause fewer sleep problems. Don't stop a medicine on your own. Talk to your provider about options.

What else commonly causes insomnia?

Stress, irregular schedules, shift work, caffeine, alcohol, screens before bed, and conditions such as depression, anxiety, or sleep apnea. A clinician can help sort out which applies to you.

Want peace of mind? Find STD testing near you, or order a confidential panel through STDCheck.

Dr. Michael Thompson is an expert in sexually transmitted diseases with extensive clinical and research experience. He leads campaigns advocating for early diagnosis and prevention of diseases like HIV and gonorrhea. He collaborates with local organizations to educate both youth and adults about sexual health.