A Guide to Maintaining an Erection

Dr Kathryn Basford

Medically reviewed by

Dr Kathryn Basford

Last reviewed: 26 Nov 2018

Losing an erection can be frustrating. Here’s a guide to understanding some underlying causes, and what to do about them.

Man looking up how to maintain an erection on his tablet PC

Being able to get an erection, but not maintain it, can be frustrating. You might feel like you cannot last as long as you or a partner would like, or like there’s a timer counting down as soon as sexual activity starts.

Here are a few tips for understanding some possible underlying causes, along with some solutions that could help.

Why can I not maintain an erection during sex?

One-off problems

There are several reasons why you might find it difficult to keep an erection during sex. Most people find that they face this question at some point in their lives.

Most of the time, this is absolutely nothing to worry about. Losing an erection is very often due to common, everyday factors like:

  • stress
  • tiredness
  • anxiety – e.g. ‘first night nerves’
  • drinking too much alcohol
  • the side effects of a drug you’re taking

Some people will experience this much more often than others.

Signs of underlying health problems

If you regularly lose your erection during sex, it could be a sign of an underlying health condition. This could be a physical or an emotional health condition, and may need treatment in the form of medication or lifestyle changes.

The main physical reasons you might lose your erection during sex are:

It can also be caused by psychological reasons:

  • Stress
  • Performance anxiety
  • Emotional or mood problems
  • Not having sexual desire, or not being aroused

Erectile dysfunction is the condition where you repeatedly struggle to get or keep an erection. It's very common, and isn’t lifelong.

Most of the time, ED is easily treated with medication or counselling. If you’re concerned about losing your erections during sex, talk to your doctor for advice.

Order erectile dysfunction treatment

from £25.00

from £9.95

from £11.95

from £39.00

No results found.

No results found.
Please check your spelling or try another treatment name.

How can I maintain an erection better?

Some solutions for keeping an erection work better than others, depending on the causes. As with any health condition, it helps if your treatment is agreed with a doctor.

Physical causes

The main erectile dysfunction (ED) treatments include:

Psychological causes

  • ED treatments can include:
  • Cognitive behavioural therapy (CBT)
  • Couples’ counselling, if you have a regular partner
  • Practising techniques to reduce stress and anxiety, like meditation, mindfulness, or yoga
  • Lifestyle changes

At the same time as getting treatment for physical or psychological causes, it can be helpful to make some lifestyle changes:

  • Losing weight, if you’re overweight
  • Eating a balanced, healthy diet
  • Quitting smoking
  • Exercising regularly
  • Getting enough sleep every night
  • Cutting back on alcohol. Try to stick to less than 14 units a week
  • Taking a break from cycling, if you cycle more than 3 hours a week

You’ll know if you particularly struggle with any of these. But any changes you can make can help give you the best possible chance of treating your ED.

Can medication like Viagra help me maintain an erection?

In many cases, yes. Viagra (or sildenafil) is proven to be an effective medical treatment for a lot of erectile dysfunction cases. The other available licensed drugs have also been shown to work.

But, medication like Viagra won’t be suitable for everyone.

You cannot use Viagra if you:

  • are allergic to its ingredients
  • have, or have had, a serious heart or liver problem
  • have recently had a heart attack or a stroke
  • have low blood pressure

The easiest way to tell whether or not a medication like Viagra is suitable for you is to get assessed by your online doctor or GP. If they think it could help you, and that it’s safe for you to take, they’ll give you a prescription.

Is my relationship the reason I cannot keep an erection?

No, not necessarily. It’s possible, and very common, for people to lose erections even when they’re fully aroused and want to continue having sex with a partner.

It’s possible that your relationship is playing a part. For example, if you’re not feeling safe, comfortable or attracted to your partner, this could make it more difficult to get or keep an erection.

Or, if you're having relationship or emotional problems that have been causing you or your partner high stress, this could also be the cause.

If you’re able to talk to your partner about your concerns, this could really help. Good communication is important for a healthy sexual relationship.

A lot of people find that couples’ counselling or stress management techniques are right for them, and help them to resolve the issue of erection loss.

What if I can stay hard when I masturbate?

If you can stay hard when you masturbate but not during sex, this could be because of a number of different reasons.

Masturbation and sex are different

You’re much more likely to get nervous about having sex with a partner than about masturbating by yourself. It could help to talk to your partner about how you’re feeling, take things slowly, and try to stay relaxed.

This situation is more common if you're younger

You’re more likely to experience the physical causes of losing erections as you get older.

So, for younger men, it's more likely to be psychological causes. But if you cannot stay erect whether you're masturbating or having sex, then it's more likely to have a physical cause.

Do I need to change the way I masturbate?

Not necessarily, but you could try and see if it works for you. If you always (or very regularly) masturbate to porn, it could make it harder for you to orgasm in other situations. You could try masturbating without porn, or cut down on masturbating generally, and see if it helps you maintain your erection during sex. You might still find one of the treatments listed above is a better solution.

Medically reviewed by:
Dr Kathryn Basford

Dr Kathryn Basford is a qualified GP who works as a GP in London, as well as with ZAVA. She graduated from the University of Manchester and completed her GP training through Whipps Cross Hospital in London.

Meet our doctors

Last reviewed: 26 Nov 2018

Customer reviews
trustpilot-ratings-4-star (2313)
trustpilot-ratings-5-star by Benny Rosen, 24 Sep 2021
I ordered a Covid19 day two test to my hotel and it worked perfect and in time, thank you.
trustpilot-ratings-5-star by Judy Foster, 24 Sep 2021
The whole process was straight forward but one thing stood out for me was when we came back and 2days later when we had to fill in the details online. The very kind person on the other end of the phone talked my husband through it all!!
trustpilot-ratings-5-star by helen starkey, 24 Sep 2021
Quick, easy and efficient - made the process easy
trustpilot-ratings-5-star by Mrs Lorraine Clark, 24 Sep 2021
Easy to use and quick result
trustpilot-ratings-5-star by Sarah, 24 Sep 2021
fast efficient, not fuss and fast turnaround, easy and simple to use, instructions/pictures simple to understand follow and do. Would use again and highly recommend.

gmc logo GPC logo

Authorised and regulated by