How to Get Rid of a Boner: What Actually Works

Most unwanted erections go away on their own within a few minutes, but there are several things you can do to speed up the process. The key is shifting your body out of the relaxed, aroused state that created the erection in the first place and into a more alert, active one.

Why Erections Happen (and Stop)

Erections are controlled by a tug-of-war between two branches of your nervous system. The parasympathetic branch, your “rest and digest” system, promotes erections by relaxing blood vessels in the penis and letting blood flow in. The sympathetic branch, your “fight or flight” system, does the opposite: it constricts those blood vessels and pushes blood back out. Anything that activates your sympathetic nervous system will work against an erection. That’s the basic principle behind every technique on this list.

Redirect Blood Flow With Physical Activity

Light physical exertion is one of the fastest ways to engage your sympathetic nervous system. Walking briskly, climbing stairs, doing calf raises, or tensing your thigh and glute muscles all pull blood toward large muscle groups and away from the pelvis. You don’t need a full workout. Even 30 to 60 seconds of sustained muscle engagement in your legs can make a noticeable difference. Flexing both quads hard while seated is a discreet option if you can’t stand up and move around.

Use Cold to Your Advantage

Cold exposure triggers vasoconstriction, the narrowing of blood vessels, especially in skin and extremities. It also spikes norepinephrine, a stress hormone that further constricts blood flow throughout the body. Splashing cold water on your wrists or the back of your neck in a bathroom, holding a cold drink against your inner forearm, or pressing something cool against your skin all work. A cold shower is effective but obviously not always practical. Even briefly running your hands under cold tap water can nudge your nervous system in the right direction.

Shift Your Mental Focus

Because arousal starts in the brain, mental distraction can interrupt the signal that’s keeping the erection going. The goal is to engage your brain in something cognitively demanding but not stressful. Try counting backward from a large number by sevens, mentally listing every player on a sports team, or working through a mundane task in your head like planning your grocery list item by item. Simple distraction (“think about something else”) is less effective than tasks that actually require concentration, because your brain needs to be actively occupied to override the arousal pathway.

Change Your Position

Sitting down or shifting your posture can reduce direct physical stimulation that may be sustaining the erection. If you’re sitting and clothing friction is part of the problem, standing up or repositioning can help. Crossing your legs, shifting your weight, or placing your hands in your lap or a bag over your midsection all reduce visibility while you wait it out. Untucked shirts, jackets tied around the waist, and looser-fitting pants are your best friends on days when random erections are likely. Darker fabrics and thicker materials like denim or chinos are less revealing than thin dress pants or athletic shorts.

Try Controlled Breathing

Slow, deep breathing with a longer exhale than inhale activates a mild sympathetic response that can help. Breathe in for four counts, hold briefly, then exhale for six to eight counts. This isn’t as fast-acting as physical movement or cold, but it works well in combination with mental distraction, especially in situations where you can’t get up and walk around.

What’s Normal and What Isn’t

Random erections are extremely common, particularly during puberty and young adulthood, but they happen at every age. Morning erections occur because sympathetic neurons in the brain stem shut off during REM sleep, allowing the erection-promoting pathways to run unopposed. This is a sign of healthy vascular and nerve function, not a problem.

Most unwanted erections resolve within a few minutes to around 20 minutes. If an erection lasts longer than four hours, that crosses into a condition called priapism, which the American Urological Association classifies as a medical emergency. Prolonged ischemic priapism (the type where blood is trapped and not circulating) can cause permanent tissue damage and lasting erectile dysfunction if untreated. This is rare in everyday life but is a known risk with certain medications, including some antidepressants, blood thinners, and erectile dysfunction drugs. An erection that persists past the four-hour mark, especially one that becomes painful, needs emergency treatment.

For the typical unwanted erection that shows up at an inconvenient moment, the combination of muscle tensing, cold exposure, and mental distraction will usually resolve it in under five minutes. The more you activate your body’s alert, active mode, the faster the process goes.