# Sudden or temporary ED: common causes and how long it lasts

> There is no fixed timeline. Temporary erection trouble tends to last as long as whatever is behind it. Occasional trouble tied to stress or drinking often passes with little or no treatment, while trouble linked to a medicine, a health condition or ongoing anxiety can continue until that cause is addressed. If it keeps coming back, see a clinician.

_Last updated: 2026-10-17_

---
**In short:** erection trouble that shows up suddenly, or comes and goes, is
common, and it does not come with a fixed expiry date. It tends to last as long
as whatever is behind it. A stressful stretch or a heavy night of drinking can
get in the way for a while and then ease. A new medicine,
an injury or a health condition can keep it going until that cause is looked
at. This guide covers what can make ED start suddenly, what the research says
about how often it improves on its own, and which situations mean you should
get checked soon rather than wait.

## What can make ED start suddenly?

Several of the recognized causes of ED are tied to a specific event or change,
so they can line up with trouble that seems to start suddenly: stress or
anxiety, drinking too much, recreational drugs, a new or changed medicine, and
an injury or surgery that affects the nerves.
To get an erection, the brain, nerves, hormones and blood vessels all have to
work together, and MedlinePlus explains that anything that gets in the way of
those can lead to erection problems
([MedlinePlus, Erection problems](https://medlineplus.gov/ency/article/007617.htm)).

The National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK)
groups the causes of ED into four families: diseases and conditions, medicines,
mental health or emotional issues, and lifestyle behaviors
([NIDDK, ED symptoms and causes](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/symptoms-causes)).
The table lists the ones tied to a specific event or change, but it is a guide to what to mention to a clinician, not a way to
diagnose yourself.

| Possible cause                            | What the source says                                     | Source                                                                                                                                                                       |
| ----------------------------------------- | -------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Stress, anxiety, fear or anger            | Emotional factors can cause ED or make it worse          | [NIDDK](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/symptoms-causes), [MedlinePlus](https://medlineplus.gov/ency/article/007617.htm) |
| Drinking too much alcohol                 | Listed among the lifestyle behaviors that can contribute | [NIDDK](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/symptoms-causes)                                                                 |
| Recreational drugs, nicotine, cocaine     | Listed as possible causes of erection problems           | [MedlinePlus](https://medlineplus.gov/ency/article/004024.htm)                                                                                                               |
| A new or changed medicine                 | ED is a side effect of many common medicines             | [NIDDK](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/symptoms-causes)                                                                 |
| Injury, pelvic or prostate surgery        | Nerve damage can follow surgery or a spinal cord injury  | [NIDDK](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/symptoms-causes), [MedlinePlus](https://medlineplus.gov/ency/article/007617.htm) |
| Relationship strain or poor communication | Listed among the emotional causes of ED                  | [MedlinePlus](https://medlineplus.gov/ency/article/007617.htm)                                                                                                               |

Long-term conditions, such as diabetes, high blood pressure, clogged arteries
and low testosterone, are on the same lists. A change can feel sudden even when
the cause has been developing for a while, which is one reason a clinician will
want the whole story rather than just the last few weeks.

## How long does temporary ED last?

Temporary ED has no set length, because it depends on the cause. MedlinePlus
says almost all adult men have trouble getting or keeping an erection at one
time or another, and that the problem often goes away with little or no
treatment
([MedlinePlus, Erection problems](https://medlineplus.gov/ency/article/007617.htm)).
Trouble tied to a passing cause, such as a stressful week, tends to ease when
that cause does. Trouble tied to a medicine or a health condition usually needs
that cause addressed.

Longer-term studies show that ED is not always permanent and can improve over
time. In the Massachusetts Male Aging Study, which followed men aged 40 to 70
over several years, 35% of the men with ED at the start showed remission at
follow-up, while about a third of those with minimal or moderate ED got worse
([Travison et al., Journal of Urology, 2007](https://pubmed.ncbi.nlm.nih.gov/17162054/)).
A later analysis of two cohorts found that 21% and 25% of men with some ED
improved over follow-up periods of about 7 and 3 years, and that worsening
became more common with age
([Travison et al., Journal of Sexual Medicine, 2011](https://pubmed.ncbi.nlm.nih.gov/21569212/)).

| What the evidence shows                                      | What it does not show                            |
| ------------------------------------------------------------ | ------------------------------------------------ |
| Occasional erection trouble is common and often passes       | How many days or weeks any one episode will last |
| A meaningful share of men with ED improve over several years | That waiting is the right choice for you         |
| Improvement and worsening were both common in the studies    | Which group a particular man will fall into      |

The studies tracked groups of men over years, not individual episodes over
days. They support the idea that ED is not always permanent. They cannot tell
you how long your own trouble will last, and they are not a reason to wait if
it keeps happening.

## Can stress or anxiety cause sudden ED?

Yes. NIDDK says anxiety, depression, stress, feeling isolated or lonely, and low
self-esteem can either cause ED or make it worse
([NIDDK, ED symptoms and causes](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/symptoms-causes)).
MedlinePlus adds feelings of doubt and failure, fear, anger, poor communication
with a partner, and expecting too much from sex, which it says can turn sex into
a task instead of a pleasure
([MedlinePlus, Erection problems](https://medlineplus.gov/ency/article/007617.htm)).

This is how a single off night can turn into a run of them. Worry about the last
time can get in the way of the next time. Our guide on
[ED versus performance anxiety](/ed-vs-performance-anxiety) explains that loop
and how to tell it apart from a physical cause. NIDDK says a clinician may
suggest counseling when mental health or emotional issues are affecting ED, and
that counselors can help lower anxiety and stress about sex
([NIDDK, ED treatment](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/treatment)).

## Can alcohol cause temporary ED?

Yes, alcohol can be part of it. NIDDK lists drinking too much alcohol among the
lifestyle behaviors that may contribute to ED
([NIDDK, ED symptoms and causes](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/symptoms-causes)),
and MedlinePlus includes alcohol, along with nicotine, cocaine, marijuana,
amphetamines and opioids, on its list of drugs that may cause erection problems
([MedlinePlus, Drugs that may cause erection problems](https://medlineplus.gov/ency/article/004024.htm)).

There is a second point worth knowing. NIDDK says illicit drugs and too much
alcohol can sometimes mask other mental health, emotional or physical factors
that cause ED, and it lists limiting or stopping alcohol among the lifestyle
changes a clinician may suggest
([NIDDK, ED treatment](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/treatment)).
So if cutting back does not settle things, that is useful information to take
to a visit. Our guide to [alcohol, drugs and other lifestyle factors](/lifestyle-and-ed)
covers this in more depth.

## Can a new medicine cause sudden ED?

Yes. NIDDK says ED can be a side effect of many common prescription and
over-the-counter medicines, including antidepressants, antihistamines, blood
pressure medicines and water pills, some pain relievers, sedatives, ulcer
medicines, and chemotherapy and hormone medicines
([NIDDK, ED symptoms and causes](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/symptoms-causes)).
MedlinePlus keeps a longer list and notes that a medicine that causes erection
problems in one man may not affect another
([MedlinePlus, Drugs that may cause erection problems](https://medlineplus.gov/ency/article/004024.htm)).

The medicine's own label is the best place to check. Two examples from FDA
labels on DailyMed show how different the picture can be:

- **Sertraline (Zoloft), an antidepressant.** The label warns that in men, SSRI
  use may result in ejaculatory delay or failure, decreased libido and erectile
  dysfunction. It also tells prescribers that the timing of symptom onset
  matters, because sexual symptoms may have other causes, including the
  condition being treated
  ([ZOLOFT prescribing information, DailyMed](https://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=fda754f6-d0f3-4dce-a17a-927d64f912f7)).
- **Finasteride (Proscar), for an enlarged prostate.** In a 4-year
  placebo-controlled trial, impotence judged drug related was reported by 8.1%
  of men on finasteride and 3.7% on placebo in year 1, and in years 2 to 4 there
  was no significant difference between the groups. The label also lists rare
  postmarketing reports of sexual problems, including erectile dysfunction, that
  continued after the medicine was stopped
  ([PROSCAR prescribing information, DailyMed](https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=6f988153-fc74-4ca4-b29a-111f750c4a4b)).

Expectations can play a part too. In a small study of 96 men starting the beta
blocker atenolol, none of whom had ED at the start, ED was reported after 3
months by 3.1% of men who were not told which drug they were taking, 15.6% of men
told the drug's name, and 31.2% of men told the drug's name and its possible
effect on erections
([Silvestri et al., European Heart Journal, 2003](https://pubmed.ncbi.nlm.nih.gov/14585251/)).
It was one small study of one drug, but it shows why timing and context matter.

Do not stop a prescribed medicine on your own. NIDDK and MedlinePlus both say to
talk with your health care professional first, who may suggest a different dose
or another medicine
([NIDDK, ED treatment](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/treatment);
[MedlinePlus, Erection problems](https://medlineplus.gov/ency/article/007617.htm)).
Our guide to [medicines that can affect erections](/medications-that-affect-erections)
goes through the main groups.

## Does sudden ED mean the cause is psychological?

Not on its own. A review of how young men with ED are evaluated lists sudden
onset, good erections at other times, major life events and past psychological
problems as clues that suggest a psychological cause, and gradual onset as more
suggestive of a physical one
([Papagiannopoulos et al., Asian Journal of Andrology, 2015](https://pmc.ncbi.nlm.nih.gov/articles/PMC4291852/)).
MedlinePlus says that if you have [erections in the morning or at night](/morning-erections/) while you
sleep, the cause is likely not physical, but it also says most erection problems
have a physical cause
([MedlinePlus, Erection problems](https://medlineplus.gov/ency/article/007617.htm)).

Clues are not a diagnosis. In a study of 2,009 men seeking care for ED for the
first time, about one in nine met criteria suggestive of a mainly psychological
cause, and their ED could be as severe as in men with a physical cause
([Pozzi et al., Andrology, 2022](https://pubmed.ncbi.nlm.nih.gov/35723046/)).
Many men have a mix of both. A clinician sorts this out with a medical, sexual
and psychosocial history, an exam and selective lab tests, which is what the
American Urological Association recommends for every man with symptoms of ED
([AUA Erectile Dysfunction Guideline]()).

## When is sudden ED a reason to see a doctor soon?

See a clinician soon if the trouble began after an injury or prostate surgery,
if it comes with other symptoms such as low back pain, abdominal pain or a change
in urination, or if it does not go away with lifestyle changes. Those are the
situations MedlinePlus lists for contacting a provider
([MedlinePlus, Erection problems](https://medlineplus.gov/ency/article/007617.htm)).
It also suggests a visit if you have trouble more than 25% of the time.

Even when the change seems to have an obvious explanation, it is worth taking
seriously. The AUA guideline says men should be counseled that ED is a risk marker
for underlying cardiovascular disease and other health conditions that may
warrant evaluation and treatment
([AUA Erectile Dysfunction Guideline]()).
A risk marker is a reason to look, not proof that something is wrong. Our guide on
[when to see a doctor about ED](/when-to-see-a-doctor-about-ed) covers the red
flags in more detail, and [what to expect when ED is diagnosed](/how-ed-is-diagnosed)
walks through the visit.

| Situation                                                        | What the sources suggest                         |
| ---------------------------------------------------------------- | ------------------------------------------------ |
| One or two off nights with an obvious reason                     | Common, often passes with little or no treatment |
| Trouble keeps coming back, more than about a quarter of the time | Book a visit                                     |
| Started after an injury or prostate surgery                      | Contact a provider                               |
| Comes with back pain, abdominal pain or urination changes        | Contact a provider                               |
| Started after a new medicine                                     | Talk to the prescriber; do not stop it yourself  |
| An erection lasting more than 4 hours after an ED medicine       | Get care right away                              |

Sources for the table: [MedlinePlus](https://medlineplus.gov/ency/article/007617.htm)
and [NIDDK](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/treatment).

  Book a visit if erection trouble keeps coming back, started after an injury,
  surgery or a new medicine, or comes with other new symptoms. Bring a short
  note of when it started, what changed around that time, and every medicine and
  supplement you take. NIDDK says to call your health care professional right
  away if an ED medicine causes an erection lasting longer than 4 hours, or
  vision or hearing loss.

## The bottom line

Sudden or temporary ED is common, and it does not have a fixed timeline. It
tends to last as long as its cause. Stress or drinking can be behind a rough
patch that eases on its own, while a new medicine, an injury or a health
condition may keep it going until someone looks at it. Long-term studies show
that ED improves over time in a meaningful share of men, but they cannot predict
your own course. If it keeps
happening, or began after an injury, surgery or a new prescription, a calm
conversation with a clinician is the next step. For how to tell a one-off from a
pattern, see our guide to [the symptoms of ED](/ed-symptoms).

## Sources

- NIDDK, Symptoms and Causes of Erectile Dysfunction (last reviewed October 2024). The four families of causes, the medicines list, emotional issues that can cause or worsen ED, and drinking too much alcohol as a contributing behavior: [niddk.nih.gov, ED symptoms and causes](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/symptoms-causes)
- NIDDK, Treatment for Erectile Dysfunction (last reviewed October 2024). Counseling for anxiety and stress, reviewing medicines and not stopping them on your own, limiting alcohol, alcohol and drugs masking other causes, and the seek-care-right-away list: [niddk.nih.gov, ED treatment](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/treatment)
- NIDDK, Diagnosis of Erectile Dysfunction (last reviewed October 2024). Medical, sexual and mental health history, physical exam and tests: [niddk.nih.gov, ED diagnosis](https://www.niddk.nih.gov/health-information/urologic-diseases/erectile-dysfunction/diagnosis)
- American Urological Association, Erectile Dysfunction Guideline (Burnett AL et al., 2018). The definition of ED, Guideline Statement 1 on history, exam and selective lab testing, and Guideline Statement 3 on ED as a risk marker for cardiovascular disease: [auanet.org, erectile dysfunction guideline]()
- MedlinePlus (National Library of Medicine), Erection problems (reviewed October 2025). Occasional trouble as common and often passing, physical and emotional causes, nighttime erections, the more-than-25% threshold, when to contact a provider, and not changing medicines on your own: [medlineplus.gov, Erection problems](https://medlineplus.gov/ency/article/007617.htm)
- MedlinePlus, Drugs that may cause erection problems (reviewed January 2025). Medicines and recreational drugs, including alcohol, that may cause ED, and variation between men: [medlineplus.gov, Drugs that may cause erection problems](https://medlineplus.gov/ency/article/004024.htm)
- ZOLOFT (sertraline) prescribing information, DailyMed. Section 5.11 Sexual Dysfunction and the importance of the timing of symptom onset: [dailymed.nlm.nih.gov, ZOLOFT label](https://dailymed.nlm.nih.gov/dailymed/lookup.cfm?setid=fda754f6-d0f3-4dce-a17a-927d64f912f7)
- PROSCAR (finasteride) prescribing information, DailyMed (revised March 2026). Impotence rates in year 1 and years 2 to 4 of the PLESS trial, and rare postmarketing reports of sexual dysfunction continuing after discontinuation: [dailymed.nlm.nih.gov, PROSCAR label](https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=6f988153-fc74-4ca4-b29a-111f750c4a4b)
- Travison TG, et al. The natural progression and remission of erectile dysfunction: results from the Massachusetts Male Aging Study. Journal of Urology, 2007;177(1):241-246. Remission in 35% and progression in 33%: [pubmed.ncbi.nlm.nih.gov/17162054](https://pubmed.ncbi.nlm.nih.gov/17162054/)
- Travison TG, et al. The natural progression and regression of erectile dysfunction: follow-up results from the MMAS and MALES studies. Journal of Sexual Medicine, 2011;8(7):1917-1924. Regression in 21% and 25% of men, with progression more common with age: [pubmed.ncbi.nlm.nih.gov/21569212](https://pubmed.ncbi.nlm.nih.gov/21569212/)
- Papagiannopoulos D, Khare N, Nehra A. Evaluation of young men with organic erectile dysfunction. Asian Journal of Andrology, 2015;17(1):11-16. Sudden onset and other clues that suggest a psychological cause, and gradual onset suggesting a physical one: [pmc.ncbi.nlm.nih.gov/articles/PMC4291852](https://pmc.ncbi.nlm.nih.gov/articles/PMC4291852/)
- Silvestri A, et al. Report of erectile dysfunction after therapy with beta-blockers is related to patient knowledge of side effects and is reversed by placebo. European Heart Journal, 2003;24(21):1928-1932. Reported ED by what men were told about the drug: [pubmed.ncbi.nlm.nih.gov/14585251](https://pubmed.ncbi.nlm.nih.gov/14585251/)
- Pozzi E, et al. Primary organic versus primary psychogenic erectile dysfunction: findings from a real-life cross-sectional study. Andrology, 2022;10(7):1302-1309. About one in nine of 2,009 men met criteria suggestive of a primarily psychological cause: [pubmed.ncbi.nlm.nih.gov/35723046](https://pubmed.ncbi.nlm.nih.gov/35723046/)

---

_Affiliate disclosure: some links on the web version of this site go to Bodybuilding Peptides (trybbpeptides.com), an affiliate destination, and we may earn a commission if you buy there. Our coverage is independent of that relationship. Details: https://theedreport.com/affiliate-disclosure/_
