Back to Sexual Health

What Causes Testicle Pain in Men?

Mens Health Guide Editorial 3 April 2026

Pain in the testicles or scrotum is common and has many possible causes. Some are minor and settle on their own, some need treatment, and one, testicular torsion, is a genuine emergency. The most important clue to how urgent it is lies in how quickly the pain started. Sudden, severe pain needs immediate attention, while pain that builds gradually or lingers for weeks usually allows time for a GP appointment.

When is testicle pain an emergency?

Go to A&E immediately or call 999 for sudden, severe pain in a testicle, especially with swelling, nausea or vomiting, or a testicle that seems higher than usual.

This can be testicular torsion, where the testicle twists and loses its blood supply. It needs surgery within hours to save the testicle. It is most common in teenagers and young men but can happen at any age.

Also seek urgent help for severe pain after an injury, pain with a high fever, or pain with a rapidly spreading redness or swelling of the scrotum.

What causes pain that builds over a day or two?

Epididymitis, inflammation of the tube at the back of the testicle, usually causes pain and swelling that develops over hours to days. It is often caused by a sexually transmitted infection in younger men or a urine infection in older men, and is treated with antibiotics.

Orchitis, inflammation of the testicle itself, can be caused by mumps or occur alongside epididymitis.

Torsion of a small appendage on the testicle, called the appendix testis, can cause sudden pain, often in boys. It usually settles within a week but needs assessment to rule out torsion of the testicle itself.

Which other conditions cause scrotal pain?

Injury to the testicles is common, particularly during sport. Mild pain usually settles within an hour, but ongoing severe pain, swelling or bruising needs checking.

A varicocele, enlarged veins in the scrotum, can cause a dull, dragging ache, usually worse after standing. Large hydroceles and epididymal cysts can cause heaviness and discomfort.

An inguinal hernia, where tissue pushes through the groin, can cause pain in the groin that spreads to the scrotum. Testicular cancer is usually painless, but a minority of men notice a dull ache or heaviness.

Can pain come from somewhere else?

Yes. The nerves supplying the testicles also supply other areas, so pain can be felt in the testicles even when the problem is elsewhere. This is called referred pain.

Kidney stones can cause severe pain in the side or back that spreads down to the groin and testicle. Problems in the lower back, such as a trapped nerve, can cause testicular pain. Hernias and hip problems can do the same. Rarely, an abdominal aortic aneurysm can cause pain referred to the testicles.

What about long-term testicle pain?

Pain lasting three months or more is called chronic scrotal or testicular pain. It can follow infection, injury or surgery, including vasectomy. Chronic prostatitis, also called chronic pelvic pain syndrome, often causes pain in the testicles, perineum and lower abdomen. In some men, no clear cause is found.

Treatment may include painkillers, medicines that calm nerve pain, pelvic floor physiotherapy, and treatment of any underlying cause. A urologist can help if symptoms persist.

How is testicle pain assessed?

A doctor will ask when the pain started, how severe it is, and about any injury, urinary symptoms, discharge or sexual history. They will examine your scrotum, groin and abdomen. Urine tests, tests for sexually transmitted infections and an ultrasound scan may be arranged.

What can you do at home for mild pain?

For mild pain after an injury or while waiting for an appointment, wearing supportive underwear, resting, applying a cold pack wrapped in a towel and taking paracetamol or ibuprofen can help. See a doctor if pain does not improve within a day or two, or sooner if it gets worse, spreads or comes with fever.

More on this subject, and related ones, sits in the sexual health section.

This page is general information rather than medical advice.