Pain During Sex (Dyspareunia): Causes & Treatment

headshot of medical editor brenda Ikeji

Medically reviewed by

Dr. Ikeji

Last reviewed: 06 Aug 2025

Dyspareunia is the medical term for painful sex (intercourse). It can happen both during and after sex. Although it’s more common in women, anyone can experience painful sex, with up to 18% of the world’s population being affected. Several things can cause it, from infections to physical or mental conditions.

In this guide, we’ll explore the common causes of painful sex, the symptoms to look out for, and when you should consider getting help.

Common causes of pain during sex

Painful sex can be caused by a range of physical, psychological, and situational causes. For example, dyspareunia can be a result of an infection, anxiety, or even your sexual position. Identifying the cause is crucial for effective management or treatment.

Physical causes

Here, we look at some of the physical causes of pain during sex and why they may cause it.

Vaginal dryness

Without enough lubrication, sex can become painful because of increased friction. Common causes of vaginal dryness, medically known as vaginal atrophy, include:

  • hormonal changes during menopause, childbirth, or breastfeeding
  • not enough foreplay
  • low arousal
  • certain medications, including antidepressants, antihistamines, and sometimes contraceptives

Infections

Several infections can cause painful sex, including:

  • yeast infections (female thrush) – these can cause inflammation and pain, and can affect men too
  • urinary tract infections (UTIs) – including cystitis, which can result in pain during and after sex
  • sexually transmitted infections (STIs) – chlamydia, gonorrhoea, or genital herpes can contribute to painful sex

"If you’re sexually active, we recommend getting tested regularly, as there’s a chance you could have an STI. Not only can certain STIs cause painful sex, but they can also lead to further complications if not treated."

headshot of medical editor brenda Ikeji
Dr. Ikeji Medical Editor

You can quickly and easily order an STI test online using our service, which you can take in the comfort of your own home. Your results will be available through your private patient account, with advice from our doctors on what to do next. We also offer a range of STI treatments, which we can prescribe if you test positive.

Endometriosis

Endometriosis is a condition that causes cells that usually line the inside of the uterus (womb) to grow on the outside of the uterus and places it shouldn’t be. This can cause deep pelvic pain during sex.

Irritable bowel syndrome (IBS)

IBS can cause symptoms such as bloating and abdominal pain, which may increase discomfort during penetrative sex, especially deep penetration.

Pelvic inflammatory disease (PID)

An infection of the female reproductive organs that can cause deep pelvic pain during or after sex.

Skin conditions

Conditions like eczema can affect the vulva or penis, leading to inflammation, itching, and pain, making sex uncomfortable.

Psychological causes

Mental and emotional health can impact your comfort during sex.

Anxiety and stress

High levels of stress and anxiety can make it difficult to relax, reducing natural lubrication, and increasing muscle tension, resulting in pain and discomfort

Past trauma

A history of sexual trauma or abuse can cause involuntary muscle tightening (vaginismus) or psychological distress, which can cause pain.

Body image issues

Negative thoughts about the way you look can reduce arousal and lead to discomfort and pain during sex.

Relationship problems

Unresolved conflict or trust issues with a partner can affect intimacy and cause pain.

Situational causes

Pain can also be caused by factors related to the sexual experience.

Lack of arousal

Without proper arousal, your body may not be ready for penetration, which can cause discomfort and pain during penetration and afterwards.

Sex position

Some sexual positions can lead to deeper penetration or awkward angles that can cause discomfort. In some cases, this may only be noticeable with certain sexual partners, depending on the size and shape of their penis or vagina.

Recent childbirth or surgery

Allowing your body to fully heal after childbirth or surgery is very important. Healing tissues can be more sensitive and may not have fully recovered, causing injury and pain.

Pain during sex: men vs women

In the UK, 7.5% of people who have a womb report experiencing painful intercourse. However, men can also experience painful sex, with around 5% reporting painful intercourse. Understanding the gender-specific causes can help you get closer to a reason and solution.

Painful sex in women

Some of the specific causes of dyspareunia in women include:

  • vaginismus – a condition that causes involuntary tightening of the vaginal muscles, making penetration during sex painful or impossible
  • menopause – declining oestrogen levels during menopause can lead to vaginal dryness, thinning tissues (vaginal atrophy), and a reduced elasticity, all of which can cause vaginal pain during sex
  • pelvic floor dysfunction – tight or weakened pelvic floor muscles can cause pain during sex

Painful sex in men

Some of the gender-specific causes include:

  • tight foreskin – also known as phimosis, when the foreskin cannot retract properly, can cause discomfort during sex
  • prostatitis – an inflamed prostate gland can lead to pain during ejaculation or after sex
  • genital irritation or infections – infections such as male thrush or STIs can cause itching, burning, or soreness during or after sex
  • Peyronie’s disease – affecting up to 13.1% of the world’s population, Peyronie’s disease causes the penis to curve when it is erect, which can be painful

Symptoms of dyspareunia

Here are some of the most commonly reported dyspareunia symptoms:

  • pain on sexual entry, known as penetration
  • discomfort during every type of penetration, including inserting a tampon
  • burning, itching, or aching sensations
  • throbbing pain lasting for hours after sex
  • deep pelvic pain during thrusting
  • discomfort after pain-free sex
  • pain with specific partners, positions, or circumstances
  • a stabbing sensation, similar to menstrual cramps
  • bladder pain
  • muscle tightness or spasms

The most common symptom of dyspareunia occurs at the vaginal opening or deep in the pelvis, which affects a specific area or the entire region. Some people describe it as burning or piercing pain.

The symptoms of pain during sex can vary between individuals. Some may only experience discomfort during deep penetration, while others may find specific sexual positions uncomfortable.

Treatment options for dyspareunia

Treatment options for dyspareunia depend on the underlying cause and who is affected. A doctor will usually ask you about your medical history, carry out tests, or perform a physical examination to identify the cause and provide the most appropriate treatment.

Medications

If you have pain during sex, treatment is sometimes needed to treat the underlying cause and provide sex pain relief.

Antibiotics

Antibiotics may be given if the cause of pain is a bacterial infection. For example:

You may need to do a UTI test or an STI test to identify what infection may be causing pain during sex, especially if you have other symptoms.

Antifungal medication

Yeast infections, such as thrush, can cause painful sex and may require antifungal treatments. For example, if pain during sex is caused by vaginal or female thrush, treatments such as Canesten Cream can be effective, while clotrimazole 1% cream can relieve painful sex caused by male thrush.

Antiviral medication

Viral infections, such as herpes simplex virus, can cause conditions like genital herpes which can make sex uncomfortable. Getting effective treatment can reduce the length of time you have a genital herpes outbreak, reducing pain faster than without treatment.

Hormone replacement therapy (HRT)

If sex is uncomfortable because of declining oestrogen levels during menopause, you might consider oestrogen-containing HRT to help relieve your symptoms.

We also prescribe a range of vaginal dryness treatments that increase oestrogen levels directly in the vagina. Our service includes expert doctor advice and the choice of creams or tablets.

Topical corticosteroids

Topical corticosteroids, like hydrocortisone, can be used when painful sex is caused by inflammation, related to skin conditions or vulvovaginal issues.

Home remedies

Sometimes dyspareunia does not require medical intervention and can be managed at home naturally. Some of the common home remedies include:

  • using water-based lubricant to reduce friction and discomfort during sex
  • taking warm baths or applying warm compresses to help relax muscles and reduce cramping
  • performing pelvic floor exercises to strengthen or relax pelvic muscles to reduce pain
  • avoiding perfumed soaps, toilet papers, and sanitary products, which can worsen symptoms and cause infections like thrush
  • applying cold compresses or ice packs to your vulva after sex
  • practicing relaxation techniques to de-stress before having sex

Preventing pain during sex

Some of the things you can try to prevent pain during sex include:

  • building foreplay into your routine to increase arousal and allow natural lubrication to happen
  • using lubricants, particularly if you are experiencing hormonal changes or using medications that can reduce moisture
  • communicating with your partner to let them know how you are feeling and what you need to feel comfortable and safe
  • exploring different sexual positions until you find one that is comfortable
  • staying hydrated and follow a balanced diet
  • managing stress with breathing exercises, yoga, or other forms of mindfulness
  • considering therapy if trauma or psychological factors have contributed to discomfort

Some of the causes of dyspareunia may be out of your control, but there are some things you can do, particularly when it comes to practising safe sex, that may help prevent pain and discomfort.

Summary

Dyspareunia is a common condition that affects many people. The causes can range from infections and hormonal changes to situational and psychological factors.

If you experience pain during or after sex, do not ignore it. Effective treatments and management techniques are available to make sex more comfortable. Contact your doctor if you are concerned or are still experiencing pain even after trying the tips listed in this article.

FAQs

Why do some men feel pain during sex?

Painful sex in men can be caused by several factors, including a tight foreskin, infections like genital herpes or thrush, an inflamed prostate gland, or conditions like Peyronie’s disease. If you are experiencing pain during or after sex, contact a doctor for further advice.

Does sex hurt after menopause?

It can. Painful sex affects 1 in 10 British women, with those aged over 50 most commonly affected. Declining oestrogen levels can cause pain and discomfort during sex because of vaginal dryness and thinning tissues. However, there are several vaginal dryness treatments available that can help relieve these symptoms.

Does sex hurt during pregnancy?

Yes, sex can be painful during pregnancy, especially in the later stages. This is usually because a growing womb or increased sensitivity can make it less comfortable. However, communicating with your partner or trying different positions can be helpful. If your pain is severe or persistent, contact your doctor or midwife for more advice.

Is it normal for sex to be very painful?

No, it is not normal for sex to be very painful. While some mild discomfort or soreness can be normal, if you are getting severe or persistent pain, you should speak to your doctor for advice and to check for any underlying causes.

Why does sex hurt all of a sudden?

Dyspaneuria can occur for several reasons, and if it comes on suddenly, it could be caused by an infection, irritation, stress, or injury. If the pain does not go away, contact your doctor.

Sources

Patient Reviews