No hidden fees100% onlineFree fast deliveryUnlimited 24/7 supportFree doctor reviewNo charge until a provider approves
Sexual Health — Pepvio editorial

Erectile Dysfunction in Your 40s: Why It Starts, What to Get Checked, and the Options

PPepvio Editorial·Published September 2026

TL;DR

Erectile dysfunction becomes common in the 40s because the causes stack up: blood vessel and metabolic changes, stress, lower desire, poor sleep, alcohol, weight, medications, and gradually lower testosterone. It is often the first sign of a circulation problem, which makes it worth a doctor's visit. Here is what to check and which option works on which step.

the short answer

Erectile dysfunction becomes common in the 40s because the causes accumulate: blood vessel and metabolic changes, stress, lower desire, poor sleep, alcohol, weight, medications, and gradually lower testosterone. It is often the first sign of a circulation problem and worth a doctor's visit. Which option helps depends on the cause.

The pattern usually starts small: an erection that takes more attention than it used to, fades partway through, or does not show up on a night you expected it. Most men notice this for months before saying anything, and most assume it is age or something wrong with them personally. Usually it is one or more of the causes below, and most of them can be found with routine blood tests and a conversation.

This article covers how common ED is at this age, how an erection works, the causes in order, what to get checked, and the options with the step each one works on.

how common it is

The Massachusetts Male Aging Study surveyed a random sample of men aged 40 to 70 living near Boston. About 52 percent reported some degree of erectile dysfunction, counting minimal, moderate, and complete. Complete ED, meaning erections never firm enough for intercourse, was reported by about 5 percent of men at 40 and 15 percent at 70.[1]

Two things in those numbers matter for a man in his 40s. First, "some degree" includes mild and occasional, which is where most men this age fall. Second, the study found that after adjusting for age, ED was more likely in men with heart disease, high blood pressure, diabetes, the medications used to treat them, and smoking. That is the list this article works through.

how an erection works

An erection has several steps, and the first ones happen in the brain. Desire and arousal start there, in response to a partner, a thought, or touch. The brain sends a signal down the spinal cord to the nerves in the penis. Those nerves release nitric oxide, a chemical that tells the blood vessels in the penis to relax and widen. Blood flows in, the outflow is compressed, and the erection holds until arousal ends.

A problem at any step produces the same result: a softer erection, a slower one, or none. Low desire, a stalled nerve signal, blood vessels that no longer widen well, and an outflow that leaks all look identical from the outside, which is why finding the cause comes before picking a treatment. Each option below works on a different step.

the causes to know

Blood vessels and metabolism. The blood vessels in the penis are small, so they tend to show the effects of high blood pressure, high cholesterol, high blood sugar, and smoking before the larger vessels around the heart do. Diabetes also damages the nerves that carry the signal. This usually looks like a gradual change over a year or two, with erections that are softer rather than absent.

This is the cause worth taking most seriously. In a study of 9,457 men aged 55 and older followed for up to nine years, men who had ED at the start or developed it during the study had a 45 percent higher rate of later cardiovascular events than men without it, a risk the authors put in the range of smoking or a family history of heart attack.[2] A meta-analysis of 14 studies covering about 92,000 men found a 44 percent higher rate of cardiovascular events in men with ED, and the relative risk was higher at younger ages.[3] What to do: get blood pressure, lipids, and A1c checked. Treating anything that is off protects the heart and often improves erections along with it.

Lower desire and lower arousal. This is the brain step, and it changes for a lot of men after 40. Sex becomes something you are willing to do rather than something you are drawn to, and an erection that depends on arousal has less to work with. It looks like a good erection on the occasional night when interest is genuinely high and a poor one when it is not. A blood-flow pill does not fix this, because it needs an arousal signal to act on. Low sex drive in men covers the causes. What to do: notice whether the erection problem tracks with interest. If it does, PT-141 is the prescription option that works on that step.

Performance anxiety and stress. Adrenaline is the opposite signal to the one that produces an erection: it tightens blood vessels. One or two failures, a stressful stretch at work, or a new partner can raise adrenaline at exactly the wrong time, and each failure makes the next attempt more anxious. This looks like normal morning erections and normal erections alone, but unreliable ones with a partner. What to do: morning erections are a useful sign that the plumbing works. Taking intercourse off the table for a few encounters and treating the stress itself both help. If it has become a loop, a short course with a sex therapist breaks it faster than willpower does.

Sleep and sleep apnea. Short or fragmented sleep lowers testosterone and raises stress hormones. Sleep apnea does both and also drops blood oxygen repeatedly through the night, which affects the blood vessels directly. It is common at this age and usually undiagnosed: about 10 percent of men aged 30 to 49 and 17 percent of men aged 50 to 70 have moderate to severe sleep-disordered breathing.[4] In a study of 401 men referred for a sleep study, ED was present in 69 percent of those with sleep apnea versus 34 percent of those without, and overnight oxygen level was linked to ED independently of age, weight, blood pressure, and diabetes.[5] What to do: if you snore, wake unrefreshed, or a partner has noticed pauses in your breathing, ask for a sleep apnea screen. A home sleep test is enough to start.

Alcohol and weight. Two or three drinks blunt the nerve signal and the erection that night, and regular heavy drinking lowers testosterone over time. Extra weight around the middle lowers testosterone, raises the odds of sleep apnea, and reduces insulin sensitivity, the early stage of the blood-sugar damage above. What to do: a month at two or fewer drinks, with none on the night, and a modest weight loss are the two changes that most often improve erections without a prescription.

Medications. Several common prescriptions cause or worsen ED: SSRIs and some other antidepressants, some blood pressure medicines (older beta blockers and thiazide diuretics more than newer options), finasteride, and opioids. This looks like ED that started within a few months of a new prescription or a dose change. What to do: do not stop anything on your own. Bring the list to your doctor. There is often an equivalent medicine with less effect on sexual function.

Testosterone. Testosterone declines slowly and steadily with age. The Baltimore Longitudinal Study of Aging followed healthy men for decades and found total and free testosterone falling from the 30s onward, with a growing share of men below the normal range in their 60s and 70s.[6] For most men in their 40s the level is still in the normal range. Low testosterone affects desire more than the erection mechanism itself, so it tends to show up as less interest first. What to do: ask for a morning blood test, drawn between about 7 and 10 a.m., usually repeated if the first reading is low. Testosterone treatment, if needed, is a conversation with your own doctor. Pepvio does not prescribe it.

what to get checked

One visit with a primary care doctor covers most of the list. Ask for:

  • Blood pressure, measured in the office and ideally a few times at home.
  • A1c and fasting glucose, for diabetes and prediabetes.
  • A lipid panel, for cholesterol and triglycerides.
  • Total and free testosterone, drawn in the morning.
  • Thyroid (TSH), because an underactive thyroid lowers desire and energy and is easy to miss.
  • A sleep apnea screen if you snore, wake unrefreshed, or have been told you stop breathing at night.

A doctor can also check circulation in the legs and, if the picture calls for it, order an ultrasound of blood flow in the penis. Bring your full medication list, including anything over the counter.

A few situations call for an in-person visit first, before any online prescription: ED that started suddenly rather than gradually, ED alongside chest pain or shortness of breath with exertion, pain with erections, or a new bend or curve. Each of those points to something a physical exam needs to rule out.

the options, and which step each works on

Lifestyle. Regular exercise, a lower alcohol limit, weight loss, and better sleep improve blood flow and raise desire. These act on several steps at once, and for a man in his 40s with mild ED and a borderline lab or two, they are often enough on their own.

The blood-flow pills. Sildenafil and tadalafil, prescribed by a doctor, work on the blood-vessel step. They keep the vessels in the penis relaxed longer once the nerve signal has arrived, which makes an erection firmer and easier to keep. They need an arousal signal to act on; taken without desire, they do little. They fit best when the cause is vascular and desire is intact. If they have not worked for you, when sildenafil or tadalafil isn't working covers the likely reasons.

PT-141. PT-141 (bremelanotide) works on the brain's desire-and-arousal step, the first one in the sequence. It is taken as needed rather than daily, about 45 minutes before intimacy, as a small injection under the skin, with a timing window that is longer and more forgiving than that. The evidence in men comes from a 2004 study of subcutaneous PT-141 in healthy men and in men with ED who had an inadequate response to sildenafil. In the healthy men, the erectile response was statistically significant at doses above 1 mg; in the men with ED, both doses tested produced a statistically significant erectile response compared with placebo.[7]

Nausea is the most commonly reported side effect, most often with the first doses, and blood pressure rises briefly after each dose. Because of that, it is not prescribed for men with uncontrolled high blood pressure or significant heart disease, which is part of what the online visit screens for. It fits best when lower desire or arousal is part of the picture, when performance anxiety has become a loop, or when the blood-flow pills have not been enough. PT-141 for men covers the mechanism and what to expect in more detail.

how pepvio prescribes pt-141 for men

PT-141 is a prescription medication. The online visit through Pepvio takes about 2 minutes: a health intake that a licensed U.S. physician reviews. The physician screens for the conditions above, confirms PT-141 fits your situation, and writes the prescription if it does. You are charged only after the physician approves.

A licensed U.S. pharmacy compounds the prescription and ships it to your door with the supplies you need. The men's protocol is the injection, taken as needed before intimacy on the dose your physician sets. Current details are on the PT-141 for men protocol page, and the online visit starts below.

---

Sources & references

  1. [1]Feldman HA, Goldstein I, Hatzichristou DG, Krane RJ, McKinlay JB. "Impotence and its medical and psychosocial correlates: results of the Massachusetts Male Aging Study." J Urol. 1994;151(1):54-61. PubMed ↩
  2. [2]Thompson IM, Tangen CM, Goodman PJ, et al. "Erectile dysfunction and subsequent cardiovascular disease." JAMA. 2005;294(23):2996-3002. PubMed ↩
  3. [3]Vlachopoulos CV, Terentes-Printzios DG, Ioakeimidis NK, Aznaouridis KA, Stefanadis CI. "Prediction of cardiovascular events and all-cause mortality with erectile dysfunction: a systematic review and meta-analysis of cohort studies." Circ Cardiovasc Qual Outcomes. 2013;6(1):99-109. PubMed ↩
  4. [4]Peppard PE, Young T, Barnet JH, et al. "Increased prevalence of sleep-disordered breathing in adults." Am J Epidemiol. 2013;177(9):1006-1014. PubMed ↩
  5. [5]Budweiser S, Enderlein S, Jörres RA, et al. "Sleep apnea is an independent correlate of erectile and sexual dysfunction." J Sex Med. 2009;6(11):3147-3157. PubMed ↩
  6. [6]Harman SM, Metter EJ, Tobin JD, et al. "Longitudinal effects of aging on serum total and free testosterone levels in healthy men. Baltimore Longitudinal Study of Aging." J Clin Endocrinol Metab. 2001;86(2):724-731. PubMed ↩
  7. [7]Rosen RC, Diamond LE, Earle DC, Shadiack AM, Molinoff PB. "Evaluation of the safety, pharmacokinetics and pharmacodynamic effects of subcutaneously administered PT-141, a melanocortin receptor agonist, in healthy male subjects and in patients with an inadequate response to Viagra." Int J Impot Res. 2004;16(2):135-142. PubMed ↩

Frequently asked questions

Is it normal to have erectile dysfunction at 40?

It is common. In the Massachusetts Male Aging Study, about 52 percent of men aged 40 to 70 reported some degree of erectile dysfunction, and that figure includes mild and occasional. Complete ED was reported by about 5 percent of men at 40. Common does not mean it should be ignored, because ED at this age usually has a findable cause and is sometimes the first sign of a circulation problem.

What causes ED in your 40s?

Usually several things together: early blood vessel and metabolic changes from high blood pressure, cholesterol, blood sugar, or smoking; lower desire and arousal; performance anxiety and stress; poor sleep or undiagnosed sleep apnea; alcohol and extra weight; medications such as SSRIs, some blood pressure medicines, finasteride, and opioids; and gradually lower testosterone. A routine set of blood tests and a conversation with a doctor sorts out which ones apply to you.

Is ED a sign of heart problems?

It can be. The blood vessels in the penis are small and show the effects of high blood pressure, cholesterol, and blood sugar before the larger vessels around the heart do. In a study of over 9,000 men followed for up to nine years, men with ED had a 45 percent higher rate of later cardiovascular events, a risk the authors compared to smoking or a family history of heart attack. New ED is a reason to have blood pressure, lipids, and A1c checked, and ED with chest pain or shortness of breath on exertion needs an in-person visit promptly.

Can low testosterone cause ED?

It can contribute, mostly through desire. Testosterone declines slowly with age, and low levels lower interest in sex more than they affect the erection mechanism itself, so the pattern is usually less interest first and erection changes second. For most men in their 40s the level is still in the normal range. A morning blood test, usually repeated once if low, is how a doctor checks it. Testosterone treatment is a conversation with your own doctor; Pepvio does not prescribe it.

What is the best treatment for ED in your 40s?

It depends on the cause. Exercise, less alcohol, weight loss, and better sleep improve blood flow and desire and are often enough for mild ED. Sildenafil and tadalafil, prescribed by a doctor, work on the blood-vessel step and need an arousal signal to act on. PT-141 works on the brain's desire-and-arousal step, taken as needed about 45 minutes before intimacy as a small injection, and fits best when lower desire, performance anxiety, or an inadequate response to the blood-flow pills is part of the picture. A physician decides which fits after reviewing your health history.

This article is for general information and is not medical advice. Pepvio treatments are prescription medications: a licensed US physician reviews every intake and prescribes only when clinically appropriate. Individual results vary.

Ready to get started?

A short intake form, reviewed by a licensed U.S. physician. You're only charged if a prescription is written.

See if PT-141 is right for me

Keep reading