When it won't go up: erection problems before 40
In one clinic, one in four men with new erection problems was under 40. Usually it is nerves, condoms, chems or a big night, sometimes it is the heart, and the pills come with one rule you must never break

It happens to everyone, and it always happens at the worst moment: the guy is perfect, the evening is going well, and your cock has decided to sit this one out. Erection problems are filed in most heads under "older men". The numbers say otherwise, and the reasons at 30 are usually different from the reasons at 60.
Here is how common it is, what usually causes it, what the porn debate shows, and the one drug combination every gay man should know about.
You are not the only one
An Italian clinic looked at 439 men who came in for the first time with erection problems. 114 of them, 26%, were 40 or younger, with an average age of 32. Nearly half of those young men had problems severe enough to score as severe ED on the standard questionnaire, about the same share as the older patients. They also smoked and used drugs more often.
Outside clinics, a review of large international surveys put the share of young men with some degree of erection trouble as high as 30%. Gay men are no exception. In an online survey of 7,001 men who have sex with men, 45% reported a period in the previous year when getting or keeping an erection was a problem, and 44% reported performance anxiety, the two going hand in hand. A bad patch, in other words, is closer to normal than to rare.
The anxiety loop
An erection is a relaxation job. The smooth muscle inside the erectile tissue has to let go so blood can rush in, and the nerves that keep it tense, the ones that run on noradrenaline, are the same system that switches on under stress. Worry, in short, works against the plumbing.
In the classic model of the trap, men without erection problems get, if anything, more aroused when the pressure is on, because their attention stays on the sex. Men who have had problems turn their attention to the stakes instead (will it work, what will he think) and the arousal drains away. One soft moment becomes the thing you watch for next time, which makes the next soft moment more likely.
The loop breaks the same way it forms, through attention. Taking penetration off the menu for a night, getting back to what feels good, telling him it is nerves rather than him: anything that lowers the stakes tends to bring the erection back with it.
The condom drop
Hard, then the wrapper, then not so hard: the condom moment has a name in the research, condom-associated erection problems. In 278 men at a sexual health clinic, 37% had lost an erection with a condom at least once in their last three uses. Among young gay and bi men the figure quoted is 56%, and in a Chicago study those problems predicted ditching condoms when topping six months later.
Part of it is the pause and the fiddling, part of it is fit. In a lab study, men who reported condom problems simply had smaller erections in the first minute of an erotic film, with or without distraction or pressure, which suggests that some men need more time or more touch to get going. The practical fixes follow: try several sizes and brands, put it on when you are fully hard, and keep touching while you do it.
Booze, chems and smoke
Alcohol does what Shakespeare's porter said it does. In a lab study of 16 men, a low or moderate amount of alcohol slightly reduced erections in response to porn, and a high amount reduced them a lot. Oddly, across population surveys regular drinkers report less erectile dysfunction than non-drinkers, probably because of who drinks, not what alcohol does. The short version: tonight's sixth drink is the problem, not the glass of wine.
Chems are a classic case of the mind willing and the body not. In a London study of 30 gay and bi men who used crystal meth, mephedrone or GHB/GBL during sex, the drugs boosted desire, but losing the erection on crystal and mephedrone was "very widely reported", along with taking ages to come. Many men took erection pills to make up for it. Cocaine has the same reputation, though the evidence is old and thin: in 1988, 62% of 50 men admitted for cocaine and alcohol dependence reported sexual problems.
Smoking is the slow version. A meta-analysis of prospective studies found current smokers had about 1.5 times the odds of erectile dysfunction of non-smokers, and former smokers still had somewhat raised odds. Even sleep plays a part: ten young men kept to five hours a night for a week saw their daytime testosterone fall by 10 to 15%. That is hormones, not erections, but it is not helping.
Is it the porn?
The most heated question in the field is unsettled. On one side, a 2016 review with case reports argued that internet porn, with its endless novelty and escalation, can condition arousal to the screen so that real partners do not register, and that some men recovered after quitting. It is a hypothesis with case stories, not a trial.
On the other side, the large surveys do not find much. Across four samples of nearly 4,000 European men under 40, porn use showed little or no link to erection problems. A set of American studies, one of them following men for a year, found no link between how much porn men watched and their erections. What did go with erection problems was feeling that their own porn use was out of control, and even that did not predict erections getting worse over time.
Almost every study on porn and erections has been done on straight men. For gay men there is essentially no data either way, so anyone who tells you exactly what porn does to a gay man's erections is guessing.
When the body is talking
A few clues help separate head from hardware. Problems caused by nerves or circumstances tend to start suddenly and leave night-time and solo erections intact, while physical causes tend to creep in gradually and affect every situation. If you still wake up hard and everything works on your own, the plumbing is probably fine; the Erection chapter explains why night erections are such a useful test.
The other reason to take a persistent problem seriously is the heart. The authors of one long study suggest that erection problems and heart disease may be two faces of the same trouble in the blood vessels. In a Minnesota cohort of 1,402 men followed for up to ten years, men in their forties with erection problems developed coronary heart disease at 48.5 cases per 1,000 person-years, against 0.94 in men the same age without them, about 50 times the rate. Few men that young had ED, so the figure is rough, but the message is clear: in younger men, ED is a reason to check the heart. If it is persistent, gradual and present even when you are alone, see a doctor.
Pills, and the one rule
Sildenafil (Viagra) and tadalafil (Cialis) boost the chemical signal that opens the tap, as explained in What's inside. They do not create an erection on their own: in the trials, it was sexual stimulation that produced better erections after the pill. Sildenafil is usually taken about an hour before sex and works from 30 minutes to four hours. Tadalafil improved erections for up to 36 hours after a dose, hence the weekend pill.
In an Australian survey of 2,250 gay and bi men, about one in five had used one in the previous six months, most often to stay hard for longer or to get hard more easily, and use went with illicit drugs and riskier sex.
Now the rule. Never combine these pills with poppers. Poppers are alkyl nitrites, and nitrites and nitrates release nitric oxide, the same signal the pills amplify. Together they can make blood pressure drop dangerously. The labels of both Viagra and Cialis say it plainly: do not take them if you use "poppers" such as amyl or butyl nitrite. A clinical review of poppers flags the same drug interaction. The same goes for nitrate heart medicines such as nitroglycerin sprays and isosorbide tablets. Tadalafil lasts long enough that doctors are told to wait at least 48 hours after the last dose before giving a nitrate, even in an emergency, so a Friday pill can still be a problem on Sunday.
"A blue pill makes you hard for hours, whatever happens." It does not: without arousal nothing happens. What the labels do warn about is an erection lasting more than four hours, which is an emergency to take to hospital, not a story for the group chat.
Sources 22
- Capogrosso P, Colicchia M, Ventimiglia E, Castagna G, Clementi MC, Suardi N, Castiglione F, Briganti A, Cantiello F, Damiano R, Montorsi F, Salonia A. One patient out of four with newly diagnosed erectile dysfunction is a young man: worrisome picture from the everyday clinical practice. Journal of Sexual Medicine 2013;10(7):1833-1841. doi:10.1111/jsm.12179
- Hirshfield S, Chiasson MA, Wagmiller RL, Remien RH, Humberstone M, Scheinmann R, Grov C. Sexual dysfunction in an Internet sample of U.S. men who have sex with men. Journal of Sexual Medicine 2010;7(9):3104-3114. doi:10.1111/j.1743-6109.2009.01636.x
- Inman BA, St Sauver JL, Jacobson DJ, McGree ME, Nehra A, Lieber MM, Roger VL, Jacobsen SJ. A population-based, longitudinal study of erectile dysfunction and future coronary artery disease. Mayo Clinic Proceedings 2009;84(2):108-113. doi:10.4065/84.2.108
- Nguyen HMT, Gabrielson AT, Hellstrom WJG. Erectile dysfunction in young men: a review of the prevalence and risk factors. Sexual Medicine Reviews 2017;5(4):508-520. doi:10.1016/j.sxmr.2017.05.004
- Dean RC, Lue TF. Physiology of penile erection and pathophysiology of erectile dysfunction. Urologic Clinics of North America 2005;32(4):379-395. doi:10.1016/j.ucl.2005.08.007
- Barlow DH. Causes of sexual dysfunction: the role of anxiety and cognitive interference. Journal of Consulting and Clinical Psychology 1986;54(2):140-148. doi:10.1037/0022-006X.54.2.140
- Graham CA, Crosby R, Yarber WL, Sanders SA, McBride K, Milhausen RR, Arno JN. Erection loss in association with condom use among young men attending a public STI clinic: potential correlates and implications for risk behaviour. Sexual Health 2006;3(4):255-260. doi:10.1071/SH06026
- Li DH, Newcomb M, Macapagal K, Remble T, Mustanski B. Condom-associated erectile function, but not other domains of sexual functioning, predicts condomless insertive anal sex among young men who have sex with men. Archives of Sexual Behavior 2020;49(1):161-174. doi:10.1007/s10508-020-01642-w
- Janssen E, Sanders SA, Hill BJ, Amick E, Oversen D, Kvam P, Ingelhart K. Patterns of sexual arousal in young, heterosexual men who experience condom-associated erection problems (CAEP). Journal of Sexual Medicine 2014;11(9):2285-2291. doi:10.1111/jsm.12548
- Rubin HB, Henson DE. Effects of alcohol on male sexual responding. Psychopharmacologia 1976;47(2):123-134. doi:10.1007/BF00735810
- Cheng JY, Ng EM, Chen RY, Ko JS. Alcohol consumption and erectile dysfunction: meta-analysis of population-based studies. International Journal of Impotence Research 2007;19(4):343-352. doi:10.1038/sj.ijir.3901556
- Bourne A, Reid D, Hickson F, Torres Rueda S, Weatherburn P. The Chemsex study: drug use in sexual settings among gay and bisexual men in Lambeth, Southwark and Lewisham. London: Sigma Research, London School of Hygiene & Tropical Medicine, 2014. ISBN 978-1-906673-18-5
- Cocores JA, Miller NS, Pottash AC, Gold MS. Sexual dysfunction in abusers of cocaine and alcohol. American Journal of Drug and Alcohol Abuse 1988;14(2):169-173. doi:10.3109/00952999809001544
- Cao S, Yin X, Wang Y, Zhou H, Song F, Lu Z. Smoking and risk of erectile dysfunction: systematic review of observational studies with meta-analysis. PLoS One 2013;8(4):e60443. doi:10.1371/journal.pone.0060443
- Leproult R, Van Cauter E. Effect of 1 week of sleep restriction on testosterone levels in young healthy men. JAMA 2011;305(21):2173-2174. doi:10.1001/jama.2011.710
- Park BY, Wilson G, Berger J, Christman M, Reina B, Bishop F, Klam WP, Doan AP. Is Internet pornography causing sexual dysfunctions? A review with clinical reports. Behavioral Sciences 2016;6(3):17. doi:10.3390/bs6030017
- Landripet I, Štulhofer A. Is pornography use associated with sexual difficulties and dysfunctions among younger heterosexual men? Journal of Sexual Medicine 2015;12(5):1136-1139. doi:10.1111/jsm.12853
- Grubbs JB, Gola M. Is pornography use related to erectile functioning? Results from cross-sectional and latent growth curve analyses. Journal of Sexual Medicine 2019;16(1):111-125. doi:10.1016/j.jsxm.2018.11.004
- Pfizer. VIAGRA (sildenafil citrate) tablets: full prescribing information and patient information. US Food and Drug Administration, NDA 020895, revised 08/2017
- Eli Lilly and Company. CIALIS (tadalafil) tablets: full prescribing information and patient information. US Food and Drug Administration, NDA 021368, revised 10/2011
- Hammoud MA, Jin F, Lea T, Maher L, Grierson J, Prestage G. Off-label use of phosphodiesterase type 5 inhibitor erectile dysfunction medication to enhance sex among gay and bisexual men in Australia: results from the FLUX study. Journal of Sexual Medicine 2017;14(6):774-784. doi:10.1016/j.jsxm.2017.04.670
- Romanelli F, Smith KM, Thornton AC, Pomeroy C. Poppers: epidemiology and clinical management of inhaled nitrite abuse. Pharmacotherapy 2004;24(1):69-78. doi:10.1592/phco.24.1.69.34801