Pain in the scrotum (the sac that surrounds and protects the testes) can occur in males of any age, from newborns to older men. The testes are very sensitive, so even minor injuries may cause pain or discomfort.
(See Overview of Urinary Tract Symptoms Overview of Urinary Tract Symptoms Kidney and urinary tract disorders can involve one or both kidneys, one or both ureters, the bladder, or the urethra, and in men, the prostate, one or both testes, or the epididymis. Problems... read more .)

Causes of Scrotal Pain
Pain may be directly related to the testes or be caused by disorders in the scrotum, groin, or abdomen.
Common causes
The most common causes of sudden scrotal pain include
Twisting of a testis (testicular torsion)
Twisting of the testicular appendage (a small piece of tissue attached to the testis)
Inflammation of the epididymis (epididymitis)
Testicular torsion Testicular Torsion Testicular torsion is the twisting of a testis on its spermatic cord so that the blood supply to the testis is blocked. Testicular torsion causes sudden, severe pain and later swelling of the... read more occurs when a testis twists on its spermatic cord. The twisting blocks blood flow to the testis, causing pain and sometimes death of the testis. Testicular torsion is more common in newborns and after puberty. Torsion can also occur in the testicular appendage, a small piece of basically functionless tissue that is left over from development of the embryo. Like testicular torsion, the twisting of the testicular appendage can block blood flow, causing pain. Torsion of the testicular appendage is more common among boys aged 7 to 14.
Epididymitis Epididymitis and Epididymo-orchitis Epididymitis is inflammation of the epididymis (the coiled tube on top of the testis that provides the space and environment for sperm to mature), and epididymo-orchitis is inflammation of the... read more is inflammation of the coiled tube on top of the testis in which sperm mature. Epididymitis is the most common cause of scrotal pain in adults. Epididymitis is usually caused by an infection, typically a sexually transmitted one. However, sometimes there is no infection. In such cases, doctors believe the epididymis becomes inflamed by reverse flow of urine into the epididymis, perhaps because of straining (as when people lift something heavy).
Less common causes
There are a number of less common causes. Less common causes include
Infection of the testis (orchitis Orchitis Orchitis is infection of the testes, most often by a virus such as mumps. Orchitis is usually caused by a virus. The testis swells and is painful. A doctor's examination and urinalysis are used... read more ), usually caused by mumps or another virus
Pain from a disorder in the abdomen (such as a kidney stone Stones in the Urinary Tract Stones (calculi) are hard masses that form in the urinary tract and may cause pain, bleeding, or an infection or block of the flow of urine. Tiny stones may cause no symptoms, but larger stones... read more
or appendicitis Appendicitis Appendicitis is inflammation and infection of the appendix. Often a blockage inside the appendix causes the appendix to become inflamed and infected. Abdominal pain, nausea, and fever are common... read more )
Injury
Dangerous disorders that sometimes cause scrotal pain include a ruptured abdominal aortic aneurysm Abdominal Aortic Aneurysms Abdominal aortic aneurysms are bulges (dilations) in the wall of the aorta in the part that passes through the abdomen (abdominal aorta). Abdominal aortic aneurysms typically slowly expand and... read more and necrotizing infection of the perineum—the area between the genitals and anus—called Fournier gangrene. Cancer of a testis Testicular Cancer Testicular cancer occurs in the testes, the 2 small organs in males that make sperm. Testicular cancer is most common among young men but usually curable. Usually a painless lump is present... read more
only rarely causes pain.
Evaluation of Scrotal Pain
The following information can help people decide when immediate medical attention is necessary and help them know what to expect during the evaluation.
Warning signs
In men with pain in the scrotum, certain symptoms and characteristics are cause for concern. They include
Sudden, severe pain
Swelling in the scrotum or groin area, particularly one that cannot be pushed down and that is accompanied by severe pain or vomiting
Blisters and/or red or black discoloration of the scrotum or the area between the penis and the anus
Symptoms of severe illness, such as high fever, difficulty breathing, sweating, dizziness, or confusion
When to see a doctor
Men or boys who have warning signs or are in severe pain should see a doctor immediately because some causes of pain can lead to loss of a testis or other severe complications. People without warning signs should see a doctor in a day or two.
What the doctor does
Doctors first ask questions about the person's symptoms and medical history and then do a physical examination. What they find during the history and physical examination often suggests a cause of the scrotal pain and the tests that may need to be done (see table Some Causes and Features of Scrotal Pain Some Causes and Features of Scrotal Pain ).
Doctors ask
Where the pain is located
How long pain has been present
Whether there are injuries to the groin area
About the man's sexual history
Whether there are any problems urinating (such as burning or discharge)
Whether there are any disorders that may cause pain to travel to the groin
Although the physical examination concentrates on the genitals, the groin area, and the abdomen, doctors also look for signs of disorders elsewhere that may cause pain to be felt in the scrotum. Doctors first look to identify disorders that require immediate treatment. The onset and nature of the pain and the age of the person can provide clues to the cause.
Testing
The need for tests depends on what doctors find during the history and physical examination. However, some testing is typically done.
Color Doppler ultrasonography Color Doppler ultrasonography Ultrasonography is a type of medical imaging that uses high-frequency sound (ultrasound) waves to produce images of internal organs and other tissues. During an ultrasound, a device called a... read more
if testicular torsion seems possible
Timely surgery for testicular torsion Testicular Torsion Testicular torsion is the twisting of a testis on its spermatic cord so that the blood supply to the testis is blocked. Testicular torsion causes sudden, severe pain and later swelling of the... read more is critical, so when doctors are very concerned about testicular torsion they may do surgery immediately instead of testing.
Treatment of Scrotal Pain
The best treatment of scrotal pain is treatment of the cause of pain. For example, testicular torsion Testicular Torsion Testicular torsion is the twisting of a testis on its spermatic cord so that the blood supply to the testis is blocked. Testicular torsion causes sudden, severe pain and later swelling of the... read more , strangulated hernias Incarceration and strangulation An abdominal wall hernia is an opening or area of weakness in the abdominal wall through which abdominal contents can protrude. An abdominal wall hernia causes a noticeable bulge but little... read more , and necrotizing infection Necrotizing Skin Infections Necrotizing skin infections, including necrotizing cellulitis and necrotizing fasciitis, are severe forms of cellulitis. These infections cause infected skin and tissues to die (necrosis). The... read more
require prompt surgery.
Doctors may give analgesics, such as nonsteroidal anti-inflammatory drugs or opioids, to relieve severe pain.
Essentials for Older People: Scrotal Pain
Testicular torsion Testicular Torsion Testicular torsion is the twisting of a testis on its spermatic cord so that the blood supply to the testis is blocked. Testicular torsion causes sudden, severe pain and later swelling of the... read more is uncommon in older men. When it occurs, the symptoms may be unusual, making the diagnosis more difficult. Epididymitis and orchitis are more common in older men. Sexually transmitted infections are less often the cause of epididymitis Epididymitis and Epididymo-orchitis Epididymitis is inflammation of the epididymis (the coiled tube on top of the testis that provides the space and environment for sperm to mature), and epididymo-orchitis is inflammation of the... read more . Occasionally, inguinal hernia Inguinal Hernia An inguinal hernia is a protrusion of a piece of intestine or another abdominal organ through an opening in the abdominal wall in the groin. People have a bulge in the groin or scrotum, which... read more , perforation of the colon Perforation of the Digestive Tract Any of the hollow digestive organs may become perforated (punctured), which causes a release of intestinal contents and can lead to sepsis (a life-threatening infection of the bloodstream) and... read more , or kidney stones Stones in the Urinary Tract Stones (calculi) are hard masses that form in the urinary tract and may cause pain, bleeding, or an infection or block of the flow of urine. Tiny stones may cause no symptoms, but larger stones... read more
(renal colic) may cause scrotal pain in older men.
Key Points
Testicular torsion is the first consideration in males with sudden onset of scrotal pain, particularly in children and adolescents.
Epididymitis is the most common cause of scrotal pain in men, particularly those with discharge or burning or pain during urination.
Doctors may do surgery instead of imaging tests if they are particularly concerned about testicular torsion.
Scrotal pain can be caused by pain that is referred from the abdomen.