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.

from £18.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

trustpilot-ratings-4-star (2669)
trustpilot-ratings-5-star by Mrs Patricia Morris, 08 Jan 2022
Once again, clear and prompt reply, many thanks.
trustpilot-ratings-5-star by Esmeralda Rubí, 05 Jan 2022
Very quick service. I left my sample in the box before 3pm on a Sunday and got my results back the next morning around 8.30am and it was a bank holiday! Very pleased with that.
trustpilot-ratings-5-star by Alex, 05 Jan 2022
Rapid and v easy process
trustpilot-ratings-5-star by Jan A, 12 Jan 2022
Results were clear and concise, and received within the given timescale. Excellent experience and would highly recommend. Many thanks.
trustpilot-ratings-5-star by Emma, 04 Jan 2022
Quick and easy

gmc logo GPC logo

Authorised and regulated by