Home Men’s Health Painful Sex in Men: Causes, Tests, and When to See a Doctor

Painful Sex in Men: Causes, Tests, and When to See a Doctor

1
Painful sex in men can come from STIs, foreskin problems, prostatitis, pelvic floor tension, injury, or nerve pain. Learn causes, tests, and when to seek care.

Painful sex in men is not something to ignore or “push through.” The pain may come from the skin of the penis, the foreskin, the urethra, the prostate, the pelvic floor muscles, the testicles, or the nerves that carry sensation from the pelvis. It may feel sharp, burning, aching, tight, or sore. It can happen with erection, penetration, thrusting, orgasm, or after sex.

Some causes are simple, such as friction, dryness, a small tear, or irritation from soap. Others need testing, especially when pain comes with discharge, sores, swelling, urinary symptoms, fever, testicular pain, or a new sexual exposure. The pattern of pain gives important clues, but many conditions overlap. A medical exam and targeted tests can usually narrow the cause and point to the right treatment.

Table of Contents

Why Sex Can Hurt for Men

Pain during sex usually has a physical trigger, even when stress or anxiety makes it worse. The trigger may be on the surface, such as irritated skin, or deeper in the pelvis, such as prostate inflammation or tight pelvic floor muscles.

The timing matters. Pain at the start of sex often points to skin, foreskin, lubrication, or erection problems. Pain during thrusting may suggest friction, a bend in the penis, pelvic muscle tension, or irritation at the tip. Pain at orgasm or after ejaculation often points toward the prostate, seminal vesicles, pelvic floor, or urethra.

The type of pain also helps:

  • Burning can come from urethral irritation, an STI, a UTI, balanitis, soap sensitivity, or friction.
  • Sharp pain may happen with a frenulum tear, tight foreskin, skin splitting, injury, or a painful penile bend.
  • Deep aching can come from prostatitis, chronic pelvic pain syndrome, pelvic floor spasm, epididymitis, or referred pain from the bladder.
  • Tingling, numbness, or electric pain may involve nerve irritation, often from cycling, prolonged sitting, pelvic tension, diabetes, or prior injury.

Painful sex can also start a cycle. A man feels pain, tenses up, becomes worried about the next attempt, and then has more muscle tightness or less arousal. Less arousal can mean weaker erections, less natural lubrication from a partner, more friction, and more discomfort. That does not mean the pain is “all in your head.” It means the nervous system and pelvic muscles can amplify a real problem.

Where the Pain Is and What It May Mean

The most useful first step is to locate the pain as clearly as possible. “It hurts during sex” is a starting point. “It burns at the tip when I ejaculate” or “the underside tears when the foreskin pulls back” gives a doctor much better direction.

Pain location or timingCommon possibilitiesClues that make it more concerning
Tip of the penis or urethraUrethritis, STI, UTI, soap irritation, frictionDischarge, burning with urination, new partner, blood in urine
Foreskin or head of the penisBalanitis, yeast, dermatitis, tight foreskin, lichen sclerosusRedness, swelling, cracks, white patches, inability to retract foreskin
Underside of the penis near the frenulumShort frenulum, small tear, friction injuryBleeding, repeated tearing, pain every time the foreskin pulls back
Shaft pain during erectionPeyronie’s disease, injury, tight skin, painful curvatureNew bend, hard plaque, shortening, painful erections
Testicle or scrotum during or after sexEpididymitis, varicocele, pelvic floor referral, congestionSudden severe pain, swelling, nausea, fever, high-riding testicle
Deep pelvis, perineum, or rectal areaProstatitis, chronic pelvic pain syndrome, pelvic floor tightnessFever, chills, urinary retention, worsening pain, symptoms over 3 months
Pain with orgasm or after ejaculationProstate inflammation, pelvic floor spasm, urethral irritationBlood in semen, pelvic pain, urinary symptoms, recurrent episodes

Pain in more than one area is common. For example, urethritis can cause burning at the tip, discomfort with ejaculation, and mild pelvic aching. Pelvic floor tension can cause penile pain, testicular ache, urinary urgency, and pain after orgasm. That overlap is why testing often matters more than guessing.

Skin, Foreskin, and Infection Causes

Surface pain is often easiest to see but not always easiest to identify. Redness, cracking, swelling, bumps, ulcers, or discharge can come from infection, friction, allergy, inflammation, or a foreskin problem.

Balanitis and skin irritation

Balanitis is inflammation of the head of the penis. It is more common in uncircumcised men, especially when moisture, sweat, urine, soap residue, or yeast collects under the foreskin. Symptoms may include redness, itching, soreness, odor, burning, swelling, or a white film under the foreskin. Sex can hurt because the inflamed skin rubs and stretches.

A detailed guide to balanitis symptoms and treatment can help men recognize patterns that fit this type of inflammation.

Irritant dermatitis can look similar. Common triggers include scented soaps, body washes, lubricants, spermicides, condoms with certain additives, laundry detergent, and aggressive cleaning. Scrubbing harder usually makes it worse. The skin of the glans and foreskin is sensitive; once inflamed, even mild friction can sting.

Tight foreskin, phimosis, and tearing

If the foreskin is tight, sex may hurt when it is pulled back during erection. The skin may crack, split, or swell afterward. Some men can retract the foreskin when soft but not when erect. Others can retract it, but it feels like a tight band behind the head of the penis.

This can happen from lifelong tightness, repeated inflammation, diabetes-related yeast infections, or scarring conditions such as lichen sclerosus. Men with recurring tightness, white patches, cracking, or ballooning of the foreskin during urination should be evaluated rather than repeatedly forcing retraction. The article on phimosis treatment options covers how doctors approach tight foreskin without jumping straight to surgery in every case.

A short frenulum can also cause pain. The frenulum is the band of tissue on the underside of the penis near the head. If it is too short, it may pull sharply during sex or tear. A small tear can bleed more than expected because the area has a good blood supply. Repeated tearing can lead to scar tissue and more pain.

STIs that can make sex painful

Sexually transmitted infections can cause painful sex even when symptoms seem mild. Chlamydia, gonorrhea, mycoplasma genitalium, trichomoniasis, herpes, and syphilis can all affect comfort during sex.

Urethritis means inflammation of the urethra, the tube that carries urine and semen out of the penis. It often causes burning with urination, penile discharge, itching inside the penis, or pain at the tip. Some men only notice discomfort during ejaculation or sex. Chlamydia and gonorrhea are common causes, and both need testing and treatment. See chlamydia symptoms in men and gonorrhea symptoms in men for more specific signs.

Herpes usually causes painful blisters, ulcers, raw spots, or burning skin. The first outbreak can also cause fever, swollen groin glands, and body aches. Recurrent outbreaks may be smaller and mistaken for friction burns or shaving irritation. Syphilis can cause a sore that is not always painful, so any new genital ulcer should be checked.

Do not rely on symptoms alone to decide whether an STI is present. Some infections cause little or no obvious discharge, and partner symptoms do not always line up. If there is a new partner, multiple partners, condom breakage, or a partner with an STI, testing is safer than waiting.

Prostate, Pelvic Floor, and Nerve Pain

Deep pain during sex often comes from structures around the prostate, bladder, pelvic muscles, or nerves. The pain may be felt in the perineum, rectum, lower abdomen, testicles, penis, or lower back.

Prostatitis and chronic pelvic pain syndrome

Prostatitis means inflammation of the prostate, but not every case is caused by bacteria. Acute bacterial prostatitis is usually obvious: fever, chills, pelvic or rectal pain, burning urination, frequent urination, and feeling very unwell. This needs prompt medical care.

Chronic prostatitis or chronic pelvic pain syndrome is different. Symptoms last at least several weeks and often come and go. Men may have pelvic pressure, pain after ejaculation, urinary urgency, weak stream, discomfort sitting, or testicular ache. Cultures may be negative, and antibiotics may not help unless there is evidence of infection.

A deeper discussion of chronic prostatitis symptoms and triggers can help explain why pain can persist even when routine infection tests are normal.

Tight pelvic floor muscles

The pelvic floor is a group of muscles that supports the bladder, bowel, and sexual function. When these muscles become overactive or guarded, they can refer pain to the penis, testicles, perineum, rectum, or lower abdomen.

Tight pelvic floor muscles can cause:

  • Pain during or after ejaculation
  • A feeling of pressure between the scrotum and anus
  • Urinary urgency or hesitancy
  • Dribbling after urination
  • Pain with sitting
  • Testicular or penile ache without clear infection
  • Erectile or orgasm discomfort

Many men assume pelvic floor exercises always mean strengthening with Kegels. That can be the wrong move when the muscles are already tight. In those cases, treatment may focus on relaxation, breathing, posture, hip mobility, trigger point work, and pelvic floor physical therapy.

Nerve irritation and referred pain

Nerves from the lower back, pelvis, and pudendal nerve pathway carry sensation from the genitals. Pressure or irritation can cause burning, numbness, tingling, or electric pain. Cycling, prolonged sitting, heavy lifting, constipation, prior pelvic surgery, diabetes, and back problems can contribute.

Nerve-related pain may not show visible skin changes. A man may feel discomfort only in certain positions or after longer sex. Symptoms that improve when standing but worsen with sitting can be a clue. Evaluation may include a pelvic exam, neurologic screening, review of cycling or exercise habits, and sometimes referral to a pelvic pain specialist.

Erection, Ejaculation, and Injury-Related Pain

Pain linked to erection or orgasm can feel alarming because it affects both sex and confidence. The cause may be minor, but certain injury patterns need urgent care.

Painful ejaculation

Painful ejaculation can feel like burning at the tip, aching in the testicles, cramping in the pelvis, or deep pain behind the pubic bone. It may happen during orgasm or minutes to hours afterward.

Common causes include prostatitis, pelvic floor spasm, urethritis, recent STI, medication effects, prostate procedures, bladder neck issues, and irritation after a long period without ejaculation. Blood in semen may appear at the same time. A single brief episode after intense sex may settle, but repeated pain should be evaluated. The guide to painful ejaculation and prostate-related causes explains the most common patterns.

Peyronie’s disease and painful erections

Peyronie’s disease happens when scar tissue forms in the tunica albuginea, the tough covering around the erectile chambers. It may cause a new curve, indentation, hourglass shape, shortening, or painful erections. Early on, pain may be more noticeable than the curve. Sex can hurt because the penis bends, pressure concentrates on one area, or penetration becomes awkward.

A stable mild curve without pain may not need aggressive treatment. A new or worsening bend, trouble with penetration, or a hard plaque should be checked by a urologist. Do not try to force the penis straight during sex, as that can worsen injury.

Friction, dryness, and position-related pain

Not all painful sex is caused by disease. Friction can irritate the glans, shaft, frenulum, or foreskin, especially with long sessions, insufficient lubrication, vigorous thrusting, condoms that fit poorly, or positions that put bending pressure on the penis.

Pain from friction usually feels raw, stinging, or sore on the skin. It often appears after sex and improves over a few days if the skin is protected. Repeated friction injuries are more likely when there is tight foreskin, a short frenulum, eczema, yeast, or an erection that is not firm enough to reduce bending.

Sexual injuries that need urgent attention

A sudden pop, snap, immediate pain, swelling, bruising, or rapid loss of erection during sex may be a penile fracture. This is a medical emergency. It can happen when an erect penis bends forcefully against a partner’s body or during a sudden misdirection. Early treatment lowers the risk of long-term curvature and erectile problems.

Severe testicular pain during or after sex also deserves caution. Testicular torsion happens when the spermatic cord twists and cuts off blood flow. It can cause sudden severe pain, swelling, nausea, vomiting, or a testicle sitting higher than usual. The guide to testicular pain warning signs explains when this becomes an emergency.

Tests Doctors May Use

Testing should match the symptoms. A man with a small friction tear does not need the same workup as a man with fever, pelvic pain, discharge, and burning urination.

History and physical exam

A good exam starts with direct questions: when the pain began, where it is felt, whether it happens with every partner or position, whether there is discharge or sores, whether urination burns, whether ejaculation hurts, and whether there was a recent injury or new sexual exposure.

The physical exam may include inspection of the penis, foreskin, glans, shaft, scrotum, groin, and lower abdomen. The clinician may look for redness, ulcers, plaques, swelling, discharge, tight foreskin, skin splitting, testicular tenderness, hernia, or signs of trauma.

A prostate exam may be done if symptoms suggest prostatitis, urinary obstruction, or deep pelvic pain. In acute prostatitis, the prostate may be very tender, and aggressive prostate massage is avoided.

Urine and STI testing

Urine testing may include a urinalysis to look for white blood cells, blood, nitrites, or other signs of infection. A urine culture can identify bacteria and guide antibiotics when a UTI or bacterial prostatitis is suspected.

STI testing often uses a first-catch urine sample or swabs, depending on symptoms and sexual exposure. Tests may include chlamydia, gonorrhea, trichomoniasis, mycoplasma genitalium, HIV, syphilis, and hepatitis screening when appropriate. Sores may be swabbed for herpes testing. Blood tests can help diagnose syphilis or HIV.

Testing site matters. If oral or anal sex is part of the exposure, throat or rectal testing may be needed because urine testing alone can miss infections in those areas. The timing also matters; very early testing after exposure may need repeat testing.

Imaging and specialist tests

Scrotal ultrasound may be used for testicular pain, swelling, suspected epididymitis, varicocele, cysts, or concern for torsion. Penile ultrasound may be considered for Peyronie’s disease, injury, or blood flow questions, though not every man needs it.

Men with urinary symptoms may have post-void residual testing to see how much urine remains after peeing. Uroflow testing can measure the speed and pattern of the urine stream. Cystoscopy, a small camera exam of the urethra and bladder, is usually reserved for specific problems such as persistent blood in urine, suspected narrowing, recurrent infections, or unexplained urinary symptoms.

PSA testing is not usually helpful during active prostate infection or inflammation because PSA can rise temporarily. A clinician may delay PSA testing until symptoms settle unless there is another reason to check it.

What to Do Before Your Appointment

Stop the activity that reliably causes pain until you know what is happening. Repeating painful sex can worsen skin tears, inflammation, muscle guarding, and anxiety around sex.

A few steps can make the visit more useful:

  1. Write down the pattern. Note whether pain happens with erection, penetration, thrusting, orgasm, urination, or afterward.
  2. Check for visible changes. Look for redness, cracks, sores, discharge, swelling, curvature, lumps, or white patches.
  3. Avoid harsh products. Stop scented soaps, antiseptic washes, deodorants, and new lubricants unless a clinician recommended them.
  4. Do not use leftover antibiotics. They can hide symptoms, fail to treat the real infection, and make testing harder.
  5. Avoid steroid creams on genital skin unless prescribed. They can worsen some infections and thin sensitive skin when misused.
  6. Pause sex if infection is possible. Discharge, sores, burning urination, or a known exposure should be checked before resuming sex.
  7. Tell partners when testing is needed. Reinfection is common when one partner is treated and the other is not.

For mild friction soreness with no discharge, sores, swelling, urinary symptoms, or injury, a short break from sex, gentle washing with water, and a plain lubricant when sex resumes may be enough. But pain that keeps returning usually has an underlying reason.

A condom can lower STI risk and reduce contact with irritating fluids, but it does not fix all causes. It may even worsen symptoms if the fit is poor or the material, lubricant, or spermicide irritates the skin. If condoms seem to trigger burning or redness, try a different size, non-latex option, or lubricant type and discuss persistent symptoms with a clinician.

When to See a Doctor or Get Urgent Care

Some symptoms should be checked quickly because delay can cause complications. Painful sex with discharge, sores, burning urination, fever, testicular swelling, or new pelvic pain should not be treated as normal soreness.

Seek urgent care or emergency care now for:

  • An erection lasting 4 hours or longer
  • A sudden pop or snap during sex, followed by swelling or bruising
  • Sudden severe testicular pain, especially with nausea or swelling
  • Fever, chills, severe pelvic pain, or feeling very ill
  • Inability to urinate
  • Rapidly worsening penile or scrotal swelling
  • A black, blue, or severely bruised penis after injury

Make a medical appointment soon for:

  • Pain that lasts more than a few days
  • Pain that returns every time you have sex
  • Burning with urination or ejaculation
  • Penile discharge
  • Genital sores, blisters, ulcers, or new bumps
  • Blood in urine or semen
  • A new curve, lump, plaque, or shortening of the penis
  • Foreskin that tears, gets stuck, or cannot retract normally
  • Testicular ache that does not go away
  • Pelvic pain lasting weeks or recurring over months

A primary care clinician, sexual health clinic, or urologist can often start the evaluation. Men with persistent pelvic pain, painful ejaculation, recurrent testicular pain, penile curvature, urinary problems, or foreskin scarring may need a urologist. The broader guide on when men should see a urologist can help sort out which symptoms need specialist care.

Treatment depends on the cause. Antibiotics help bacterial infections but do not treat muscle spasm, dermatitis, Peyronie’s disease, or nerve pain. Antifungal creams help yeast but will not fix herpes or syphilis. Pelvic floor therapy can help tight muscles but is not a substitute for STI testing when discharge or sores are present. The right diagnosis prevents wasted treatment and lowers the chance that pain becomes a long-term sexual health problem.

References

Disclaimer

This article is for educational purposes and does not replace care from a qualified healthcare professional. Painful sex in men can come from infections, injuries, skin conditions, prostate problems, pelvic floor disorders, or urgent conditions that need prompt treatment. Seek medical care for severe pain, fever, discharge, sores, swelling, blood in urine or semen, testicular pain, or symptoms that keep coming back.