How to Stop a Boner: Causes, Tips, and When to Worry

An unwanted erection usually goes away on its own within a few minutes, but there are several reliable ways to speed things up. The key is redirecting blood flow away from the genitals, either through physical changes, mental redirection, or simple concealment while you wait it out.

Mental Redirection

Your brain is the most effective tool here. Occupying your mind with a demanding, non-sexual task diverts the neural resources that maintain arousal. The classic advice to “think about something unsexy” is on the right track, but passive thoughts are easy to lose focus on. Active mental tasks work better because they force your brain to concentrate.

Try counting backward from a large number by threes (300, 297, 294…) or mentally working through a multiplication problem. Reciting song lyrics, running through a grocery list, or naming every player on a sports team all serve the same purpose. The task needs to be just hard enough that you can’t also think about whatever triggered the erection. Anything that loads your working memory with non-sexual content pulls your nervous system out of the arousal state that keeps blood flowing to the penis.

Physical Techniques That Help

Light physical activity redirects blood flow to your muscles and away from your groin. If you’re in a situation where you can move around, walking, climbing stairs, or even flexing your thigh and calf muscles while seated can help. The goal is to get your cardiovascular system sending blood elsewhere.

Cold temperatures also constrict blood vessels. Holding something cold against your inner thigh or lap (a chilled drink, a cold water bottle) can reduce blood flow. Splashing cold water on your wrists or face triggers a mild stress response that counteracts the relaxation state your body needs to maintain an erection.

If you woke up with morning wood, going to the bathroom may help. A full bladder presses on the sacral nerve, a cluster of five nerves in the lower back that controls erections during sleep. Relieving that pressure often resolves the erection within a minute or two.

Changing your body position matters too. Sitting down, crossing your legs, or shifting your weight can reduce the physical stimulation that sometimes keeps an erection going without you realizing it.

Concealment While You Wait

Sometimes you just need to hide it until it passes. The waistband method is the most commonly used: tuck the erection upward beneath the waistband of your underwear or pants, then let your shirt cover the area. This works best with an untucked shirt or hoodie.

If you’re seated, placing a bag, jacket, book, or laptop on your lap buys time. Pushing your hands into your pockets and pressing the fabric of your pants outward at the thighs can also reduce the visible outline. Staying seated until it resolves is often the simplest option. Most erections fade within 5 to 10 minutes without any stimulation to maintain them.

Why It Happens Without Arousal

Random erections are a normal part of how the male body works, especially during puberty and young adulthood. Your nervous system cycles through states of arousal and relaxation throughout the day, and sometimes an erection shows up with no sexual trigger at all. Vibrations from a bus seat, tight clothing, a full bladder, or even just sitting in one position too long can cause one. During sleep, most men get three to five erections per night as part of normal sleep cycles.

Testosterone levels peak in the morning, which is why waking up with an erection is so common. Frequency tends to decrease gradually with age, but random erections can happen at any point in life.

Medications That Can Cause Persistent Erections

If you’re experiencing unusually frequent or long-lasting erections, certain medications could be contributing. Several classes of drugs are associated with this side effect, including some antidepressants (particularly trazodone and bupropion), certain antipsychotic medications, blood pressure drugs that relax blood vessels, testosterone therapy, and blood thinners. Recreational drugs like cocaine and heavy alcohol use can also play a role.

If the problem started around the same time as a new medication, that connection is worth raising with whoever prescribed it. Adjusting the dose or switching medications often resolves the issue.

When an Erection Becomes a Medical Problem

An erection that lasts longer than four hours and won’t go away, especially if it becomes painful, is a condition called priapism. This is a genuine medical emergency. Blood trapped in the penis without circulating becomes oxygen-starved, and the tissue begins to suffer damage similar to what happens in a compartment injury. The risk of permanent erectile dysfunction rises sharply after about 20 hours, and after 48 hours, the damage to the internal tissue is often irreversible even with treatment.

This is rare, but if an erection persists past the four-hour mark with increasing pain and rigidity, go to an emergency room. Treatment at that stage involves draining the trapped blood, which relieves the pressure and prevents lasting harm. The sooner it’s treated, the better the outcome.