GDRX Logo

We’d Love To help

Reach out to us we will get back to you

Preferable Time to Call

How to Get Rid of an Unwanted Erection: 5 Discreet Methods 

Julian Carter
Published

LAST UPDATED:

How to Get Rid of an Unwanted Erection

Erections occur primarily in response to sexual triggers, but sometimes even without any, like “morning wood”. Such random erections, not requiring sexual stimuli, can come and go at any time. However, due to hormonal changes, they are more frequent during adolescence and puberty. 

Whatever the reason or age, they can make you feel awkward and embarrassed. If you are beginning to wonder why you get erections so randomly or how to stop getting erect so easily, you have landed at the right place. We have curated a list of short-term techniques to hide and subside an erection when it happens unexpectedly. 

This guide also provides long-term strategies for males or Assigned Males at Birth (AMABs) to control arousal naturally and prevent these occurrences.

Method 1: Manage erections in public or awkward situations

Man sitting calmly in a cross-legged position on a chair

These strategies focus on discreet, immediate actions that help you regain control without drawing attention. They are especially useful in social, professional, or public settings where privacy is limited.

1. Excuse yourself and calm down

Excuse yourself from the situation to give your body time to calm down without the fear of added stress or embarrassment. Some men use an object to hide their arousal, while several others tuck their erect penis into the waistband of their boxers or trousers to make it less noticeable. 

If that is not possible, try to 

  • Shift your body position: For example, cross your legs, sit differently, or turn slightly the other way slightly, somewhat until the erection passes. 
  • Take slow, deep breaths: Breathe in through the nose and out through the mouth to calm your nervous system. 

2. Distract yourself with non-sexual thoughts

Sexual urges start in the brain; several men even report getting an erection during a massage. Thus, redirecting your focus is a powerful way to manage them and stop getting erect so easily. 

  • Think about neutral or mildly stressful topics: What about a work deadline, unpaid bills, or your to-do list? 
  • Imagine calming scenes: Imagery unrelated to sexual thoughts will help you shift your focus and reduce erection triggers. 

3. Practice the 4-7-8 breathing technique

The 4-7-8 breathing method helps relax both mind and body. By slowing down the breathing cycle, you can control sexual arousal as well as prevent Premature Ejaculation

  • Inhale slowly through your nose for a count of 4.
  • Hold your breath for a count of 7.
  • Exhale smoothly through pursed lips for a count of 8.
  • Repeat this cycle 4-5 times or until random erection or sexual urges subside naturally.

Method 2: Manage erections caused by Anxiety or Stress

Person sitting in meditation pose outdoors to relax mentally

Stress-related erections are often driven by nervous system activation rather than physical arousal. Addressing mental tension can reduce the frequency and intensity of these erections.

Practice mental relaxation techniques as relaxation techniques (meditation or yoga) can help control sexual urges naturally, especially when triggered by anxiety

  • Do mindfulness meditation. Focus on the present moment without judgment. Note sensations and thoughts without reacting to them.
  • Try progressive muscle relaxation. Tense and then relax different muscle groups progressively from head to toe to help release physical tension.
  • Use sensory awareness techniques: Notice five things you see, four you can touch, three you hear, two you smell, and one you taste, to ground yourself. 

Method 3. Manage erections physically when they linger

Person walking calmly into a restroom for privacy and control

When an erection does not subside quickly, physical interventions can help redirect blood flow and reduce arousal more effectively.

1. Try to urinate or ejaculate privately

To return your body to a relaxed state by managing a lingering semi-erection, try the following options:

  • If you are semi-erect, try urinating: It can help end an erection by stimulating different nerves in the pelvic region and resetting the reflex pathways. 
  • If that doesn’t work, try to ejaculate: Though it should only be done in private, appropriate settings. It provides a release of sexual tension and built-up pressure. 
Tip: A full bladder can also press against nerves that control erections, sometimes causing them to happen at night or in the early morning. Urinate, and it should go away. 

2. Go for a walk, jog, or bike ride

Go for a brisk walk, short jog, or bike ride as physical activity diverts blood flow from the penis to the working muscles, thereby stopping random erections. Exercise also increases endorphins (feel-good hormones), which help calm the mind and reduce sexual tension. 

In fact, research by Harvard Health shows that men who maintain active lifestyles (150 minutes of physical exercise per week) are less likely to develop sexual issues like Erectile Dysfunction (ED) and Premature Ejaculation (PE).

3. Shower or bathe in cold water

Taking a cold shower is one of the most popular and effective tips to manage erections. If that’s not possible, you can apply a cold towel to the groin area to redirect circulation elsewhere.  

Cold water not only constricts blood vessels, reducing the blood supply that maintains penile rigidity, but also distracts the mind to shift focus away from arousal.

4. Flex any muscle, literally

Flex your thigh or buttocks repeatedly until your erection subsides. This physical trick to reduce arousal can be done subtly, even while sitting. 

This exercise to reduce sexual tension engages large muscle groups, forcing blood away from the penis and toward the legs. It also helps shift your focus to physical exertion instead. So, you can also flex your legs or even biceps, literally any muscle, to get rid of an unwanted erection.

Method 4: Manage overly frequent or long-lasting erections

Person exercising with push-ups to manage arousal and stay fit

When erections occur too often, daily habits and lifestyle choices usually play a key role. These approaches focus on long-term regulation rather than immediate suppression.

1. Exercise regularly

Beyond short-term tricks to reduce arousal, regular physical exercise is one of the best long-term strategies for reducing erection frequency and preventing ED. To stop getting erect so easily, you can begin with:

  • Cardio exercises for 30 minutes daily: Jogging, running, cycling, or swimming can help improve circulation and balance hormone levels. 
  • Strength or weight training: To regulate testosterone levels, practice 30 minutes daily, 3 days a week. 
  • Kegel and stretching exercises: Kegels for 5-10 minutes 3 times daily help achieve better control over sexual arousal. 

2. Maintain a consistent sleep cycle

Irregular sleep patterns can lead to testosterone fluctuations and more frequent erections. So to regulate your body’s internal clock or circadian rhythm, you must:

  • Go to bed and wake up at the same time every day consistently.
  • Get 7-8 hours of undisturbed restful sleep.
  • Maintain a no-screens bedroom environment.
  • Keep no-caffeine, no-alcohol evenings.

3. Wear loose clothing to minimize stimulation

Sometimes, an erection can happen unexpectedly from simple things like movement, pressure from clothes, or sitting in a warm bath, even without sexual intent. 

To avoid such arousal, switch to looser pants and breathable cotton underwear instead of tight jeans and synthetic fabrics. This tiny adjustment will minimize stimulation, keep the groin cooler and reduce spontaneous erections. 

4. Stay away from erotic content

Overexposure to pornography and other erotic material overstimulates the brain’s reward pathways, making you more prone to random erections. This hypersensitivity can cause frequent, unwanted erections throughout the day. 

Allow your brain and body to reset by setting specific time limits on how often you view erotic content each week. Try to replace porn with other activities like exercise, hobbies, or socializing. 

5. Eat a balanced diet

What you eat directly influences your hormones and blood circulation, both of which impact erection quality and frequency. Thus, it is essential to: 

  • Eat plenty of leafy greens, whole foods and lean proteins to maintain healthy hormone levels, blood flow and energy.
  • Incorporate healthy fats from sources such as avocados, fatty fish, and nuts to improve circulation and balance hormones.
  • Limit processed foods, fried items, and sugary snacks to prevent hormonal spikes and overstimulation. 
  • Include zinc to increase testosterone.

6. Reduce smoking, alcohol and drug use

Lifestyle habits strongly affect sexual health. So to stabilize your sexual responses, try cutting back or quitting alcohol, drugs, and smoking. 

While an occasional drink may not matter, heavy or frequent use can disrupt your hormonal balance, circulation, and the nervous system. This can lead to temporary as well as long-term erectile difficulties.  

Method 5: Get medical intervention if needed

Glass of water with pills

If erections persist despite lifestyle adjustments or begin to affect daily functioning, professional evaluation can be necessary.

Short-term tips like flexing muscles or cold showers can only help you manage erections, but if they begin to interfere with your daily life, consult a doctor. The doctor can prescribe testosterone-lowering medication. However, take these only under medical supervision, as they can carry risks of interactions and serious side effects. 

While there are no “anti-erection pills” as such, there are medicines that can make erections less probable or difficult to achieve as a side effect. Such options include Selective Serotonin Reuptake Inhibitors (SSRIs) and H2-blockers. Additionally, doctors prescribe Cyproterone, Dexmedetomidine and Ketoconazole to prevent postoperative erections in surgical patients. 

When can they be a medical concern?

Image suggestion: A calm adult man wearing a plain T-shirt and relaxed-fit jeans, standing casually in a well-lit living room or quiet park walkway.

Unwanted or random erections are common and usually normal. They can occur due to hormonal fluctuations, nerve sensitivity, stress, or physical factors such as bladder pressure. These erections often resolve on their own and are not linked to sexual intent or desire.

Certain patterns need medical attention, such as if erections:

  • Are painful 
  • Last longer than 4 hours 
  • Occur excessively without arousal
  • Interfere with daily functioning 
  • Are difficult to achieve during sexual activity (while still experiencing random ones)

In such cases, a healthcare provider can help identify the underlying cause and guide appropriate care.

Frequently Asked Questions

Can hypersensitivity of the penis cause frequent erections?

Yes, highly sensitive penile nerves can trigger erections from light friction, such as tight clothing or specific physical movements. This is normal but can be managed with looser clothes and mindfulness mental techniques to stop erections.

Is it healthy to be erect a lot?

Yes, spontaneous or involuntary erections, especially nocturnal ones, are generally signs of healthy circulation. However, you should consult a doctor if they cause pain, occur too frequently or interfere with daily life.

Am I getting too many erections?

There is no fixed number applicable to everyone, as factors like age, men’s sexual health, and daily habits make a big difference. On average, men get around 11 erections a day, including 3-5 in their REM (Rapid Eye Movement) phase of sleep. But having more or fewer than that doesn’t necessarily mean a sexual dysfunction. 

Can men control when they get hard?

The answer is both yes and no. Since erections are partly reflexive and influenced by involuntary factors, they can’t always be controlled. Having said that, men can learn short-term tricks and adopt lifestyle changes to control when they get hard.

How to stop getting hard when hugging my girlfriend?

To stop getting hard while hugging your girlfriend, shift focus to non-sexual thoughts, try mindful breathing and/or flex your thigh muscles. Some Quora users suggest masturbating before meeting her. Over time, your body will adapt to sexual urges naturally, and getting hard when you don’t want to won’t be a problem.

I get erections randomly, but not during sex. Why?

If you get erections otherwise but not during partnered sex, it can be due to stress or performance anxiety. So, make sure to discuss your concerns openly with your partner. Frequent inability to achieve or maintain arousal can signal Psychological Erectile Dysfunction, which requires stress management, therapy and medication. 

Citations:
When referencing outside resources, GoodrxMedicine always provides full citations. To learn more about the measures we use to maintain the quality of our content, please review our Content Information Policy.

Leave a Comment