There's a specific kind of night worth talking about.
It happened once. Fine - everyone's had that, too much wine, long week, whatever.
Then a couple of weeks later it happened again, and this time you were already thinking about the first time while it was happening.
And now there's a third thing going on, which is that you're thinking about whether you'll be thinking about it.
If that's roughly where you are: you're 30-something, this is extremely common, and the loop you've just noticed has a name and a way out.
Here's what's probably going on, and how to tell.
The short version
In your 30s, the odds are on stress rather than your arteries. Anxiety, sleep debt, drinking, antidepressants, and whatever's going on at work or at home are far more common causes at this age than clogged plumbing.
But "probably" isn't "definitely," the two overlap constantly, and the difference genuinely matters - because the fix for one does nothing for the other.
Why your body works against you here
This is the single most useful thing to understand, and once you get it, a lot of the panic goes out of the situation.
Your nervous system has two settings.
One is the alert setting. Threat, deadline, argument, exam. Heart rate up, muscles ready, blood pulled away from anything non-essential and pushed toward your limbs. Your body's assumption is that you're about to fight something or run from it.
The other is the settled setting. Safe, relaxed, nothing urgent. Digestion runs, heart rate drops, blood flows freely to everything that isn't strictly survival equipment.
An erection needs the settled setting. It's a blood flow event, and blood flowing generously to non-essential areas is precisely what your body switches off when it thinks something's wrong.
Now look at what happens when you're worried about performance. Your body can't distinguish "I'm worried this won't work" from "there is a threat here." Same alarm, same response. You produce the alert state, and the alert state is chemically the opposite of what you need.
So the anxiety about it directly causes it. Not indirectly, not psychologically-in-a-vague-way. Mechanically. Your worry constricts the exact blood vessels that need to open.
That's the loop. One bad night creates worry, the worry creates a second bad night, the second bad night confirms the worry. Round and round.
And the thing about that loop is it can run in a man whose arteries are in perfect condition. Nothing's broken. The hardware's fine. It's a feedback problem.
How to tell the difference
There are patterns doctors look at. I'll give them to you straight, with the caveat attached at the end, and the caveat is not decoration.
Points toward stress:
- It came on suddenly - you can roughly date it, or link it to a period
- It's inconsistent. Fine sometimes, not others. Different with different partners, or different on holiday
- Alone is easier than with someone
- Morning erections are still showing up as normal
- Something else in your life is loud right now - job, money, new baby, a relationship going through it
- Points toward something physical:
- It came on gradually, over many months or years, and you can't date the start
- It's consistent. Same everywhere, every time, regardless of mood or partner
- Morning erections have thinned out or stopped
- It's slowly getting worse rather than fluctuating
- You've got other things going on: high blood pressure, cholesterol, blood sugar, you smoke, or there's early heart disease in the family
- The morning erection question is the one doctors weight most, and it's worth explaining why rather than just asserting it. Those happen while you're asleep. No thoughts involved, no pressure, no partner, no anxiety - your conscious mind is entirely out of the picture. So if they're still happening reliably, the equipment demonstrably works, and something in the waking situation is interfering.
Now the caveat. Don't use this to diagnose yourself. Sleep problems mess with morning erections independently. Some medications do too. And the categories blur constantly - the most common situation for a man in his 30s isn't one or the other, it's a small physical thing that triggered a bad night, which triggered anxiety, which is now doing most of the damage while the original thing sits there unaddressed.
That's a doctor's job to untangle. It takes one appointment.
The stuff nobody tells you about
Some causes are so common and so under-discussed they're worth naming individually.
Antidepressants. SSRIs and SNRIs affect sexual function in a large share of the men taking them. If the timing lines up with starting or increasing a dose, that's your answer, or a big chunk of it. Do not stop taking them on your own - but do go back to whoever prescribed them, because there are alternatives and adjustments and this is a completely normal thing to raise.
Sleep apnoea. If you snore heavily, wake up feeling like you didn't sleep, or your partner's mentioned you stopping breathing - get checked. It wrecks testosterone and blood vessel function simultaneously, and it's massively underdiagnosed in men in their 30s. Loads of blokes assume they're just tired because life is tired.
Drinking. Not just the night itself. Sustained heavy drinking affects hormones over the longer run.
Blood pressure tablets. Some, particularly beta blockers and certain diuretics, contribute. Again - raise it with the prescriber, don't just stop.
Undiagnosed diabetes. Less common at this age but it happens, and this is sometimes genuinely the first sign. Which is a good argument for the blood test on its own.
Low testosterone. Less common in your 30s than the internet suggests, and heavily oversold by clinics with something to sell. It needs a proper morning blood test, not a symptom quiz.
What to actually do
If it's been going on more than a few weeks, see a doctor. That's the real recommendation here, and everything else is secondary to it.
It's a short appointment. Usually a chat, blood pressure, and bloods for cholesterol, sugar and often testosterone. It sorts out which category you're in, catches anything underlying, and spots the medication thing if that's what it is. Go sooner if you smoke, or you've got blood pressure, cholesterol or blood sugar issues, or heart disease runs early in your family.
If it looks like the anxiety loop, the treatment that works is psychosexual therapy or CBT. That's not a soft consolation-prize recommendation - it's got good evidence behind it, specifically for this, and it works by breaking the feedback cycle rather than treating a body that isn't broken. You can do that alongside getting checked out, not instead of.
Meanwhile: sleep, exercise, less alcohol, no smoking. Helps whichever category you're in and doesn't require a diagnosis first.
And talk to your partner. I know. But the silence is doing a lot of the work here - you're managing this alone while imagining what they're thinking, and what they're actually thinking is usually far less brutal than what you've assigned to them. Removing the audience-of-one in your head takes real pressure off.
Two things not to do
Don't buy the tablets online. Counterfeits are everywhere, doses are unverified, and if you're on nitrate medication the combination can drop your blood pressure dangerously. They need a prescription for a reason - and the consultation might find something the tablet doesn't fix.
Don't wait it out. If it's anxiety, avoiding the situation feeds the loop; that's how it works. If it's physical, you're leaving something untreated. Waiting is the one option with no upside.
The honest summary
At 34, the smart money's on stress, sleep, drink or a medication - not your arteries. That should be genuinely reassuring, and it's not a fob-off.
But smart money isn't certainty, and the small number of cases that turn out to be an early physical signal are exactly the ones where finding out now matters most.
One appointment turns all of this from speculation into an answer. That's the whole ask.
General health information, not medical advice. Persistent difficulty should be assessed by a doctor. Never stop or change prescribed medication without speaking to your prescriber. If you're struggling with low mood or thoughts of self-harm, please speak to a doctor or a mental health support service - it matters more than this does.