How to Control Your Erection: Tips and Techniques

Controlling an erection means different things depending on the situation. You might want to suppress an unwanted erection in public, last longer during sex by managing your arousal, or improve erection quality when it’s not reliable. All three come down to the same basic biology: erections are controlled by your nervous system and blood flow, and you have more influence over both than you might think.

How Erections Work

Your spinal cord houses three sets of nerve pathways that connect to the penis. The parasympathetic nerves (originating from the lower spine) are pro-erectile, meaning they trigger and sustain erections by relaxing smooth muscle in the blood vessels and allowing blood to flow in. The sympathetic nerves (from the mid-to-lower spine) are anti-erectile, working to reduce blood flow and bring an erection down. Your body is constantly balancing these two systems.

This is why stress, anxiety, and cold temperatures can kill an erection, and why relaxation and arousal promote one. It also explains why the techniques below work: they’re all ways of tipping the balance between these two systems in whichever direction you want.

Suppressing an Unwanted Erection

The fastest way to lose an erection you don’t want is to activate your sympathetic nervous system. Tensing large muscle groups, particularly your thighs, calves, or glutes, diverts blood away from the pelvic area. Hold the contraction for 10 to 15 seconds, release, and repeat. This works because your body prioritizes sending blood to the muscles you’re actively using.

Mental redirection also helps. Doing simple math in your head, recalling a grocery list, or focusing on your breathing shifts your brain away from arousal signals. Cold temperatures work too: pressing something cool against your wrist or inner forearm, or splashing cold water on your face if you have access to a restroom, triggers a mild sympathetic response that counters the erection.

Repositioning your body can reduce friction and stimulation. Sitting down, shifting in your seat, or placing your hands in your pockets to adjust discreetly are practical options. Walking can sometimes make things worse by increasing pelvic blood flow, so sitting or standing still tends to work better in the short term.

Lasting Longer During Sex

If your goal is to maintain an erection while delaying orgasm, two well-established techniques give you direct control over your arousal level.

The Stop-Start Method (Edging)

This technique trains your body to recognize the buildup to orgasm and pull back before crossing the threshold. When you feel yourself approaching climax, stop all thrusting or stimulation entirely. Pause for several seconds or up to a minute until the urgency fades, then resume. You can repeat this cycle multiple times in a single session. Over weeks of practice, your body learns to tolerate higher levels of arousal without tipping over into orgasm, gradually extending your staying power.

The Squeeze Technique

This works on the same principle but adds a physical step. When you feel close to climax, you or your partner firmly grips the end of the penis where the head meets the shaft. Hold the pressure for several seconds until the sensation subsides, then resume stimulation. The squeeze briefly interrupts the reflex arc that triggers ejaculation. Like the stop-start method, this becomes more effective with regular practice. Many people start by practicing during masturbation before using it with a partner.

Strengthening Erection Quality

If your concern is that erections aren’t firm enough or fade too quickly, pelvic floor exercises are one of the most effective tools. Your pelvic floor muscles wrap around the base of the penis and help trap blood inside during an erection. Strengthening them gives you more control over both erection firmness and ejaculation timing.

To find these muscles, try stopping your urine stream midflow. The muscles you engage are the ones you want to train. Once you’ve identified them, you can exercise them anywhere. Start by squeezing for three seconds, then relaxing for three seconds. Work up to 10 to 15 repetitions per set, three sets per day. Over several weeks, aim to hold each squeeze for 10 seconds with a 10-second rest between reps. Results typically take four to six weeks of consistent practice to become noticeable.

Exercise and Blood Flow

Erections depend on healthy blood vessels. A review of 11 randomized controlled trials involving over 1,000 men found that regular aerobic exercise, 30 to 60 minutes, three to five times per week, improved erectile function as effectively as some medications in men with mild to moderate difficulties. Running, cycling, swimming, and brisk walking all count.

The mechanism is straightforward: aerobic exercise keeps blood vessels flexible and improves your body’s production of nitric oxide, the molecule that signals blood vessels in the penis to relax and fill with blood. Over time, better cardiovascular fitness means stronger, more reliable erections and more responsive control over arousal.

Foods That Support Erectile Function

Several foods support the nitric oxide pathway that makes erections possible. Beets and leafy greens like spinach, arugula, and kale are packed with dietary nitrates, which your body converts directly into nitric oxide. Citrus fruits provide vitamin C, which increases nitric oxide availability and helps your body absorb it more efficiently. Watermelon contains an amino acid called citrulline that your body converts into nitric oxide through a two-step process.

Dark chocolate is rich in compounds called flavanols that help maintain optimal nitric oxide levels. Nuts and seeds are high in arginine, the amino acid your body uses as raw material for nitric oxide production. Garlic activates the enzyme responsible for producing nitric oxide in the first place. Pomegranate contains antioxidants that protect nitric oxide from being broken down before it can do its job. None of these foods will produce dramatic overnight results, but a diet consistently rich in them supports the vascular health that reliable erections depend on.

When Medication Plays a Role

If lifestyle changes aren’t enough, prescription medications can help by enhancing your body’s natural erectile response. These drugs work by amplifying the nitric oxide signal, making it easier for blood to flow into the penis when you’re aroused. They don’t cause erections on their own; you still need stimulation.

The most commonly prescribed options differ mainly in timing. Some take effect within 20 to 30 minutes and last four to six hours, making them suitable for planned sexual activity. Another option takes one to two hours to reach full effect but lasts 36 to 48 hours, allowing for more spontaneity over a longer window. Your doctor can help determine which timing profile fits your needs.

When an Erection Becomes an Emergency

An erection lasting more than four hours that won’t subside, whether or not it’s related to medication, is a medical emergency called priapism. This isn’t a minor inconvenience. Trapped blood becomes oxygen-depleted and can permanently damage the tissue inside the penis if not treated quickly. If you experience a painful, rigid erection that persists well beyond arousal, go to an emergency room without waiting.