Health Topics
Learn More
See, Play and Learn
Resources
For You
Summary
What is the immune system?
Your immune system is a complex network of cells, tissues, and organs. Together they help the body fight infections and other diseases.
When germs such as bacteria or viruses invade your body, they attack and multiply. This is called an infection. The infection causes the disease that makes you sick. Your immune system protects you from the disease by fighting off the germs.
What are the parts of the immune system?
The immune system has many different parts, including:
- Your skin, which can help prevent germs from getting into the body
- Mucous membranes, which are the moist, inner linings of some organs and body cavities. They make mucus and other substances which can trap and fight germs.
- White blood cells, which fight germs
- Organs and tissues of the lymph system, such as the thymus, spleen, tonsils, lymph nodes, lymph vessels, and bone marrow. They produce, store, and carry white blood cells.
How does the immune system work?
Your immune system defends your body against substances it sees as harmful or foreign. These substances are called antigens. They may be germs such as bacteria and viruses. They might be chemicals or toxins. They could also be cells that are damaged from things like cancer or sunburn.
When your immune system recognizes an antigen, it attacks it. This is called an immune response. Part of this response is to make antibodies. Antibodies are proteins that work to attack, weaken, and destroy antigens. Your body also makes other cells to fight the antigen.
Afterwards, your immune system remembers the antigen. If it sees the antigen again, it can recognize it. It will quickly send out the right antibodies, so in most cases, you don't get sick. This protection against a certain disease is called immunity.
What are the types of immunity?
There are three different types of immunity:
- Innate immunity is the protection that you are born with. It is your body's first line of defense. It includes barriers such as the skin and mucous membranes. They keep harmful substances from entering the body. It also includes some cells and chemicals which can attack foreign substances.
- Active immunity, also called adaptive immunity, develops when you are infected with or vaccinated against a foreign substance. Active immunity is usually long-lasting. For many diseases, it can last your entire life.
- Passive immunity happens when you receive antibodies to a disease instead of making them through your own immune system. For example, newborn babies have antibodies from their mothers. People can also get passive immunity through blood products that contain antibodies. This kind of immunity gives you protection right away. But it only lasts a few weeks or months.
What can go wrong with the immune system?
Sometimes a person may have an immune response even though there is no real threat. This can lead to problems such as allergies, asthma, and autoimmune diseases. If you have an autoimmune disease, your immune system attacks healthy cells in your body by mistake.
Other immune system problems happen when your immune system does not work correctly. These problems include immunodeficiency diseases. If you have an immunodeficiency disease, you get sick more often. Your infections may last longer and can be more serious and harder to treat. They are often genetic disorders.
There are other diseases that can affect your immune system. For example, HIV is a virus that harms your immune system by destroying your white blood cells. If HIV is not treated, it can lead to AIDS (acquired immunodeficiency syndrome). People with AIDS have badly damaged immune systems. They get an increasing number of severe illnesses.
Symptoms
- 10 Warning Signs of Primary Immunodeficiency (Jeffrey Modell Foundation) - PDF
- Recurrent Infections May Signal Immunodeficiencies (American Academy of Allergy, Asthma, and Immunology) Also in Spanish
Diagnosis and Tests
- Laboratory Tests (Immune Deficiency Foundation)
Treatments and Therapies
- Intravenous Immunoglobulin (IVIG) (American College of Rheumatology) Also in Spanish
Related Issues
- Covid-19 Vaccines for Moderately to Severely Immunocompromised People (Centers for Disease Control and Prevention)
- Flu Vaccine Guidance for Patients with Immune Deficiency (American Academy of Allergy, Asthma, and Immunology) Also in Spanish
- People at Risk: Those with Weakened Immune Systems (Department of Health and Human Services) Also in Spanish
- Talking to Your Doctor about Primary Immune Deficiency Diseases (National Institute of Allergy and Infectious Diseases)
- Travelers' Health: Immunocompromised Travelers (Centers for Disease Control and Prevention)
Specifics
- Chronic Granulomatous Disease (CGD) (National Institute of Allergy and Infectious Diseases)
- Common Variable Immunodeficiency (CVID) (National Institute of Allergy and Infectious Diseases)
- Congenital Neutropenia Syndromes (National Institute of Allergy and Infectious Diseases)
- DiGeorge Syndrome (DGS) (American Academy of Allergy, Asthma, and Immunology) Also in Spanish
- DOCK8 Deficiency (National Institute of Allergy and Infectious Diseases)
- GATA2 Deficiency (National Institute of Allergy and Infectious Diseases) - PDF
- General Information about Langerhans Cell Histiocytosis (LCH) (National Cancer Institute) Also in Spanish
- Glycosylation Disorders with Immunodeficiency (National Institute of Allergy and Infectious Diseases)
- Hyper-Immunoglobulin E Syndromes (HIES) (National Institute of Allergy and Infectious Diseases)
- Mastocytosis (American Academy of Family Physicians) Also in Spanish
- Monoclonal Gammopathies (Johns Hopkins Medicine)
- Overview of Immunodeficiency Disorders (Merck & Co., Inc.) Also in Spanish
- PLCG2-Associatiated Antibody Deficiency Immune Dysregulation (PLAID) (National Institute of Allergy and Infectious Diseases)
- Selective IgA Deficiency (American Academy of Allergy, Asthma, and Immunology)
- Severe Combined Immunodeficiency (SCID) (National Institute of Allergy and Infectious Diseases)
- Types of Primary Immune Deficiency Diseases (National Institute of Allergy and Infectious Diseases)
- Warts, Hypogammaglobulinemia, Infections, and Myelokathexis (WHIM) Syndrome (National Institute of Allergy and Infectious Diseases)
- Wiskott-Aldrich Syndrome (WAS) (National Institute of Allergy and Infectious Diseases) - PDF
- X-Linked Agammaglobulinemia (XLA) (National Institute of Allergy and Infectious Diseases)
Genetics
- 22q11.2 deletion syndrome: MedlinePlus Genetics (National Library of Medicine)
- Activated PI3K-delta syndrome: MedlinePlus Genetics (National Library of Medicine)
- Adenosine deaminase deficiency: MedlinePlus Genetics (National Library of Medicine)
- Anhidrotic ectodermal dysplasia with immune deficiency: MedlinePlus Genetics (National Library of Medicine)
- Autosomal dominant hyper-IgE syndrome: MedlinePlus Genetics (National Library of Medicine)
- Bare lymphocyte syndrome type I: MedlinePlus Genetics (National Library of Medicine)
- Bare lymphocyte syndrome type II: MedlinePlus Genetics (National Library of Medicine)
- Chediak-Higashi syndrome: MedlinePlus Genetics (National Library of Medicine)
- Chronic granulomatous disease: MedlinePlus Genetics (National Library of Medicine)
- Common variable immune deficiency: MedlinePlus Genetics (National Library of Medicine)
- Complement component 2 deficiency: MedlinePlus Genetics (National Library of Medicine)
- Complement component 8 deficiency: MedlinePlus Genetics (National Library of Medicine)
- Complement factor I deficiency: MedlinePlus Genetics (National Library of Medicine)
- DOCK8 immunodeficiency syndrome: MedlinePlus Genetics (National Library of Medicine)
- Erdheim-Chester disease: MedlinePlus Genetics (National Library of Medicine)
- Familial candidiasis: MedlinePlus Genetics (National Library of Medicine)
- Familial hemophagocytic lymphohistiocytosis: MedlinePlus Genetics (National Library of Medicine)
- Griscelli syndrome: MedlinePlus Genetics (National Library of Medicine)
- Hepatic veno-occlusive disease with immunodeficiency: MedlinePlus Genetics (National Library of Medicine)
- Immune dysregulation, polyendocrinopathy, enteropathy, X-linked syndrome: MedlinePlus Genetics (National Library of Medicine)
- IRAK-4 deficiency: MedlinePlus Genetics (National Library of Medicine)
- JAK3-deficient severe combined immunodeficiency: MedlinePlus Genetics (National Library of Medicine)
- Langerhans cell histiocytosis: MedlinePlus Genetics (National Library of Medicine)
- Leukocyte adhesion deficiency type 1: MedlinePlus Genetics (National Library of Medicine)
- Mannose-binding lectin deficiency: MedlinePlus Genetics (National Library of Medicine)
- MDA5 deficiency: MedlinePlus Genetics (National Library of Medicine)
- Omenn syndrome: MedlinePlus Genetics (National Library of Medicine)
- PGM3-congenital disorder of glycosylation: MedlinePlus Genetics (National Library of Medicine)
- Poikiloderma with neutropenia: MedlinePlus Genetics (National Library of Medicine)
- Primary Immune Deficiency Disease Genetics and Inheritance (National Institute of Allergy and Infectious Diseases)
- Purine nucleoside phosphorylase deficiency: MedlinePlus Genetics (National Library of Medicine)
- Spondyloenchondrodysplasia with immune dysregulation: MedlinePlus Genetics (National Library of Medicine)
- Systemic mastocytosis: MedlinePlus Genetics (National Library of Medicine)
- T-cell immunodeficiency, congenital alopecia, and nail dystrophy: MedlinePlus Genetics (National Library of Medicine)
- TRNT1 deficiency: MedlinePlus Genetics (National Library of Medicine)
- Vici syndrome: MedlinePlus Genetics (National Library of Medicine)
- Wiskott-Aldrich syndrome: MedlinePlus Genetics (National Library of Medicine)
- X-linked agammaglobulinemia: MedlinePlus Genetics (National Library of Medicine)
- X-linked hyper IgM syndrome: MedlinePlus Genetics (National Library of Medicine)
- X-linked immunodeficiency with magnesium defect, Epstein-Barr virus infection, and neoplasia: MedlinePlus Genetics (National Library of Medicine)
- X-linked lymphoproliferative disease: MedlinePlus Genetics (National Library of Medicine)
- X-linked severe combined immunodeficiency: MedlinePlus Genetics (National Library of Medicine)
- Yao syndrome: MedlinePlus Genetics (National Library of Medicine)
- ZAP70-related severe combined immunodeficiency: MedlinePlus Genetics (National Library of Medicine)
Videos and Tutorials
- Immune response (Medical Encyclopedia) Also in Spanish
- Phagocytosis (Medical Encyclopedia) Also in Spanish
Test Your Knowledge
- Fitness Facts & Fiction Quiz (Medical Encyclopedia) Also in Spanish
- Immune System Quiz (Nemours Foundation)
Statistics and Research
- Immune System Research (National Institute of Allergy and Infectious Diseases)
Clinical Trials
- ClinicalTrials.gov: Granulomatous Disease, Chronic (National Institutes of Health)
- ClinicalTrials.gov: Immune System Diseases (National Institutes of Health)
- ClinicalTrials.gov: Primary Immunodeficiency Diseases (National Institutes of Health)
- ClinicalTrials.gov: Severe Combined Immunodeficiency (National Institutes of Health)
Journal Articles References and abstracts from MEDLINE/PubMed (National Library of Medicine)
- Article: Functional role of UNC13D in immune diseases and its therapeutic applications.
- Article: The Immunomodulatory Effects of Selenium: A Journey from the Environment to...
- Article: Metabolic regulation of the immune system in health and diseases: mechanisms...
- Immune System and Disorders -- see more articles
Find an Expert
Children
- 22q11.2 Deletion Syndrome (DiGeorge Syndrome) (For Parents) (Nemours Foundation) Also in Spanish
- Repeated Infections in Children (American Academy of Family Physicians) Also in Spanish
- Severe Combined Immunodeficiency (SCID) (Nemours Foundation) Also in Spanish
- Weakened Immune Systems (American Academy of Pediatrics) Also in Spanish
- What Is a Pediatric Allergist / Immunologist? (American Academy of Pediatrics) Also in Spanish
Teenagers
- Immune System (Nemours Foundation) Also in Spanish
Patient Handouts
- Agammaglobulinemia (Medical Encyclopedia) Also in Spanish
- Aging changes in immunity (Medical Encyclopedia) Also in Spanish
- Chronic granulomatous disease (Medical Encyclopedia) Also in Spanish
- Graft-versus-host disease (Medical Encyclopedia) Also in Spanish
- Histiocytosis (Medical Encyclopedia) Also in Spanish
- Hyperimmunoglobulin E syndrome (Medical Encyclopedia) Also in Spanish
- Immune response (Medical Encyclopedia) Also in Spanish
- Immunodeficiency disorders (Medical Encyclopedia) Also in Spanish
- Selective deficiency of IgA (Medical Encyclopedia) Also in Spanish
The information on this site should not be used as a substitute for professional medical care or advice. Contact a health care provider if you have questions about your health.