Sleep apnea and erectile dysfunction: how they're linked and what helps

Erectile dysfunction is common in men with sleep apnea, and worse apnea is tied to worse erections. Why it happens, what CPAP does and when to see a doctor.

In short

  • A 2026 meta-analysis found erectile dysfunction in 59% to 69% of men with obstructive sleep apnea across the studies it reviewed.
  • The same review found that a higher apnea-hypopnea index and lower oxygen levels during sleep were both tied to worse erectile function scores.
  • A 2015 meta-analysis of nine studies found sleep apnea was linked to 1.82 times the risk of erectile dysfunction and 2 times the risk of sexual dysfunction in women.
  • A 2019 meta-analysis of 26 studies found CPAP improved erectile function scores, though ED medicines worked better and the two together beat CPAP alone.
  • A 2021 Cochrane review of six trials rated the evidence on CPAP for erectile dysfunction as very low certainty.
  • NHLBI lists sexual dysfunction and decreased libido among the symptoms of sleep apnea.

Erectile dysfunction is common in men with sleep apnea, and the worse the sleep apnea, the worse erections tend to be. A 2026 meta-analysis found ED in 59% to 69% of men with obstructive sleep apnea across the studies it reviewed. CPAP can help a little, and the good news is that both conditions are treatable.

This guide covers what the research shows, why the two may be connected, what treatment does and when to see a doctor. For the wider picture, see our guide to how sleep apnea affects the body.

Is sleep apnea linked to erectile dysfunction?

Research: moderate (what this means)

Sleep apnea is clearly linked to erectile dysfunction in men. A 2026 meta-analysis in the International Journal of Impotence Research found ED in 59% to 69% of men with sleep apnea in the studies it reviewed. NHLBI lists sexual dysfunction and decreased libido among the symptoms of sleep apnea you may notice yourself.

That 2026 review went further than earlier work by measuring how closely the severity of each condition lines up. Across seven studies with 594 men, a higher apnea-hypopnea index, the number of breathing pauses and shallow breaths per hour, was moderately tied to lower scores on a standard erectile function questionnaire. Across three studies with 513 men, lower oxygen levels during sleep were tied to worse scores too.

An earlier meta-analysis, published in the Journal of Sexual Medicine in 2015, pooled nine studies with 1,275 people. It found that sleep apnea was linked to 1.82 times the risk of erectile dysfunction in men. It also found twice the risk of sexual dysfunction in women, which is a reminder that this isn't only a men's health issue.

The 2026 authors flagged two limits. Age was an important confounder, since both conditions become more common as men get older, and the studies differed a lot in how they measured erectile function.

StudyWho was studiedWhat it found
International Journal of Impotence Research, 20268 studies of men with sleep apneaED in 59% to 69%; worse apnea and lower oxygen tied to worse erections
Journal of Sexual Medicine, 20159 studies, 1,275 people1.82 times the risk of ED; twice the risk of sexual dysfunction in women
Archives of Sexual Behavior, 2016207 menED in 60.6% with sleep apnea and 72.2% with severe sleep apnea
Sleep Medicine Reviews, 201926 studiesCPAP improved erectile scores; ED medicines worked better

How common is erectile dysfunction in sleep apnea?

Erectile dysfunction affects more than half of men with sleep apnea in most studies, and it's more common as sleep apnea gets more severe. In a 2016 study of 207 men in Archives of Sexual Behavior, ED was found in 60.6% of men with sleep apnea overall and 72.2% of those with severe sleep apnea.

For context, ED is common in general. NIDDK says research suggests between 30 million and 50 million men in the United States have it. About 40% of men are affected at age 40, and 70% report having ED by age 70. NIDDK also says ED is not a routine part of aging, which matters here. If you have both, it's worth asking whether something treatable like sleep apnea is contributing.

Why would sleep apnea affect erections?

Sleep apnea may affect erections through low oxygen at night, lower testosterone and its links with heart and blood vessel problems. NIDDK says diseases that affect the blood vessels, nerves or hormones can lead to ED, and lists high blood pressure, heart and blood vessel disease, obesity, diabetes and low testosterone among the most common causes.

Low oxygen is one likely piece. The 2026 meta-analysis found that men whose oxygen dropped lower during sleep tended to have worse erectile function. Erections depend on healthy blood flow, and sleep apnea often travels with high blood pressure and heart disease. Our guides to sleep apnea and high blood pressure and sleep apnea and the heart explain those links.

Hormones are another piece. A 2019 review in the World Journal of Men's Health says sleep apnea in middle-aged men is often associated with lower testosterone, together with obesity and aging. In the 2016 study, men with severe sleep apnea had lower testosterone than men who snored without sleep apnea.

Mood and tiredness probably play a part too. NIDDK says anxiety, depression and stress can cause ED or make it worse, and the NHS lists feeling very tired and mood swings among sleep apnea symptoms. Our article on sleep apnea and depression looks at that overlap.

Does CPAP help erectile dysfunction?

CPAP can modestly improve erectile function in some men, but the evidence is uncertain and it works less well than ED medicines. A 2019 meta-analysis in Sleep Medicine Reviews pulled together 26 studies and found that CPAP significantly improved erectile function scores and measures of erections during sleep.

The same review compared CPAP with PDE5 inhibitors, the class of ED medicines that includes sildenafil. The medicines did better on erectile function and intercourse satisfaction. CPAP did better on the number of erections during sleep. And CPAP combined with an ED medicine worked better than CPAP alone.

A 2021 Cochrane review took a stricter look, including only randomized trials. It found six trials with 315 men, all with some important risk of bias, and rated the evidence as very low certainty. The authors said they were uncertain whether CPAP improves ED compared with no CPAP, and that sildenafil may slightly improve erectile function at 12 weeks compared with CPAP. No serious side effects were reported with either. In one trial, 4 of 20 men using CPAP had nasal dryness, while 3 of 20 taking sildenafil had brief flushing and mild headache, and the reviewers couldn't say whether either caused more minor side effects.

The 2016 study gives a sense of scale. After three months of CPAP, men with severe sleep apnea improved their erectile scores, but the change was small and their testosterone levels didn't change. The 2026 meta-analysis found that CPAP was associated with improvements in the studies it included, though the size varied with the questionnaire used.

The practical takeaway is that CPAP is worth using well for its own sake, and any boost to sexual health is a welcome extra. If the mask is getting in the way, our guide to getting used to CPAP can help.

What about testosterone treatment?

Testosterone treatment needs care in men with sleep apnea, so talk it through with your doctor before starting. The 2019 review in the World Journal of Men's Health says treating sleep apnea doesn't reliably raise testosterone in most studies. It adds that testosterone therapy may help low testosterone and sexual function in some men.

The same review gives a clear caution. Testosterone therapy may make sleep apnea worse in some men, so doctors should ask about sleep apnea symptoms before and after starting it. The authors said it should probably be avoided in men with severe untreated sleep apnea. If you're on testosterone or thinking about it, mention any snoring or breathing pauses.

Which everyday habits help both?

Several everyday habits help both sleep apnea and erectile dysfunction, which makes them a good place to start alongside medical care. NIDDK lists not getting enough physical activity, drinking too much alcohol and smoking among the lifestyle behaviors that can contribute to ED. The NHS gives very similar advice for sleep apnea.

The NHS says sleep apnea can sometimes be treated with lifestyle changes like losing weight, giving up smoking and cutting back on alcohol. It suggests losing weight if you're overweight, exercising regularly, keeping regular sleep hours, sleeping on your side, not drinking too much alcohol shortly before bed and avoiding sleeping pills unless a doctor recommends them, since they can make sleep apnea worse.

That overlap is encouraging. Regular activity, less alcohol and not smoking appear on both lists, so one set of changes works toward both goals. They won't replace CPAP or ED treatment if you need them, but they're a sensible start while you wait for an appointment.

When should you see a doctor?

See a doctor if you have erectile dysfunction, especially alongside snoring, breathing pauses at night or heavy daytime tiredness. NIDDK says ED may be a symptom of another health problem, and the NHS says to see a GP if your breathing stops and starts while you sleep, you make gasping or choking noises, or you always feel very tired.

ED can feel awkward to bring up, but doctors ask about it routinely. NIDDK says health care professionals use your medical, sexual and mental health history, a physical exam and tests to work out what's going on. The 2026 meta-analysis authors said their findings underscore the importance of screening for sleep apnea in men who come in with ED.

If your doctor suspects sleep apnea, testing is often simple. The NHS says it can usually be done at home, and our guide to the home sleep apnea test explains the process. Our list of sleep apnea warning signs can help you describe your symptoms, and sleep apnea treatment options covers what comes next.

Treating both conditions together often makes the most sense. Sleep apnea treatment protects your heart and helps with tiredness, and ED has its own effective treatments that your doctor can talk through with you.

This article is general information, not medical advice. Talk to your doctor about your own situation.

Common questions

Can sleep apnea cause erectile dysfunction?

Sleep apnea is strongly linked to erectile dysfunction, though studies can't yet prove it's the cause. A 2026 meta-analysis found ED in 59% to 69% of men with sleep apnea, and worse breathing and lower oxygen at night went with worse erections. Age, weight and heart health also play a part.

Does CPAP help erectile dysfunction?

CPAP can modestly improve erectile function in some men. A 2019 meta-analysis of 26 studies found better erectile scores with CPAP, while a 2021 Cochrane review called the trial evidence very uncertain. ED medicines worked better than CPAP in head-to-head studies, and combining the two worked better than CPAP alone.

Does sleep apnea lower testosterone?

It's often linked to lower testosterone in middle-aged men, along with obesity and aging, according to a 2019 review. In a 2016 study, men with severe sleep apnea had lower testosterone than snorers without it. Treating sleep apnea doesn't reliably raise testosterone, though erectile scores can still improve.

Should men with ED be tested for sleep apnea?

It's worth raising, especially if you snore, stop breathing at night or feel tired all day. The authors of a 2026 meta-analysis said their findings underscore the value of screening for sleep apnea in men who come in with erectile dysfunction. Your doctor can decide whether a sleep test makes sense.

How common is erectile dysfunction?

Very common. NIDDK says between 30 million and 50 million men in the US have ED. About 40% of men are affected at age 40, and 70% report it by age 70. NIDDK notes that ED is not a routine part of aging and can often be treated.

Can sleep apnea affect women's sexual health too?

It appears to. A 2015 meta-analysis of nine studies found that sleep apnea was linked to twice the risk of sexual dysfunction in women. NHLBI lists sexual dysfunction and decreased libido among sleep apnea symptoms in general, so it's worth mentioning to a doctor whatever your sex.

Sources

  1. The association between obstructive sleep apnoea and erectile dysfunction: a systematic review and meta-analysisInternational Journal of Impotence Research, 2026
  2. Sexual dysfunction in patients with obstructive sleep apnea: a systematic review and meta-analysisJournal of Sexual Medicine, 2015
  3. Erectile dysfunction and sexual hormone levels in men with obstructive sleep apnea: efficacy of continuous positive airway pressureArchives of Sexual Behavior, 2016
  4. The effect of CPAP and PDE5i on erectile function in men with obstructive sleep apnea and erectile dysfunction: a systematic review and meta-analysisSleep Medicine Reviews, 2019
  5. Non-invasive positive airway pressure therapy for improving erectile dysfunction in men with obstructive sleep apnoeaCochrane Database of Systematic Reviews, 2021
  6. Obstructive sleep apnea and testosterone deficiencyWorld Journal of Men's Health, 2019
  7. Definition and facts for erectile dysfunctionNational Institute of Diabetes and Digestive and Kidney Diseases
  8. Symptoms and causes of erectile dysfunctionNational Institute of Diabetes and Digestive and Kidney Diseases, 2024
  9. Sleep Apnea - SymptomsNational Heart, Lung, and Blood Institute
  10. Sleep apnoeaNHS, 2026

About this article

Research
10 published sources, listed above.
Evidence
Moderate. How we rate it
Last checked
October 26, 2026
Funding
Paid partner of Titan Recovery. Their ads are labeled.
Found an error?
Tell us. We log fixes on the corrections page.

* This content is for informational and educational purposes only and is not medical advice. It is not intended to diagnose, treat, cure or prevent any disease or health condition. Talk to a qualified healthcare provider about your health.

Our guides are researched and drafted with the help of AI tools. Before anything is published, every source is opened and checked against the claim it supports, and anything we can't verify is cut. We fix mistakes in public on our corrections page.