Trouble getting or keeping an erection firm enough for sex is common. This page explains what it is, what can cause it, and what to expect when you see a doctor.
Medically reviewed by
Dr. Khan Tariqhussain Abrar Hussain, MBBS
MMC Reg. No. 2005/04/2274
Last reviewed
Published
Key points
Occasional trouble with erections is common. Ongoing or repeated trouble is worth discussing with a doctor.
Causes can be physical, psychological or both.
Erection problems can sometimes be linked to other health conditions, such as diabetes or heart disease, so an assessment matters.
What helps depends on the cause, and the doctor decides this with you.
What it is
Erection difficulties, also called erectile dysfunction (ED), means regularly having trouble getting or keeping an erection that is firm enough for sex.
Having an occasional bad night is common and is not a medical problem. It is worth talking to a doctor when it keeps happening, when it worries you, or when it affects your relationship.
Signs and symptoms
Trouble getting an erection when you want to have sex
Trouble keeping an erection long enough for sex
Less interest in sex
Common causes
Physical
Heart and blood vessel disease, high blood pressure or high cholesterol
Diabetes
Being overweight or obese
Low testosterone
Some prescription medicines
Smoking, heavy alcohol use or recreational drug use
Sleep problems
Nerve damage, for example after surgery or an injury in the pelvic area
Mind and relationships
Stress and tiredness
Anxiety, including worry about performance
Low mood or depression
Difficulties in the relationship
How it is assessed
The doctor starts by listening. He will ask when the problem began, whether it happens every time, and about your general health, medicines, sleep, stress and habits.
Depending on what you tell him, he may suggest an examination or tests, for example blood pressure, blood sugar, cholesterol or hormone levels. He will explain why before anything is done, and you can say no.
Options to discuss
Looking at the causeManaging conditions such as diabetes, high blood pressure or high cholesterol, and reviewing the medicines you take, can help.
Everyday habitsStopping smoking, drinking less alcohol, being more active and sleeping better can make a difference for some men.
Talking through stress and worryWhen stress, anxiety or relationship tension are involved, talking about them is part of the plan.
Medicines and other treatmentsIf suitable, a doctor can discuss prescription treatment after an assessment. They are not right for everyone.
What suits you depends on your own health. The doctor decides this with you after an assessment. Never take prescription medicines without a prescription.
What to expect at your visit
TalkA private conversation about what is happening and how long it has gone on.
AssessQuestions about your health and medicines. An examination or tests only when they will help.
PlanA plain explanation of what the doctor finds and the options open to you.
Follow upA review to see how things are going and to adjust the plan if needed.
When to get help
Seek urgent care if
An erection lasts longer than three to four hours, or is painful for that long. If you have sickle cell disease, go if a painful erection lasts more than one hour.
You have chest pain, difficulty breathing, or sudden weakness or numbness.
Go to the nearest hospital emergency department.
Book a consultation if
The difficulty has lasted more than a few weeks or keeps happening.
It is affecting your confidence or your relationship.
You have diabetes, heart disease or high blood pressure.
You have other symptoms along with the erection problem.
Is erectile dysfunction the same as low sex drive?
No. Erection difficulties are about the physical response. Low desire is about interest in sex. They can happen together, and a doctor can look at both.
Can stress cause erection problems?
Yes. Stress, anxiety and tiredness are common causes, especially when the problem comes on suddenly or happens only in some situations.
Is it a sign of something serious?
Often it is not, but it can be linked to conditions such as diabetes, high blood pressure or heart disease, so it is worth having checked.
Do I need to bring my partner?
No. Many people come alone. A joint appointment can help if the concern involves both of you.
Will my visit be confidential?
Yes. It is covered by the same medical confidentiality as any other visit to a doctor.