Losing an erection during sex can be confusing, frustrating and embarrassing. You may feel fully aroused at first, only to notice that your erection becomes softer during penetration, when changing positions or partway through sex.
So, why do I lose my erection during sex?
The immediate reason is that the erection is no longer receiving or retaining enough blood to remain firm. However, the underlying cause may involve performance anxiety, reduced stimulation, tiredness, alcohol, medication, hormones, nerve function, blood-vessel health or a combination of several factors.
An occasional episode is not necessarily a sign that something is seriously wrong. However, regularly getting an erection and then losing it before or during sex is one recognised symptom of erectile dysfunction. The National Institute of Diabetes and Digestive and Kidney Diseases defines ED as difficulty getting an erection, getting one only sometimes, or being unable to keep it long enough for sex.
Quick answer
You may lose your erection during sex because your arousal temporarily drops, anxiety activates your stress response, or a physical issue prevents sufficient blood from entering and remaining inside the penis. Alcohol, fatigue, medication, hormonal changes and relationship stress may also contribute.
When it happens repeatedly, the most useful next step is to identify the underlying cause rather than assuming it is “all in your head”.
How an erection stays firm
An erection is not simply an automatic response. It depends on several systems working together.
Sexual stimulation causes the brain and nerves to send signals to the penis. These signals relax smooth muscle and allow more blood to enter the erectile tissue. At the same time, the veins that normally carry blood away become compressed. This helps trap blood inside the penis and maintain firmness.
An erection can therefore fade when:
- Sexual stimulation decreases
- Stress interrupts the brain’s arousal signals
- Insufficient blood enters the penis
- Blood leaves the penis too quickly
- Nerve signals are disrupted
- Hormonal or medication-related factors reduce sexual response
This is why losing an erection does not always have one simple cause.
Is it normal to lose an erection during sex occasionally?
Yes. An occasional erection problem can happen to almost anyone.
Stress, poor sleep, tiredness, excessive alcohol, distraction or pressure to perform may temporarily affect sexual function. One difficult experience does not automatically mean you have erectile dysfunction.
However, it is worth paying closer attention when:
- It happens during most sexual encounters
- The problem has continued for several weeks or months
- Your erections have gradually become softer
- You rarely wake with morning erections
- The same problem occurs during masturbation
- You need increasing stimulation to remain firm
- ED medication has become less reliable
- You also have diabetes, high blood pressure or high cholesterol
- Your sexual desire has noticeably decreased
Persistent erection difficulties may be an early sign of an underlying physical or psychological condition.
For a broader explanation, read What Causes Erectile Dysfunction? Physical vs Psychological ED Explained.
The most common reasons you lose your erection during sex
1. Performance anxiety
Performance anxiety is one of the most common reasons a man can become erect initially but lose firmness during sex.
You may start thinking:
- “What if I lose it again?”
- “Am I hard enough?”
- “Is my partner enjoying this?”
- “Why is this taking so long?”
- “What will my partner think?”
These thoughts shift your attention away from pleasure and towards monitoring your erection. Your body may then enter a mild stress response.
Adrenaline helps prepare the body to respond to danger. Unfortunately, an erection requires relaxation, arousal and effective blood flow. The more urgently you try to force yourself to stay hard, the more difficult it may become.
This can create a self-reinforcing cycle:
- You lose your erection once.
- You worry that it will happen again.
- You monitor your erection during the next encounter.
- Anxiety interrupts your arousal.
- Your erection fades again.
- Your fear becomes stronger.
Anxiety can be the primary cause. However, it may also develop after a mild physical erection problem begins.
Men under 40 may find the article on erectile dysfunction in young men especially useful.
2. Reduced blood flow
Healthy erections depend on healthy blood vessels.
Conditions that affect circulation can make it harder for enough blood to enter the penis or remain there throughout sex. Common vascular risk factors include:
- High blood pressure
- High cholesterol
- Diabetes
- Obesity
- Smoking
- Physical inactivity
- Cardiovascular disease
The European Association of Urology identifies vascular disease, diabetes, hypertension, obesity, smoking and lack of exercise among the recognised risk factors for erectile dysfunction.
Vascular ED often develops gradually. You may first notice that your erection is less rigid, takes longer to develop or fades when stimulation pauses.
Because the penile arteries are relatively small, erection difficulties can sometimes appear before more obvious cardiovascular symptoms. The Princeton IV Consensus recommends considering cardiovascular risk when evaluating men with suspected vascular erectile dysfunction.
This does not mean every lost erection indicates heart disease. It means persistent changes in erection quality should not automatically be dismissed as stress.
3. Alcohol
A small amount of alcohol may reduce inhibition. Larger amounts can interfere with sexual arousal, nerve signalling and erection quality.
Alcohol may make you feel mentally interested in sex while reducing your body’s ability to respond. This can result in:
- Difficulty becoming fully erect
- Losing your erection during penetration
- Reduced sensitivity
- Delayed orgasm
- Difficulty ejaculating
If erection problems mainly happen after drinking, try having sex without alcohol and compare the difference.
4. Tiredness, stress and poor sleep
Sexual response requires mental and physical energy.
Long work hours, financial pressure, burnout, parenting demands and poor-quality sleep may all reduce arousal. You may still want sex emotionally, but your body may not respond as strongly as expected.
Poor sleep can also affect mood, concentration and hormonal regulation. Therefore, repeated erection loss during periods of exhaustion may improve when recovery and sleep improve.
5. A change in stimulation
It is normal for erection firmness to fluctuate when stimulation changes.
Some men lose firmness:
- While putting on a condom
- When changing sexual positions
- During a pause in stimulation
- Shortly after penetration
- When focusing too heavily on their partner’s reaction
- When sex feels rushed or pressured
This does not necessarily indicate a blood-flow disorder. However, if even continuous stimulation is no longer enough to maintain firmness, further assessment may be appropriate.
6. Medication side effects
A number of medicines can affect libido, arousal or erection quality.
These may include certain:
- Antidepressants
- Blood-pressure medicines
- Diuretics
- Sedatives
- Hormonal treatments
- Pain medicines
- Cancer treatments
Medication does not affect every person in the same way. In addition, the condition being treated may itself contribute to ED.
Do not stop prescribed medication without medical guidance. Instead, ask the prescribing practitioner whether the medicine, dosage or timing could be contributing to your symptoms.
7. Low testosterone or another hormonal issue
Testosterone plays a particularly important role in sexual desire and arousal.
Low testosterone does not always prevent the penis from becoming physically erect. However, it may reduce interest, responsiveness and the strength of sexual stimulation.
Possible signs of a hormonal problem include:
- Reduced sex drive
- Lower energy
- Persistent fatigue
- Loss of strength or muscle mass
- Mood changes
- Fewer spontaneous erections
- Reduced morning erections
Thyroid disorders, elevated prolactin and other endocrine conditions may also affect sexual function. Blood testing may be needed when hormonal symptoms are present.
8. Nerve or pelvic factors
Erections require intact communication between the brain, spinal cord, pelvic nerves and penile tissue.
Nerve-related erection difficulties may be associated with:
- Diabetes
- Spinal injuries
- Multiple sclerosis
- Pelvic surgery
- Prostate surgery
- Pelvic radiation
- Neurological disease
Pain, pelvic-floor tension and certain prostate conditions may also affect sexual comfort and erection quality.
9. Relationship or emotional factors
Erection problems do not necessarily mean you are no longer attracted to your partner.
However, emotional disconnection, unresolved conflict, fear of rejection, pressure to conceive or a lack of communication may reduce arousal.
The problem may also be situational. For example, you may have reliable erections during masturbation but struggle during partnered sex. That pattern often suggests that psychological pressure, the sexual environment or the type of stimulation is contributing.
It does not prove that the cause is entirely psychological.
Why can I get hard but not stay hard?
Getting an erection and maintaining one are related but slightly different processes.
You may be able to get hard because the initial level of stimulation is strong enough to increase blood flow. However, the erection may fade when:
- Stimulation becomes less intense
- Anxiety increases
- Blood flow is insufficient
- Blood is not retained effectively
- You become distracted
- Alcohol reduces nerve sensitivity
- Arousal decreases
- You feel physical discomfort
Regularly being able to get hard but not stay hard can still qualify as erectile dysfunction. ED does not only mean being completely unable to achieve an erection.
Is the cause physical or psychological?
The pattern of your symptoms may provide useful clues.
A psychological or situational factor may be more likely when:
- The problem started suddenly
- You still have strong morning erections
- You can stay hard during masturbation
- It only happens with a specific partner or situation
- Your erection changes according to your stress level
- You are highly focused on your sexual performance
A physical factor may be more likely when:
- The problem developed gradually
- Erections are weaker in every situation
- Morning erections have decreased
- Your erection is difficult to maintain even during masturbation
- You have diabetes or cardiovascular risk factors
- You have reduced penile sensitivity
- ED medication is becoming less effective
These patterns are not diagnostic. Many men have mixed ED, where a mild physical problem causes anxiety and the anxiety then makes the physical problem worse.
Does losing an erection mean I have a “venous leak”?
Not necessarily.
The term “venous leak” is often used online to describe any erection that fades quickly. However, losing firmness does not automatically mean your penile veins are physically damaged.
An erection may fade because too little blood is entering the penis, arousal has decreased, smooth muscle has not relaxed sufficiently or anxiety has interrupted the response.
A clinician may use specialised testing, such as penile Doppler ultrasound, when a blood-flow or blood-retention problem is strongly suspected. Self-diagnosing a venous leak based only on symptoms can create unnecessary anxiety.
What should I do when I lose my erection during sex?
First, try not to treat the moment as a failure.
Stopping everything to monitor or discuss the erection may increase pressure. Instead:
- Slow down
- Return to comfortable stimulation
- Focus on physical sensation rather than firmness
- Communicate calmly with your partner
- Avoid apologising repeatedly
- Do not rush penetration
- Allow arousal to rebuild naturally
Sex does not have to end because an erection changes.
A supportive response from both partners can prevent one temporary episode from developing into ongoing performance anxiety.
How can I stop losing my erection during sex?
The correct approach depends on the cause.
Improve your cardiovascular health
Exercise, weight management, smoking cessation and control of blood pressure, cholesterol and blood sugar may improve erectile function in appropriate patients.
For practical recommendations, read Lifestyle Changes for ED: What Actually Works and What Doesn’t.
Reduce alcohol before sex
Try several sexual encounters without alcohol. This provides a clearer indication of how much alcohol is affecting your response.
Review your medication
Discuss possible sexual side effects with the practitioner who prescribed your medication. Do not change or discontinue treatment on your own.
Address performance anxiety
Psychosexual counselling, cognitive behavioural therapy and open communication may be helpful when anxiety is a major factor. The EAU recommends psychological treatment, including partner involvement when appropriate, alongside medical treatment for men who need it.
Consider clinically appropriate ED medication
Prescription PDE5 inhibitors, including sildenafil and tadalafil, increase blood flow during sexual stimulation. They are commonly used as first-line medical treatment for ED, but they are not suitable for everyone.
These medicines require sexual arousal to work. They should never be combined with nitrate medication or recreational nitrate products such as “poppers”, as the combination can cause a dangerous fall in blood pressure.
Investigate possible hormonal or metabolic causes
Depending on your symptoms and medical history, an assessment may include blood pressure measurement and blood tests for glucose, cholesterol, testosterone or other relevant markers.
Consider low-intensity shockwave therapy for vascular ED
Low-intensity shockwave therapy is designed to support blood-flow response in penile tissue. It is most relevant when erection problems have a vascular component.
Current EAU guidance states that low-intensity shockwave therapy can produce a mild improvement in erectile function among men with vasculogenic ED. It gives a weak recommendation for selected patients with mild vascular ED, men who cannot or do not want to use oral medication, and some men who respond poorly to PDE5 inhibitors.
Shockwave therapy is not a universal treatment for every erection problem. It will not directly resolve relationship conflict, low arousal, medication side effects or performance anxiety when these are the primary cause.
Learn more about how shockwave therapy works for erectile dysfunction.
When should I get help?
Consider a professional assessment when:
- The problem keeps happening
- It has lasted for several weeks or longer
- Your erection quality is gradually declining
- You have stopped having morning erections
- You also have reduced libido or fatigue
- You have diabetes, hypertension or high cholesterol
- You have penile pain, a new curve or a hard lump
- You recently started a new medication
- The problem is affecting your confidence or relationship
- You need ED medication more frequently than before
Seek urgent medical care if sexual activity causes chest pain, severe breathlessness, fainting or other possible cardiovascular symptoms.
A proper ED assessment may include your medical, sexual and mental-health history, a physical examination and selected laboratory or imaging tests.
A confidential assessment can help identify the cause
Repeatedly losing an erection can make you feel as though you need to “try harder”. In reality, trying harder often increases pressure without addressing the cause.
A structured assessment can help distinguish between:
- Vascular ED
- Performance anxiety
- Hormonal factors
- Medication side effects
- Neurological causes
- Lifestyle-related ED
- Mixed physical and psychological ED
The aim should be to understand the reason your erection is changing before deciding which treatment, if any, is appropriate.
You can review the available erectile dysfunction treatment options or book a confidential consultation with Shockwave Clinic.
Frequently asked questions
Why do I lose my erection during penetration?
You may lose your erection during penetration because stimulation changes, anxiety increases or your body is unable to maintain sufficient penile blood flow. Condoms, position changes, reduced sensation, discomfort and pressure to perform can also contribute. When it happens repeatedly, it is worth investigating both physical and psychological causes.
Why do I lose my erection during sex even though I am attracted to my partner?
Attraction alone does not guarantee a consistent erection. Stress, tiredness, alcohol, medication, reduced stimulation and blood-flow problems may affect your physical response even when you strongly desire your partner. Losing an erection does not automatically mean that attraction has disappeared.
Can anxiety make me go soft during sex?
Yes. Anxiety activates the body’s stress response and shifts your attention away from pleasure. Monitoring your erection can then create more pressure, causing firmness to decrease. This pattern can become a cycle in which fear of losing the erection makes another episode more likely.
Why can I stay hard alone but not with a partner?
Reliable erections during masturbation but difficulty during partnered sex often point towards situational factors. These may include performance anxiety, relationship tension, unfamiliar stimulation or pressure to satisfy a partner. However, this pattern does not completely rule out an early physical problem.
Does a lack of morning erections mean my ED is physical?
A consistent reduction in morning erections may suggest a physical, hormonal or sleep-related contributor. However, morning erections naturally vary, and their absence alone cannot diagnose ED. The overall pattern, medical history and other symptoms need to be considered.
Can too much pornography cause me to lose my erection?
Some men report difficulty responding to partnered sexual stimulation after becoming accustomed to highly specific or intense forms of pornography. However, erection difficulties are often multifactorial. Blood flow, anxiety, medication, alcohol, hormones, relationship factors and general health should also be considered.
Can shockwave therapy help me maintain an erection?
It may help selected men whose erection difficulties are linked to impaired blood flow. Current European guidelines report mild improvements in men with vasculogenic ED and recommend careful patient selection. It is not intended to treat every cause of losing an erection.
Should I take Viagra if I lose my erection during sex?
ED medication may be appropriate for some men, but it should not replace an assessment when the problem is persistent. A practitioner should consider your cardiovascular health, other medicines and the likely cause. PDE5 inhibitors must not be combined with nitrates or recreational “poppers”.
When is losing an erection a sign of erectile dysfunction?
It may be a sign of ED when you regularly cannot keep your erection firm enough to complete satisfying sexual activity. One isolated incident is not usually enough to diagnose ED. Frequency, duration and changes in your normal erection quality are more important.
The bottom line
If you are asking, “Why do I lose my erection during sex?”, the answer may involve anxiety, changing stimulation, alcohol, fatigue, medication, hormones, reduced blood flow or several factors acting together.
An occasional episode is not necessarily a cause for concern. However, repeated erection loss deserves attention, especially when your morning erections, firmness or overall sexual response have changed.
The sooner the cause is understood, the sooner you can stop guessing and choose an approach that fits your actual condition.
Book a confidential erectile-function assessment.
Medical disclaimer
This article provides general educational information and is not a diagnosis or a substitute for individual medical advice. Erectile difficulties can have several causes. Speak to an appropriately qualified healthcare practitioner for personalised assessment and treatment recommendations.