Testes Anatomy, Function, and Associated Conditions

Table of Contents
View All
Table of Contents

The testes, or testicles, are two egg-shaped sex organs that play an important role in the male reproductive system. The testes are where sperm cells are produced and are also responsible for the production of the sex hormone testosterone.

The testes are housed in a pouch of skin beneath the penis called the scrotum. Their location outside the abdomen ensures that the testes remain at the ideal temperature for sperm cells to develop. Although the testes can produce sperm and testosterone throughout a person's lifetime, they are vulnerable to injury can medical conditions that can cause infertility.

Males testes, illustration
PIXOLOGICSTUDIO/SCIENCE PHOTO LIBRARY / Getty Images

A Note on Gender and Sex Terminology

Testes are found in people born with a penis, who are typically assigned male at birth.

Verywell Health acknowledges that sex and gender are related concepts, but they are not the same. To accurately reflect our sources, this article uses terms like “male," “man,” and "female" as the sources use them.

Anatomy of the Testes

Most males are born with two testes (testicles). These are soft, egg-shaped organs located inside the scrotum. One testicle is referred to as a testis.

Each testicle is surrounded by three membranes: the inner tunica vasculosa (which delivers blood to the testes), the middle tunica albuginea (which stabilizes the testes and adjacent structures), and the outer tunica vaginalis (which helps lubricate the testes inside the scrotum).

Within the scrotum, the testes are suspended from the abdomen by the spermatic cord. This is a tight grouping of blood vessels, nerves, and ducts that support the health and function of the testes.

The testes are made up of several lobes that contain a network of narrow tubes called seminiferous tubules. These are where sperm are produced in a process known as spermatogenesis. Situated between seminiferous tubules are Leydig cells that secrete testosterone crucial to the development of sperm cells.

As the sperm cells start to mature, they move through these tubules until they reach a wider conduit called the rete testes.

The immature cells are then passed to a tightly coiled tube on the outside of each testicle called the epididymis. This is where sperm cells are stored and complete maturation.

In adult males, the testes are around 2 to 3 centimeters wide and roughly 3 to 5 centimeters long. The testes increase in size through adulthood and then decrease in size later in life due to the natural decline in testosterone.

Function of the Testes

The testes have two primary functions: the production of testosterone and the creation of mature sperm cells.

Production of Testosterone

Testosterone is the hormone produced mainly by the testes in males and the ovaries in females. It is the main male sex hormone (androgen) whose function varies at different stages in life:

  • During fetal development, a sex-related gene on the Y chromosome initiates the development of the testes, which immediately start producing testosterone. The amount secreted further triggers the development of the internal male organs (like the prostate and urethra) and the external male organs (like the penis and scrotum).
  • During puberty, testosterone is responsible for the sudden growth spurt and the development of male secondary characteristics like facial and body hair, an Adam's apple, a deeper voice, and increased muscle mass. It is also responsible for libido (sex drive).
  • During adulthood, testosterone continues to bolster sex drive as well as general feelings of well-being. Testosterone is also needed to maintain healthy bones and to stimulate the production of red blood cells via a process known as erythropoiesis.

Spermatogenesis

The second function of the testes is to produce sperm. Spermatogenesis is a continuous, life-long process that occurs in three steps:

  1. A germ cell (meaning a "blank" reproduction cell that can either become a sperm cell or an egg) starts rapidly dividing in the walls of the seminiferous tubule, eventually becoming an immature cluster of cells known as spermatogonia.
  2. As cell division continues, the undifferentiated cells will start to move from the wall of the seminiferous tubule and form a ball-shaped spermatid.
  3. Under the influence of testosterone, the cells of the spermatid will start to differentiate into the head, neck, body, and tail of a fully mature sperm cell (spermatozoa).

Unlike females, who only produce a limited number of eggs over a lifetime, males can produce millions of sperm each day. It then takes several months for the sperm cells to mature enough to be functional. The maturation starts in the testes but mostly takes place inside the epididymis.

Without ample testosterone, sperm cells cannot mature as they should, resulting in infertility.

Congenital Conditions

There are a number of congenital conditions that can affect either the location or appearance of a testicle. Congenital conditions are those that occur during fetal development.

Cryptorchidism

Cryptorchidism is a condition where one or both testicles have not moved into the scrotum prior to birth. Also known as an undescended testicle, it is one of the most common congenital conditions affecting male babies.

Cryptorchidism in infants is not considered a medical emergency, and the testicle will often descend on its own without treatment.

If the testicle has not descended within the first few months, a surgical procedure known as orchiopexy may be used to repair the abnormality. This is because cryptorchidism can expose the testicle to higher body temperatures within the abdomen, increasing the risk of infertility and testicular cancer.

Retractile testis is a similar condition in which a testicle moves back and forth from the scrotum to the abdomen. As long as the testes spend most of their time in the scrotum, it is not considered as problematic as undescended testes and may not require treatment.

Polyorchidism

In addition to undescended testicles, there are times when a male baby may be born with no testicles, one testicle, or more than two testicles.

When a person is born with more than two testicles, the condition is referred to as polyorchidism. People with polyorchidism most commonly have three testicles but can have as many as five. It is a very rare condition with fewer than 200 reported cases.

Transverse Testicular Ectopia

Transverse testicular ectopia, or crossed testicular ectopia, is an equally rare condition. It occurs when both testicles descend to the same side of the scrotum.

Transverse testicular ectopia usually occurs alongside other congenital conditions such as hypospadias (in which the opening of the urethra is not at the tip of the penis).

Congenital Hydrocele

Congenital hydrocele is the accumulation of watery fluid around one or both testes, causing the scrotum and groin area to swell. While the swelling may look scary, it is usually not a problem and tends to resolve by the time a child is two years old.

Hydrocele occurs when a testicle descends into the scrotum along with some of the lining of the abdomen. But, rather than shriveling up and closing like it's supposed to, the lining may have a tiny opening that allows body fluids to leak into the scrotum.

In most boys, the opening will eventually close and be completely sealed off by age two. Whatever fluid is left in the testicle will eventually be reabsorbed by the body.

However, if the swelling is especially severe, minor surgery can be needed to drain the scrotum. Left untreated, the extreme swelling can cause damage to the testes and adjacent structures, affecting future fertility. Hydrocele that continues beyond the age of two may also need treatment.

Associated Medical Conditions

Beyond congenital disorders affecting the testes, there are also medical conditions that can affect the testes later in life.

Orchitis

Orchitis refers to inflammation of the testes. In sexually active young males, it is most commonly due to sexually transmitted infections like chlamydia and gonorrhea. Pain and swelling are the central features. In older males and children, orchitis may be caused by a bacterial or viral infection.

Among older children and adults with mumps, orchitis occurs in up to 40% of cases, typically bilaterally (meaning both sides). Of those affected, 30% will have impaired fertility or infertility.

Varicocele

Varicocele is another common condition affecting the testes. It involves an abnormal enlargement of veins within the scrotum (similar to varicose veins) that can starve the testicles of the blood needed to produce healthy sperm.

In addition to scrotal discomfort and pain, varicoceles can decrease testosterone production, leading to reduced fertility. Studies suggest that up to 15% of males and more than a third of males with infertility are diagnosed with varicocele.

Testicular Torsion

Testicular torsion occurs when the testicle rotates inside the scrotum, cutting off the blood supply. Symptoms include pain and swelling of the testicle, typically sudden and severe. Nausea, vomiting, and an abnormal elevation of the testicle are also common.

Testicular torsion can happen to males of any age but is most common in 12- to 18-year-olds. It can happen after strenuous exercise, while sleeping, or after a blow or injury to the scrotum.

Males with a "bell clapper deformity" (meaning a testicle that is unanchored by ligaments to the back of the scrotum) are especially vulnerable to testicular torsion.

When to Seek Emergency Care

Testicular torsion is a medical emergency. Unless the flow of blood is restored within six hours, the risk of testicular damage and infertility is high. Severe cases can even result in the loss of the testicle.

Testicular Cancer

Testicular cancer affects thousands of males each year in the United States. Fortunately, the disease is highly curable, and death rates are low. Unlike other cancers, it is more likely to affect younger males than older males.

Symptoms of testicular cancer include a painless lump on a testicle, a dull ache in the groin or abdomen, a feeling of heaviness in the scrotum, and back pain. Risk factors include having an undescended testicle and a family history of testicular cancer.

According to the National Cancer Institute, an estimated 9,750 men in the United States were diagnosed with testicular cancer in 2023 with roughly 500 deaths attributed to the disease.

Testicular cancer accounts for less than 1% of all cancers in the U.S. with a relative five-year survival rate of 95% (meaning that 95 out of 100 men will live for at least five years after their diagnosis).

Diagnosis

The diagnosis of testicle problems usually involves a physical examination and imaging studies to look for abnormalities within or surrounding the testicles.

The physical exam involves palpation (light touching) to detect lumps, swelling, or other abnormalities on or around the testes. The healthcare provider may also manipulate your leg, pelvis, or torso to check for pain or the abnormal movement of a testicle.

Ultrasound is the most commonly used tool to examine the testes. This non-invasive test uses sound waves to look inside the scrotum for any abnormalities. It can also check if the blood flow is normal or for signs of testicular torsion, testicular cancer, and varicocele.

Magnetic resonance imaging (MRI) uses powerful magnetic and radio waves to create highly detailed images of soft tissues. An MRI is the test of choice for diagnosing cryptorchidism. It can also help differentiate benign (noncancerous) lumps from malignant (cancerous) ones.

Summary

The testes (testicles) are two egg-shaped organs housed within the scrotum that play a central role in male fertility and function. They are tasked with producing sperm as well as the sex hormone testosterone.

There are several congenital conditions that can affect the testes, including cryptorchidism (undescended testicle) and hydrocele. The testicles are also vulnerable to other medical conditions such as orchitis, varicocele, testicular torsion, and testicular cancer.

19 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. National Cancer Institute. Anatomy of the testis.

  2. Standring S. Male reproductive system. In: Gray's Anatomy: The Anatomical Basis of Clinical Practice. Amsterdam, Netherlands: Elsevier; 2016.

  3. Hines M, Constaninescu M, Spencer D. Early androgen exposure and human gender development. Biol Sex Differ. 2015;6:3. doi:10.1186/s13293-015-0022-1

  4. Corona G, Maggi M. The role of testosterone in male sexual function. Rev Endocr Metab Disord. 2022;23(6):1159–1172. doi:10.1007/s11154-022-09748-3

  5. Nishimura H, L'Hernault SW. Spermatogenesis. Curr Biol. 2017 Sep 25;27(18):R988-R994. doi:10.1016/j.cub.2017.07.067

  6. Gurney JK, Mcglynn KA, Stanley J, et al. Risk factors for cryptorchidism. Nat Rev Urol. 2017;14(9):534-548. doi:10.1038/nrurol.2017.90

  7. Piltoft JS, Larsen SB, Dalton SO, et al. Early life risk factors for testicular cancer: a case-cohort study based on the Copenhagen School Health Records Register. Acta Oncol. 2017;56(2):220-224. doi:10.1080/0284186X.2016.1266085

  8. Children's Hospital of Philadelphia. Retractile testicles.

  9. Myers A, Morganstern B, Fine R. A unique case of pentaorchidism. Urology. 2017;104:196-197. doi:10.1016/j.urology.2017.03.017

  10. Kajal P, Rattan KN, Bhutani N, Sangwan V. Transverse testicular ectopia with scrotal hypospadias but without inguinal hernia - case report of a rare association. Int J Surg Case Rep. 2017;31:167-169. doi:10.1016/j.ijscr.2017.01.044

  11. Acer-Demir T, Ekenci BY, Ozer D, et al. Natural history and conservative treatment outcomes for hydroceles: a retrospective review of one center's experience. Urology. 2018 Feb:112:155-160. doi:10.1016/j.urology.2017.10.003

  12. MedlinePlus. Orchitis.

  13. Wu H, Wang F, Tang D, Han D. Mumps orchitis: clinical aspects and mechanisms. Front Immunol. 2021;12:582946. doi:10.3389/fimmu.2021.582946

  14. Alsaikhan B, Alrabeeah K, Delouya G, Zini A. Epidemiology of varicocele. Asian J Androl. 2016;18(2):179-81. doi:10.4103/1008-682X.172640

  15. Hyun GS. Testicular torsion. Rev Urol. 2018;20(2):104–106. doi:10.3909/riu0800

  16. Baird DC, Meyers GJ, Hu JC. Testicular cancer: diagnosis and treatmentAm Fam Physician. 2018;97(4):261-268.

  17. National Cancer Institute. Cancer stat facts: testicular cancer.

  18. Kuhn AL, Scortegagna E, Nowitzki KM, Kim YH. Ultrasonography of the scrotum in adults. Ultrasonography. 2016 Jul;35(3):180–197. doi:10.14366/usg.15075

  19. Tsili AC, Bertolotto M, Turgut AT, et al. MRI of the scrotum: recommendations of the ESUR Scrotal and Penile Imaging Working Group. Eur Radiol. 2018;28(1):31-43. doi:10.1007/s00330-017-4944-3

Elizabeth Boskey, PhD

By Elizabeth Boskey, PhD
Boskey has a doctorate in biophysics and master's degrees in public health and social work, with expertise in transgender and sexual health.