An Overview of Lymph Nodes

Structure, Function, and Conditions That Affect Them

Lymph nodes, sometimes referred to as lymph glands, are an important part of the immune system. Lymph nodes are clustered throughout the body and function as filters, removing foreign particles from fluids that run through the vessels of the lymphatic system.

Within lymph nodes are white blood cells called lymphocytes that help neutralize foreign agents like bacteria. Swollen lymph nodes are a sign that the body is fighting infection, and they may be tender and painful. In some cases, swollen lymph nodes may be a sign of cancer.

This article describes lymph node structure and function, and the types of lymph nodes found throughout the body. It lists some conditions that can affect them and offers information about when you should contact a healthcare provider about a swollen lymph node.

Doctor examining older man's lymph nodes

dardespot / Getty Images

Lymph Node Structure

Lymph nodes are small, bean-shaped organs that are part of the lymphatic system. The lymphatic system is a network of vessels and organs that isolate and neutralize foreign agents and particles that can do the body harm.

In addition to lymph nodes, lymphatic fluid, and lymphatic vessels, the system is comprised of the thymus gland, tonsils, spleen, and bone marrow.

Lymph nodes vary in size from a few millimeters to up to 2 centimeters in diameter. There are hundreds located throughout the body, but they are mainly clustered in certain parts of the body.

Lymph Node Function

Lymph nodes work to identify and filter out foreign agents that cause infections. To do this, lymph nodes contain two different types of white blood cells:

When a foreign agent has been trapped and the immune defenses are activated, the body will respond with inflammation. This causes the lymph nodes to swell.

Swollen lymph nodes, referred to as lymphadenopathy, can often be felt and seen, but not always. Some may be painful; others are not.

Not every particle that is filtered by the lymph nodes can be neutralized. One example is cancer cells that are shed from a nearby tumor. Even though lymph nodes cannot kill the cancer cells, they may be able to isolate and contain them during the early stages of the disease.

When to See a Healthcare Provider

Lymph nodes may remain swollen for up to two weeks. If they don't get better or keep getting bigger, contact your healthcare provider.


Click Play to Learn More About Lymph Nodes

This video has been medically reviewed by Benjamin F. Asher, MD

Types and Locations

Lymph nodes are clustered throughout the body in key locations. These include the armpits, neck, groin, upper abdomen, and mediastinum (the area between the lungs that contains all the principal organs of the chest).

Swollen lymph nodes in the armpits, neck, and groin can often be felt. Those in the mediastinum and upper abdomen may only be revealed with imaging tests such as a computed tomography (CT) scan or ultrasound.

The types and locations of lymph nodes vary as follows:

Cervical Lymph Nodes

Cervical lymph nodes are those in the neck. They are further broken down by their location:

  • Anterior cervical lymph nodes are those nearest the front of the neck. These typically swell when you have a cold or strep throat.
  • Posterior cervical lymph nodes are located behind the band of muscles on the side of the neck. These often swell when you have infectious mononucleosis.
  • Occipital lymph nodes are located at the back of the neck at the base of the skull. These often swell with infections like HIV.

Axillary Lymph Nodes

Axillary lymph nodes are the lymph nodes located in the armpit (axilla). There are usually between 10 and 40 lymph nodes in the axilla.

The axillary lymph nodes are important in the diagnosis of breast cancer. When cancer cells are shed from a breast tumor, they first travel to the axillary nodes. Because cancer cells tend to spread through lymph nodes in a specific pattern, doctors can often tell how advanced the cancer is.

Supraclavicular Lymph Nodes

Supraclavicular lymph nodes are located just above the collarbone (clavicle). Most of the time, the enlargement of supraclavicular lymph nodes is a sign of a serious disease such as lung cancer or lymphoma (a type of blood cancer).

Mediastinal Lymph Nodes

Mediastinal lymph nodes reside in the center of the chest cavity between the lungs. People cannot feel mediastinal lymph nodes, but they can be seen in imaging studies such as a CT scan or positron emission tomography (PET) scan.

Checking mediastinal lymph nodes is essential to the staging of lung cancer and some lymphomas.

Inguinal Lymph Nodes

Inguinal lymph nodes are located in the groin. Because they are responsible for filtering lymphatic fluids from the feet to the groin, they can become swollen for many reasons. These include injuries, sexually transmitted diseases, skin infections, yeast infections, and cancer.

Retroperitoneal Lymph Nodes

Retroperitoneal lymph nodes are situated at the back of the abdomen behind the tissues that cover the abdominal wall. These are the nodes to which testicular cancer first spreads. They can only be seen in imaging studies.

Mesenteric Lymph Nodes

Mesenteric lymph nodes lie deep within the abdomen in the membranes that surround the intestine. These nodes often become swollen due to gastroenteritis (stomach flu) but are also sometimes affected by inflammatory bowel disease (IBD) and lymphoma.

Pelvic Lymph Nodes

Pelvic lymph nodes are situated in the lower abdomen in the area that contains the hip bones, bladder, rectum, and reproductive organs. Pelvic lymph nodes are only seen in imaging studies. Swollen pelvic lymph nodes may be a sign of bladder, prostate, cervical, ovarian, or anal cancer.

Where Lymph Nodes Are Located

Lymph nodes are classified by their location, including:

  • Axillary lymph nodes (armpits)
  • Cervical lymph nodes (neck)
  • Inguinal lymph nodes (groin)
  • Mediastinal lymph nodes (in the chest cavity)
  • Pelvic lymph nodes (in the pelvis)
  • Retroperitoneal lymph nodes (back of the abdomen)
  • Supraclavicular lymph nodes (above the collarbone)

Associated Conditions

There are many conditions that can directly or indirectly affect the lymph nodes. Some are relatively mild and treatable, while others are more serious.


Lymphadenopathy, or the swelling of lymph nodes, is not a disease but a symptom of a disease. Based on its location and features, lymphadenopathy can reveal a lot about what is going on inside the body.

The features of lymphadenopathy may be described as:

  • Mobile vs. fixed: Mobile lymph nodes are those that can be easily moved, while fixed lymph nodes are stuck to an internal structure. Mobile nodes are generally benign (non-cancerous), while fixed nodes are commonly seen with cancer.
  • Painful vs. non-painful: Tender lymph nodes generally occur with infections, while cancerous nodes are typically non-tender.
  • Localized vs. generalized: Localized lymphadenopathy, which affects one part of the body, is often due to a local infection such as strep throat. Generalized lymphadenopathy, affecting many parts of the body, can occur with autoimmune diseases, cancer, or drug reactions.
common causes of a swollen lymph node

Verywell / Brianna Gilmartin


Lymph nodes can "catch" viruses and bacteria but are also susceptible to infections themselves.

  • Lymphadenitis is the enlargement in one or more lymph nodes, usually due to an infection.
  • Lymphangitis is inflammation of lymphatic vessels, mainly due to an infection, that can involve lymph nodes as well

One such example is a bacterial infection from cats called cat scratch fever. The disease can cause swollen lymph nodes that last for months as well as fever, muscle aches, and nausea.


Lymph nodes are commonly involved with cancer, but their role differs based on whether a solid tumor or lymphoma is involved.

With solid tumors such as breast cancer, cancer cells usually travel to nearby lymph nodes before metastasizing (spreading to other parts of the body).

Solid tumor cancers are typically staged based on the TNM system. The TNM system describes the severity of the disease based on the size of the tumor (T), the number and location of lymph nodes with cancer (N), and the presence or absence of metastasis (M).

With lymphoma, cancer starts in the lymph nodes. When lymphomas spread to other parts of the body, it is not referred to as metastasis but rather as "extranodal involvement."

Lymphoma is staged based on the number and location of affected lymph nodes, whether one or both sides of the body are involved, and if there is extranodal involvement.

Conditions Affecting Lymph Nodes

Conditions that directly or indirectly affect the lymph nodes include:

  • Lymphadenopathy: Swollen lymph glands causes by the presence of an infection or disease somewhere in the body
  • Lymphadenitis: Swollen lymph nodes caused by an infection of the lymph nodes
  • Lymphangitis: Inflammation of lymphatic vessels that can also affect the lymph nodes
  • Cancer: Either caused by the spread of cancer to a lymph node or by a cancer that starts in the lymph nodes (lymphoma)


Lymph nodes are small, bean-shaped organs that support the immune system by trapping foreign agents and killing them. They do so by filtering bacteria, viruses, and other disease-causing agents circulating in the lymphatic system. White blood cells, called lymphocytes, are then recruited to control infection.

Lymph nodes are clustered throughout the body, including the neck (cervical lymph nodes), groin (inguinal lymph nodes), and armpits (axillary lymph nodes). There are internal lymph nodes in the abdomen (mesenteric and retroperitoneal), chest cavity (mediastinal), and lower abdomen (pelvic).

Swollen lymph nodes (lymphadenopathy) can occur in response to an infection or disease in any part of the body. When a lymph node is infected and becomes swollen, it is referred to as lymphadenitis. Cancer can also affect lymph nodes either as it spreads from a tumor or starts in the lymph nodes themselves (lymphoma).

Frequently Asked Questions

  • Where are my lymph nodes?

    There are about 600 lymph nodes spread throughout the body, such as in the neck, behind the ear, in the legs, and in the abdomen. The major clusters of lymph nodes are in the armpit, groin, and neck.

  • Why do lymph nodes get swollen?

    Swollen lymph nodes are a sign that your body is fighting an infection. When a virus or bacteria gets trapped inside a lymph node, white blood cells called lymphocytes aggressively attack. The resulting inflammation causes the lymph nodes to enlarge.

    Lymph nodes can also become enlarged if cancer cells spread to them and grow.

  • What do cancerous lymph nodes feel like?

    Cancerous lymph nodes tend to be enlarged, painless, and feel rubbery when pressed. They are usually fixed rather than moveable.

17 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. Cameron MH, Monroe L. Physical Rehabilitation for the Physical Therapist Assistant. Saunders. 2014.

  2. University of Texas MD Anderson Cancer Center. Swollen lymph nodes and other symptoms of lymphoma.

  3. Nasirian H, Tarvijeslami S, Matini E, Bayesh S, Omaraee Y. A clinical decision rule for streptococcal pharyngitis management: An update. J Lab Physicians. 2017;9(2):116-120. doi:10.4103/0974-2727.199635

  4. Bilal JA. Prevalence and clinical characteristics of primary Epstein-Barr virus infection among children presented with cervical lymphadenopathy. J Clin Diagn Res. 2015;9(7):SC08-10. doi:10.7860/JCDR/2015/13768.6265

  5. Miller LR. Lymphatic function and the immune response to microbial or viral infection. Lymphat Res Biol. 2013;11(3):116. doi:10.1089/lrb.2013.0010

  6. Lymph Node Surgery for Breast Cancer. American Cancer Society. 2019.

  7. Scott S, Kitt B, Derenge D. Swollen lymph nodes · patient is otherwise "healthy" · Dx?. J Fam Pract. 2016;65(3):195-7.

  8. Fuso L, Varone F, Magnini D, Calvello M, Lo greco E, Richeldi L. Ultrasonography of the mediastinum: Techniques, current practice, and future directions. Respir Care. 2018;63(11):1421-1438. doi:10.4187/respcare.06047

  9. Promer K, Pillay A, Chi KH, et al. A case of inguinal lymphogranuloma venereum imitating malignancy on CT imaging. Radiol Case Rep. 2019;14(5):581-583. doi:10.1016/j.radcr.2019.02.012

  10. Hale GR, Teplitsky S. Lymph node imaging in testicular cancer. Transl Androl Urol. 2018; 7(5): 864–874.

  11. Helbling R, Conficconi E, Wyttenbach M, et al. Acute Nonspecific Mesenteric Lymphadenitis: More Than "No Need for Surgery". Biomed Res Int. 2017;2017:9784565.  doi:10.1155/2017/9784565

  12. Mao Y, Hedgire S, Prapruttam D. et al. Imaging of pelvic lymph nodes. Curr Radiol Rep. 2014;2(70). doi:10.1007/s40134-014-0070-z

  13. Mohseni S, Shojaiefard A, Khorgami Z, Alinejad S, Ghorbani A, Ghafouri A. Peripheral lymphadenopathy: approach and diagnostic tools. Iran J Med Sci. 2014;39(2 Suppl):158-70.

  14. Mazur-melewska K, Mania A, Kemnitz P, Figlerowicz M, Służewski W. Cat-scratch disease: a wide spectrum of clinical pictures. Postepy Dermatol Alergol. 2015;32(3):216-20. doi:10.5114/pdia.2014.44014

  15. American Cancer Society. What is breast cancer?. 2019.

  16. Johns Hopkins Medicine. Lymphadenitis.

  17. Moffitt Cancer Center. What Does Lymphoma Feel Like?

Additional Reading
  • Kasper, Dennis L.., Anthony S. Fauci, and Stephen L.. Hauser. Harrison's Principles of Internal Medicine. New York: Mc Graw Hill education, 2015. Print.

  • Kumar, Vinay, Abul K. Abbas, and Jon C. Aster. Robbins and Cotran Pathologic Basis of Disease. Philadelphia: Elsevier-Saunders, 2015. Print.

By Lynne Eldridge, MD
 Lynne Eldrige, MD, is a lung cancer physician, patient advocate, and award-winning author of "Avoiding Cancer One Day at a Time."