Erectile dysfunction (impotence) is the inability to get and keep an erection firm enough for sex.
Having erection trouble from time to time isn't necessarily a cause for concern. If erectile dysfunction is an ongoing issue, however, it can cause stress, affect your self-confidence and contribute to relationship problems. Problems getting or keeping an erection can also be a sign of an underlying health condition that needs treatment and a risk factor for heart disease.
If you're concerned about erectile dysfunction, talk to your doctor — even if you're embarrassed. Sometimes, treating an underlying condition is enough to reverse erectile dysfunction. In other cases, medications or other direct treatments might be needed.
Erectile dysfunction symptoms might include persistent:
A family doctor is a good place to start when you have erectile problems. See your doctor if:
Male sexual arousal is a complex process that involves the brain, hormones, emotions, nerves, muscles and blood vessels. Erectile dysfunction can result from a problem with any of these. Likewise, stress and mental health concerns can cause or worsen erectile dysfunction.
Sometimes a combination of physical and psychological issues causes erectile dysfunction. For instance, a minor physical condition that slows your sexual response might cause anxiety about maintaining an erection. The resulting anxiety can lead to or worsen erectile dysfunction.
In many cases, erectile dysfunction is caused by something physical. Common causes include:
The brain plays a key role in triggering the series of physical events that cause an erection, starting with feelings of sexual excitement. A number of things can interfere with sexual feelings and cause or worsen erectile dysfunction. These include:
As you get older, erections might take longer to develop and might not be as firm. You might need more direct touch to your penis to get and keep an erection.
Various risk factors can contribute to erectile dysfunction, including:
Complications resulting from erectile dysfunction can include:
The best way to prevent erectile dysfunction is to make healthy lifestyle choices and to manage any existing health conditions. For example:
For many people, a physical exam and answering questions (medical history) are all that's needed for a doctor to diagnose erectile dysfunction and recommend a treatment. If you have chronic health conditions or your doctor suspects that an underlying condition might be involved, you might need further tests or a consultation with a specialist.
Tests for underlying conditions might include:
Ultrasound. This test is usually performed by a specialist in an office. It involves using a wandlike device (transducer) held over the blood vessels that supply the penis. It creates a video image to let your doctor see if you have blood flow problems.
This test is sometimes done in combination with an injection of medications into the penis to stimulate blood flow and produce an erection.
The first thing your doctor will do is to make sure you're getting the right treatment for any health conditions that could be causing or worsening your erectile dysfunction.
Depending on the cause and severity of your erectile dysfunction and any underlying health conditions, you might have various treatment options. Your doctor can explain the risks and benefits of each treatment and will consider your preferences. Your partner's preferences also might play a role in your treatment choices.
Oral medications are a successful erectile dysfunction treatment for many men. They include:
All four medications enhance the effects of nitric oxide — a natural chemical your body produces that relaxes muscles in the penis. This increases blood flow and allows you to get an erection in response to sexual stimulation.
Taking one of these tablets will not automatically produce an erection. Sexual stimulation is needed first to cause the release of nitric oxide from your penile nerves. These medications amplify that signal, allowing normal penile function in some people. Oral erectile dysfunction medications are not aphrodisiacs, will not cause excitement and are not needed in people who get normal erections.
The medications vary in dosage, how long they work and side effects. Possible side effects include flushing, nasal congestion, headache, visual changes, backache and stomach upset.
Your doctor will consider your particular situation to determine which medication might work best. These medications might not treat your erectile dysfunction immediately. You might need to work with your doctor to find the right medication and dosage for you.
Before taking any medication for erectile dysfunction, including over-the-counter supplements and herbal remedies, get your doctor's OK. Medications for erectile dysfunction do not work in everyone and might be less effective in certain conditions, such as after prostate surgery or if you have diabetes. Some medications might also be dangerous if you:
Other medications for erectile dysfunction include:
Alprostadil self-injection. With this method, you use a fine needle to inject alprostadil (Caverject, Edex) into the base or side of your penis. In some cases, medications generally used for other conditions are used for penile injections on their own or in combination. Examples include alprostadil and phentolamine. Often these combination medications are known as bimix (if two medications are included) or trimix (if three are included).
Each injection is dosed to create an erection lasting no longer than an hour. Because the needle used is very fine, pain from the injection site is usually minor.
Side effects can include mild bleeding from the injection, prolonged erection (priapism) and, rarely, formation of fibrous tissue at the injection site.
Alprostadil urethral suppository. Alprostadil (Muse) intraurethral therapy involves placing a tiny alprostadil suppository inside your penis in the penile urethra. You use a special applicator to insert the suppository into your penile urethra.
The erection usually starts within 10 minutes and, when effective, lasts between 30 and 60 minutes. Side effects can include a burning feeling in the penis, minor bleeding in the urethra and formation of fibrous tissue inside your penis.
If medications aren't effective or appropriate in your case, your doctor might recommend a different treatment. Other treatments include:
Penis pumps. A penis pump (vacuum erection device) is a hollow tube with a hand-powered or battery-powered pump. The tube is placed over your penis, and then the pump is used to suck out the air inside the tube. This creates a vacuum that pulls blood into your penis.
Once you get an erection, you slip a tension ring around the base of your penis to hold in the blood and keep it firm. You then remove the vacuum device.
The erection typically lasts long enough for a couple to have sex. You remove the tension ring after intercourse. Bruising of the penis is a possible side effect, and ejaculation will be restricted by the band. Your penis might feel cold to the touch.
If a penis pump is a good treatment choice for you, your doctor might recommend or prescribe a specific model. That way, you can be sure it suits your needs and that it's made by a reputable manufacturer.
Penile implants. This treatment involves surgically placing devices into both sides of the penis. These implants consist of either inflatable or malleable (bendable) rods. Inflatable devices allow you to control when and how long you have an erection. The malleable rods keep your penis firm but bendable.
Penile implants are usually not recommended until other methods have been tried first. Implants have a high degree of satisfaction among those who have tried and failed more-conservative therapies. As with any surgery, there's a risk of complications, such as infection. Penile implant surgery is not recommended if you currently have a urinary tract infection.
Recent studies have found that exercise, especially moderate to vigorous aerobic activity, can improve erectile dysfunction.
Even less strenuous, regular exercise might reduce the risk of erectile dysfunction. Increasing your level of activity might also further reduce your risk.
Discuss an exercise plan with your doctor.
If your erectile dysfunction is caused by stress, anxiety or depression — or the condition is creating stress and relationship tension — your doctor might suggest that you, or you and your partner, visit a psychologist or counselor.
Before using any supplement, check with your doctor to make sure it's safe for you — especially if you have chronic health conditions. Some alternative products that claim to work for erectile dysfunction can be dangerous.
The Food and Drug Administration (FDA) has issued warnings about several types of "herbal viagra" because they contain potentially harmful drugs not listed on the label. The dosages might also be unknown, or they might have been contaminated during formulation.
Some of these drugs can interact with prescription drugs and cause dangerously low blood pressure. These products are especially dangerous for anyone who takes nitrates.
For many people, erectile dysfunction is caused or worsened by lifestyle choices. Here are some steps that might help:
Whether the cause is physical, psychological or a combination of both, erectile dysfunction can become a source of mental and emotional stress for you and your partner. Here are some steps you can take:
You're likely to start by seeing your family doctor. Depending on your particular health concerns, you might go directly to a specialist — such as a doctor who specializes in male genital problems (urologist) or a doctor who specializes in the hormonal systems (endocrinologist).
Because appointments can be brief and there's often a lot of ground to cover, it's a good idea to be well prepared. Here's some information to help you get ready and know what to expect from your doctor.
Take these steps to prepare for your appointment:
For erectile dysfunction, some basic questions to ask your doctor include:
In addition to your prepared questions, don't hesitate to ask additional questions during your appointment.
Your doctor is likely to ask you a number of questions. Be prepared for questions such as these:
Erectile dysfunction has many possible causes. At Mayo Clinic, specialists from endocrinology, cardiovascular medicine, neurology, urology, and psychiatry and psychology services work together as a multidisciplinary team to evaluate and treat each individual. This means that you're not getting just one opinion — you benefit from the knowledge and experience of each specialist.
© 1998-2021 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved.