Our Health Library information does not replace the advice of a doctor. Please be advised that this information is made available to assist our patients to learn more about their health. Our providers may not see and/or treat all topics found herein.
Erection Problems (Erectile Dysfunction)
What are erection problems?
You have erection problems if you can't get or keep an erection that is firm enough for you to have sex. Erection problems are also called erectile dysfunction or impotence.
It's common to have erection problems every now and then. This is normal. These problems can occur at any age. But they are more common as you get older, when you are more likely to have other health problems. Treatment can help if you are older or younger.
What causes them?
Erection problems may be caused by physical problems or mental health issues. Examples include injury to the nerves or loss of blood supply to the penis, side effects of some medicines, and some surgeries. Depression, stress, and anxiety can also cause the problem.
How are they diagnosed?
Your doctor can find out if you have an erection problem by asking questions about your health and doing a physical exam. Your doctor will want to know how often the problem happens. Lab tests, and sometimes mental health tests, can also help find out the cause of the problem.
How are they treated?
Treatment for an erection problem depends on the cause of the problem. The cause may be mental, physical, or a combination. Treatment can include talking about the issue with your partner, taking pills that can help you get an erection, and finding and then stopping medicines that may be causing the problem.
How can you prevent erection problems?
To reduce your risk of having erection problems, lead a healthy lifestyle—eat healthy foods; be active; and don't smoke, drink too much alcohol, or use illegal drugs. You may be able to avoid erection problems related to anxiety and stress by talking with your partner about your concerns. This may help you relax.
Health Tools help you make wise health decisions or take action to improve your health.
Erection problems may be caused by physical problems related to the blood vessels, nerves, and hormones. Or they may be caused by mental health issues.
Normally, an erection occurs when your imagination or senses (vision, hearing, touch, smell, taste) are stimulated. You then get aroused. Your central nervous system sends nerve impulses that increase blood flow to your penis.
Causes of erection problems may include:
- Problems with the blood vessels. These problems may prevent blood from filling the penis or from staying there long enough to keep an erection.
- Problems with the nerves. These may prevent arousal signals from traveling from the brain and spinal cord to the penis.
- Other health problems, such as low testosterone levels, diabetes, or high blood pressure.
- Side effects of certain medicines.
- Drinking too much alcohol or smoking.
- Surgery, such as for prostate cancer.
- Mental health issues, such as depression, anxiety, stress, or grief.
You may be able to avoid erection problems related to anxiety and stress by taking a more relaxed approach to sex. Talk to your partner about your problems and concerns. Sexual intimacy is a form of communication. If you and your partner talk about sex, it will help reduce your stress and anxiety. And you may become more relaxed.
Erections may gradually become more difficult to get and keep as you get older. But foreplay—erotic stimulation before intercourse—and the right environment can help increase your ability to have an erection, regardless of your age.
Here are some other things you can do that may reduce your risk for erection problems.
- Quit smoking.
- Avoid using illegal drugs.
- Limit alcohol.
Even small amounts of alcohol can cause erection problems.
- Manage high blood pressure and high cholesterol.
This can help lower your risk of hardening of the arteries (atherosclerosis).
- Keep your blood sugar in your target range if you have diabetes.
- Exercise regularly.
- Lose weight, especially if you are obese.
- Lower stress in your life.
The only symptom of an erection problem is being unable to get and keep an erection that is firm enough or lasts long enough to have sex. But even with an erection problem, you may still have sexual desire and be able to have an orgasm and to ejaculate.
It's common to have erection problems now and then. But when erection problems are lasting, they can affect your self-image, sex life, and relationship. When you have erection problems often, "performance anxiety" can make the problem worse. If you can't keep an erection that is firm enough for intercourse, or if you have an orgasm before or right after entering your partner (premature ejaculation), you may feel frustrated and believe you aren't pleasing your partner. All of these things could affect how you view your relationship.
Fortunately, many of the things that cause erection problems can be treated.
When to Call
Call your doctor now or seek medical care right away if:
- You have an erection that lasts longer than 3 hours.
- You have taken sildenafil (for example, Viagra) or vardenafil (for example, Levitra) in the past 24 hours or tadalafil (for example, Cialis) in the past 48 hours, and you have chest pain. Do not take nitroglycerin. Make sure all the doctors you see know that you took one of these medicines.
- You have erection problems that occur along with pain or difficulty with urination, a fever, or pain in the lower belly.
Call a doctor if erection problems occur:
- With any type of injury to the back, legs, buttocks, groin, penis, or testicles.
- With other symptoms such as loss of hair, enlargement of the breasts, or backache.
- With any change to the medicine you take.
If your erection problem happens just now and then, there's no reason to call your doctor. If it happens often and upsets you or your partner, it's okay to call your doctor. If an erection problem doesn't bother you or your partner, you may choose not to call your doctor.
Watchful waiting is a wait-and-see approach. A single episode of an erection problem is often a temporary problem that is easy to reverse. Don't assume it will happen again. Try to forget about it, and expect a more successful experience the next time. If you or your partner is concerned about it, talk about the problem. Openly discuss your fears and anxieties.
If self-care has not helped after 2 weeks and you are concerned about your erection problem, see a doctor who has experience in dealing with these problems.
Check your symptoms
Exams and Tests
To diagnose an erection problem, your doctor may:
- Review your risk factors. This includes things like any medicines you take and how much you drink.
- Ask questions about your sexual function, including how often you have erection problems.
- Do a complete physical exam of the belly, penis, prostate, rectum, and testicles.
- Do lab tests for testosterone and other hormones and for blood sugar.
Your doctor may start treatment with pills. But you may get more tests if pills don't work or your doctor thinks that testing is needed.
Tests can help your doctor find out whether physical factors are causing your erection problem. These may include lab tests for:
- Testosterone. A low level may reduce sexual desire.
- Thyroid hormone.
- Blood sugar. A high level may indicate diabetes. This can cause erection problems.
If your doctor thinks you have a mental health issue, a mental health evaluation may be recommended.
Treatment for an erection problem depends on the cause of the problem. The cause may be mental or physical. Or it might be a mix of both.
Many doctors take a step-by-step approach to treating erection problems. They start with treatments that don't put anything in or on your body.
Treatment can include having you:
- Avoid tobacco and drugs and limit alcohol.
- Talk about the issue with your partner, do sensual exercises, and get counseling.
- Stop medicines that may be causing the problem. In some cases, you can try a different medicine.
- Take testosterone or another treatment to fix a hormone problem, such as low testosterone, if tests show that you have one.
- Take pills that help you get an erection. These pills are called PDE-5 inhibitors. They include sildenafil (such as Viagra), tadalafil (such as Cialis), and vardenafil (such as Levitra). Check with your doctor to see if it's safe for you to take one of these medicines with your other medicines. These pills can be dangerous if you take nitroglycerin or other medicines that contain nitrates (for heart disease) or alpha-blockers (for blood pressure or an enlarged prostate).
- Use medicines that are injected or inserted into the penis.
- Use vacuum devices. These devices have a tube that you place around the penis. You pump the device to create a vacuum that leads to an erection.
- Have surgery to place an implant in the penis.
There are also complementary therapies for erection problems. If you don't want to use medicine, or if medicine doesn't work for you, you may want to talk with your doctor about some of these options. They include acupuncture, ginseng, and zinc. Most of these treatments need more research before doctors can know for sure if they work.footnote 1
It's important to involve your partner in your decision, no matter which treatment you choose.
- Limit alcohol. Have no more than 2 drinks a day.
- Do not smoke. Smoking makes it harder for the blood vessels in the penis to relax and let blood flow in. If you need help quitting, talk to your doctor about stop-smoking programs and medicines. These can increase your chances of quitting for good.
- Do not use cocaine, heroin, or other illegal drugs.
- Try to reduce stress.
- Give yourself time to adjust to change. Changes in your job, family, relationships, home life, and other areas can cause stress. And stress can cause erection problems.
Work with your partner
- Don't assume that you know what your partner likes when it comes to sex. You may be wrong. Talk about what each of you does and does not enjoy.
- Make time outside of the bedroom to talk about your sex life. If you avoid sex because you are afraid of having erection problems, your partner may worry that you are no longer interested.
- If you and your partner have trouble talking about sex, see a therapist. They may help you talk about it. Reading books with your partner about sexual health may also help.
- Relax. Take time for more foreplay. Worrying about your erections may only make things worse.
- Tell your doctor about all the medicines that you take.
- Some medicines can cause erection problems.
- Some medicines can have dangerous interactions with medicines that are prescribed for erection problems. These include over-the-counter medicines and herbal products.
- Be safe with medicines. Take your medicines exactly as prescribed. Call your doctor if you think you are having a problem with your medicine.
- Talk to your doctor about trying a medicine to help you keep an erection. This could be a medicine like sildenafil (such as Viagra), tadalafil (such as Cialis), or vardenafil (such as Levitra). If you have a heart problem, ask your doctor if these are safe for you. Do not take these medicines if you take nitroglycerin or other nitrate medicine.
Medicines that can help produce an erection may be used to treat erection problems that are caused by blood vessel (vascular), hormonal, nervous system, or psychological problems. The medicines also may be used with counseling. Together, they can treat erection problems that have psychological causes.
Commonly used oral medicines include:
- PDE-5 inhibitors. Examples are sildenafil (such as Viagra), tadalafil (such as Cialis), and vardenafil (such as Levitra).
Other medicines that may be used include:
- Injected medicines.
- Intraurethral alprostadil (MUSE).
Hormones and other medicines may be prescribed if you have low testosterone or high prolactin levels.
PDE-5 inhibitors should never be used if you may need to take a nitrate-containing medicine, such as nitroglycerin. Taking nitroglycerin and a PDE-5 inhibitor within 24 hours of each other may greatly lower your blood pressure. This could lead to a heart attack, stroke, or death.
Current as of: February 11, 2021
Author: Healthwise Staff
E. Gregory Thompson MD - Internal Medicine
Adam Husney MD - Family Medicine
Christopher G. Wood MD, FACS - Urology, Oncology
Current as of: February 11, 2021
To learn more about Healthwise, visit Healthwise.org.
© 1995-2021 Healthwise, Incorporated. Healthwise, Healthwise for every health decision, and the Healthwise logo are trademarks of Healthwise, Incorporated.