Frequent, unwanted erections are a normal part of male physiology, especially during adolescence and your 20s when testosterone levels are at their peak. They’re not a sign that something is wrong with you. That said, there are real, evidence-based ways to reduce how often they happen and manage them when they do show up at inconvenient times.
Why Erections Happen Without Arousal
Erections are controlled by your autonomic nervous system, the same system that manages your heart rate and digestion. You don’t consciously decide to have one. The parasympathetic nervous system acts as the “on” switch, while the sympathetic nervous system (your fight-or-flight response) acts as the “off” switch. When the sympathetic side quiets down, the excitatory pathways take over by default. This is why you get erections during sleep: during REM sleep, the brain’s sympathetic neurons essentially shut off, and proerectile signals dominate.
During the day, anything that triggers even a mild parasympathetic response, or anything that lowers your sympathetic tone (relaxation, boredom, sitting still for a long time), can tip the balance toward an erection. Physical stimulation like friction from clothing can also send excitatory signals through the spinal cord without involving your brain at all. This is why random erections often have nothing to do with sexual thoughts.
Age and Hormones Play the Biggest Role
Testosterone is the primary driver of sexual arousal in men, and it runs highest in your teens and 20s. If you’re in that age range and dealing with frequent erections, the simplest explanation is that your body is doing exactly what high testosterone tells it to do. This is not something you need to “fix.” The frequency naturally decreases as you move into your 30s and beyond as testosterone gradually declines.
That said, if erections are so frequent or persistent that they interfere with daily life, it’s worth looking at other contributing factors you can actually control.
In-the-Moment Techniques That Work
Activate Your Sympathetic Nervous System
Since the sympathetic (“fight-or-flight”) system opposes erections, anything that activates it will help. Flexing large muscle groups, like your thighs, calves, or glutes, forces your body to redirect blood flow to those muscles and shifts your nervous system into a more active state. Hold a hard flex for 30 to 60 seconds. This is the most discreet and reliable physical method available to you in public.
Cold also works. Applying something cold to your wrist, holding a cold drink against your inner thigh, or splashing cold water on your face triggers vasoconstriction, where blood vessels narrow to conserve heat. The effect on the penis is temporary but often enough to break the cycle. Cold activates sympathetic tone, which is exactly the nervous system shift you need.
Use Cognitive Distraction
Your brain can override the arousal signal if you give it something else to process. Research on sexual arousal regulation identifies three strategies that work. The first is simple distraction: force your mind onto something completely unrelated. Mental math, reciting something from memory, or planning your schedule all count. The key is that the task needs to be engaging enough to genuinely occupy your attention, not just a passing thought.
The second approach is reappraisal, where you consciously reinterpret whatever triggered the arousal. If physical contact or a visual cue started it, you mentally reframe the situation as neutral or mundane. The third is adopting a detached perspective, observing the sensation without engaging with it emotionally. All three work, but straightforward distraction tends to be the fastest in practice.
Longer-Term Ways to Reduce Frequency
Regular physical exercise is one of the most effective tools. Exercise burns through excess energy, lowers baseline arousal, and increases your sympathetic tone throughout the day. Intense cardio or heavy resistance training can temporarily reduce testosterone’s effect on arousal for several hours afterward. It also improves your overall autonomic regulation, meaning your body gets better at not defaulting to the parasympathetic state that promotes erections.
Tight or friction-heavy clothing can provide constant low-level stimulation that keeps triggering reflexive erections. Switching to snug, supportive underwear (briefs or boxer briefs) reduces movement and friction compared to loose boxers. Layering with slightly thicker fabrics can also reduce the tactile input reaching the skin.
Stress and sleep patterns matter too. Chronic stress paradoxically doesn’t always suppress erections. Instead, the rebound relaxation that follows a stressful period can trigger one. Getting consistent, adequate sleep helps stabilize your autonomic nervous system so it’s less reactive overall.
Concealment When You Can’t Wait It Out
Sometimes you just need to hide it while it passes. The waistband tuck is the most commonly used method: repositioning upward and letting your shirt cover the outline. This works best with an untucked shirt or a jacket. Sitting down and crossing your legs, placing a bag or book on your lap, or putting your hands in your pockets and pushing the fabric outward to disguise the shape are all practical options. Most unwanted erections subside within a few minutes on their own, so you usually only need to buy yourself a short window.
Medications and Substances to Be Aware Of
Certain medications can increase erection frequency as a side effect. Antidepressants like trazodone and bupropion, some antipsychotics, blood pressure medications (particularly alpha-blockers), anticoagulants, and testosterone therapy are all associated with more frequent or prolonged erections. Recreational drugs including cocaine and alcohol can also contribute. If you started a new medication and noticed a significant change, that connection is worth bringing up with whoever prescribed it. Adjusting the dose or switching medications often resolves the issue.
When Frequent Erections Signal a Problem
Random erections that come and go are normal. An erection that lasts longer than four hours, especially one accompanied by pain, is a medical emergency called priapism. After four hours, the trapped blood becomes oxygen-depleted and can permanently damage erectile tissue, potentially causing lasting erectile dysfunction. The hallmark signs are a fully rigid, painful shaft while the tip of the penis remains soft. Nonischemic priapism (usually caused by an injury) is painless and partially rigid, which is less immediately dangerous but still requires evaluation. If you experience a painful erection lasting more than two to three hours, don’t wait for the four-hour mark to seek emergency care.