Swollen lymph nodes

Overview

Swollen lymph nodes most often happen because of infection from bacteria or viruses. Rarely, cancer causes swollen lymph nodes.

The lymph nodes, also called lymph glands, play a vital role in the body being able to fight off infections. They work as filters, trapping viruses, bacteria and other causes of illnesses before they can infect other parts of the body. Common areas for swollen lymph nodes include the neck, under the chin, in the armpits and in the groin.

Sometimes, time and warm compresses may be all that's needed to treat swollen lymph nodes. Sometimes,>If an infection causes swollen lymph nodes, treatment depends on the infection.

Lymph node locations

Symptoms

The lymph system is a network of organs, vessels and lymph nodes throughout the body. Many lymph nodes are in the head and neck. Lymph nodes there often swell. Swelling can be to the size of a pea or kidney bean or larger.

Swollen lymph nodes are a sign that something is wrong in the body. The nodes might also be tender and painful.

Depending on the cause of the swollen lymph nodes, other symptoms might include:

  • Runny nose, sore throat or cough.
  • Swelling of lymph nodes all through the body. When this occurs, it might be because of an infection, such as HIV or mononucleosis, or an immune system condition, such as lupus or rheumatoid arthritis.
  • Hard, fast-growing nodes that don't move when pushed. These might be because of cancer of the lymph system, called lymphoma, or other cancer.
  • Fever.
  • Night sweats.

When to see a doctor

Some swollen lymph nodes return to their usual size when the condition that's causing them gets better. See your healthcare professional if you're worried or if your swollen lymph nodes:

  • Have no known reason.
  • Continue to get bigger or have been swollen for 2 to 4 weeks.
  • Feel hard or rubbery, or don't move when you push on them.
  • Come with fever, night sweats or weight loss.
  • Come with a cough that doesn't get better.
  • Are in your armpit.

Seek immediate medical care if you have trouble swallowing or breathing.

Causes

Lymph nodes are small, round or bean-shaped bunches of cells. Inside lymph nodes are a mix of types of immune system cells. These cells filter the lymph fluid as it goes through the body and protect the body from invaders.

Lymph nodes are in groups. Each group drains an area of the body. It might be easier to tell if there's swelling in certain areas. These include the lymph nodes in the neck, under the chin, and in the armpits and groin. Where the swollen lymph nodes are might give a clue to the cause of the swelling.

The most common cause of swollen lymph nodes is an infection, usually viral, such as the common cold. Sometimes the cause isn't found.

Other causes of swollen lymph nodes include:

Common infections

  • Strep throat.
  • Measles.
  • Ear infections.
  • Infected tooth.
  • Mononucleosis.
  • Skin or wound infections, such as cellulitis.
  • Human immunodeficiency virus (HIV), the virus that causes AIDS.

Less common infections

  • Tuberculosis.
  • Certain sexually transmitted infections, such as syphilis.
  • An infection with a parasite called toxoplasmosis. It comes from contact with the feces of an infected cat or by eating meat that is not cooked well enough.
  • A bacterial infection from a cat scratch or bite, called cat scratch fever.

Immune system disorders

  • Lupus. This ongoing, disease, or chronic disease, causes swelling and irritation. Swelling and irritation also is called inflammation. Lupus can affect the joints, skin, kidneys, blood cells, heart and lungs.
  • Rheumatoid arthritis. This chronic disease causes inflammation in the tissue that lines the joints. The tissue is called synovium.
  • Sarcoidosis. This chronic disease causes the growth of tiny groups of inflammatory cells called granulomas. They occur most often in the lungs and lymph nodes.

Cancers

  • Lymphoma. This cancer starts in the lymph system.
  • Leukemia. This is cancer of the body's blood-forming tissue. This includes the bone marrow and lymph system.
  • Other cancers that have spread, called metastasized, to lymph nodes.

Other possible but rare causes include certain medicines, such as the anti-seizure medicine phenytoin (Dilantin) and medicines that prevent malaria. Silicone breast implants also can cause swollen lymph nodes.

Risk factors

Many conditions increase the risk of swollen lymph nodes. Factors that increase the risk of having these conditions include:

  • Older age. Aging increases the risk of getting infections, immune system disorders and cancer.
  • High-risk behaviors. Having sex without protection and injecting illicit drugs increases the risk of infections such as HIV and other sexually transmitted infections.
  • Weakened immune system. This can be from an illness or a medicine that suppresses the immune system. Having a weakened immune system increases the risk of infections.

Complications

When an infection that causes swollen lymph nodes isn't treated, a collection of pus may form. These are called abscesses. Pus contains fluid, white blood cells, dead tissue, and bacteria or other invaders. An abscess might need to be drained and treated with an antibiotic.

Diagnosis

Finding the cause of swollen lymph nodes involves the following:

  • Your medical history. This includes how the swollen lymph nodes started and if there are other symptoms.
  • A physical exam. This includes checking lymph nodes just under the skin to see where they are and how they feel, and how big, tender and warm they are.
  • Blood tests. A complete blood count (CBC) and other tests can look for the cause of the swollen lymph nodes.
  • Imaging studies. A chest X-ray or CT scan of the affected area might show sources of infection or find tumors. Sometimes, a mammogram might be used.
  • Lymph node biopsy. A sample from a lymph node or a whole lymph node might be removed and sent to a lab for study.

Treatment

The swelling of lymph nodes caused by a virus usually goes down after the virus goes away. Antibiotics don't help viral infections. Treatment for swollen lymph nodes from other causes depends on the cause.

  • Infection. The usual treatment for swollen lymph nodes caused by a bacterial infection is antibiotics. Swollen lymph nodes that are due to an HIV infection will need treatment for HIV.
  • Immune disorder. Treatment for swollen lymph nodes from conditions such as lupus or rheumatoid arthritis targets the cause.
  • Cancer. Swollen nodes caused by cancer require treatment for the cancer. Depending on the type of cancer, treatment may involve surgery, radiation or chemotherapy.

Self care

If your swollen lymph nodes are tender or painful, you might get some relief from the following:

  • Apply a warm compress. Dip a washcloth in hot water and wring it out. Put it on the affected area.
  • Take a pain reliever you can get without a prescription. These include ibuprofen (Advil, Motrin IB, others), naproxen sodium (Aleve) or acetaminophen (Tylenol, others).

    Do not give children or teenagers aspirin. Aspirin has been linked to Reye's syndrome, a rare life-threatening condition, in children or teenagers who have the flu or chickenpox.

Preparing for your appointment

You'll likely start by first seeing your family healthcare professional. Here's some information to help you get ready for your appointment.

What you can do

Make a list of:

  • Your symptoms and when they started. Include every symptom that you've had since your lymph nodes began to swell.
  • Possible sources of infection. These may include travel abroad, hiking in areas known to have ticks, eating undercooked meat, being scratched by a cat, or having high-risk sex or sex with a new partner.
  • Key medical information, including other conditions you have. List all medicines, vitamins and supplements you take, including doses.
  • List questions to ask at your appointment.

For swollen lymph nodes, some basic questions to ask include:

  • What's causing my symptoms?
  • What are other possible causes for my symptoms?
  • What tests do I need?
  • Can I infect others? How can I lower the risk?
  • How can I prevent this from happening again?

What to expect from your doctor

Questions your healthcare professional might ask include:

  • Have your lymph nodes gotten larger over time?
  • Are your lymph nodes tender?
  • What, if anything, makes your symptoms worse?
  • What makes your symptoms better?
  • Have you had regular cancer screenings, such as mammograms?

What you can do in the meantime

While you wait for your appointment, if your swollen nodes are painful, try using warm compresses. And you can take a pain reliever you can get without a prescription, such as ibuprofen (Advil, Motrin IB, others) or acetaminophen (Tylenol, others).


Content From Mayo Clinic Updated: 04/24/2025
© 1998-2025 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. Terms of Use