Explainer
How the immune system works: innate and adaptive immunity
The immune system recognises and defends the body against bacteria, viruses and other substances that look foreign and harmful.[1] It has two arms: innate immunity, the barriers and fast responses people are born with, and acquired (adaptive) immunity, which builds a targeted defence against each specific antigen and remembers it.[2][3][4] Too much, too little or the wrong response causes disorders such as allergy, autoimmune disease and immunodeficiency.[5]
Every day the body meets bacteria, viruses, fungi and other material it needs to keep out or clear away. The immune system is the network that recognises these threats and defends against them.[1] This page explains its main parts and how they work together, and links to pages on conditions where the system misfires.
This page is general information, not medical advice. If you have questions about infections, allergies, vaccines or immune conditions, talk to a doctor or other clinician. The descriptions here come from the US National Library of Medicine’s MedlinePlus encyclopedia.
What the immune system recognises
The immune system looks for “antigens”. These are usually proteins on the surface of cells, viruses, fungi or bacteria. Things that are not alive, such as toxins, chemicals or a splinter, can also act as antigens.[6] Your own cells carry antigens too, but the immune system learns to treat them as normal and usually leaves them alone.[7]
Recognition rests on antigens, typically proteins on cells, viruses, fungi or bacteria, though non-living substances such as toxins, drugs and foreign particles can also be antigenic.[6] Self-tissues carry antigens as well, including HLA antigens. The immune system learns to treat these as normal and usually does not react against them.[7] When that self-tolerance fails, autoimmune disease can result.[8]
The system is built from lymphoid tissue: bone marrow, lymph nodes, parts of the spleen and gut, the thymus and the tonsils. Proteins and cells in the blood are also part of it.[9]
Innate immunity: the first line
Innate immunity is the defence system people are born with. Its barriers include the cough reflex, enzymes in tears and skin oils, mucus that traps bacteria and small particles, the skin and stomach acid.[2] It also has a chemical side, including the complement system, interferon and interleukin-1, which causes fever.[10]
When tissue is injured, inflammation follows. Damaged cells release chemicals such as histamine, bradykinin and prostaglandins. These make blood vessels leak fluid, which causes swelling, and they attract white blood cells called phagocytes that engulf germs and dead or damaged cells.[11]
Adaptive immunity: targeted and with memory
Acquired, or adaptive, immunity develops as the body meets antigens, and builds a defence against each specific one.[3] Two kinds of white blood cell, called lymphocytes, do most of this work:
- B cells become plasma cells that make antibodies. An antibody attaches to a specific antigen and makes it easier for other immune cells to destroy it.[12]
- T cells attack antigens directly and help control the immune response. They also release chemical messengers called cytokines that regulate the whole response.[13]
Once B and T cells form, a few of them multiply and act as the immune system’s memory. This lets the body respond faster and more efficiently the next time it meets the same antigen, and in many cases this prevents illness.[4] The system also has brakes: immune checkpoints normally stop responses from becoming so strong that they destroy healthy cells.[14] The immune system and cancer explainer covers that story.
Vaccines and passive immunity
Vaccines use immune memory on purpose. They produce acquired immunity without the person having to catch the infection, by giving small amounts of an antigen, such as dead or weakened viruses or parts of a virus.[15] The mRNA vaccine explainer describes one newer way of delivering the antigen.
Passive immunity is different: the antibodies come from another body. Babies are born with antibodies that crossed the placenta from their mother, and these fade between 6 and 12 months of age. Injected antibodies give immediate protection, but it does not last.[16]
When the immune system goes wrong
Too much, too little or the wrong immune response causes immune system disorders. These include allergy, the life-threatening allergic reaction anaphylaxis, autoimmune disorders, immunodeficiency and transplant rejection.[5]
- Allergy. The immune response is oversensitive to substances that are usually harmless, and it releases chemicals such as histamines that cause the symptoms.[17] People with allergic conditions such as eczema and hay fever are also more likely to have asthma.[18]
- Autoimmune disease. The immune system attacks healthy tissue by mistake. There are more than 80 such diseases.[8] Examples include multiple sclerosis, rheumatoid arthritis, lupus and type 1 diabetes.[19] The exact cause is unknown. One theory is that microorganisms or medicines trigger changes that confuse the immune system, more often in people with genes that make them prone.[20] Rheumatoid arthritis is a common example.
- Immunodeficiency. The immune response is reduced or absent. Most often, T or B cells do not work normally or the body makes too few antibodies.[21]
Many people with autoimmune disease take immunosuppressive medicines to damp down the abnormal response. These can cause serious side effects, including a higher risk of infection.[22]
Read next
Health in 2026: a crash course
How drugs are tested and approved, who regulates them, and where to start on cholesterol, diabetes, dementia, ALS and cancer screening.
Questions readers ask
What does the immune system do?
It recognises and defends the body against bacteria, viruses and other substances that appear foreign and harmful.[1]
What is the difference between innate and adaptive immunity?
Innate immunity is the defence system people are born with, including barriers such as skin, mucus, stomach acid and the cough reflex. Acquired, or adaptive, immunity develops with exposure to antigens and builds a defence against each specific one.[2][3]
What do B cells and T cells do?
B cells become plasma cells that make antibodies, which attach to a specific antigen and help other immune cells destroy it. T cells attack antigens directly, help control the immune response and release cytokines that regulate it.[12][13]
How do vaccines work?
Vaccines produce acquired immunity without the person having to catch the infection first. They give small amounts of an antigen, such as dead or weakened viruses or parts of a virus, to activate immune memory.[15]
What is an autoimmune disease?
An autoimmune disease occurs when the immune system attacks and destroys healthy body tissue by mistake. There are more than 80 of them, and their exact cause is unknown.[8][20]
Why do allergies happen?
In allergies the immune response is oversensitive to substances that are usually harmless. The immune system releases chemicals such as histamines, which cause the symptoms.[17]
Sources
· 22 claims from 3 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
The immune response is how the body recognizes and defends itself against bacteria, viruses and substances that appear foreign and harmful. confirmedas of 2026-11-07
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Opening summary (retrieved 2026-11-07)
- [2]
Innate immunity is the defence system people are born with; its barriers include the cough reflex, enzymes in tears and skin oils, mucus, skin and stomach acid. confirmedas of 2026-11-07
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Innate immunity (retrieved 2026-11-07)
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Innate immunity (retrieved 2026-11-07)
- [3]
Acquired (adaptive) immunity develops with exposure to antigens, building a defence against each specific antigen. confirmedas of 2026-11-07
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Acquired immunity (retrieved 2026-11-07)
- [4]
After B and T cells form, some multiply and provide immune memory, letting the body respond faster and more efficiently the next time it meets the same antigen, often preventing illness. confirmedas of 2026-11-07
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Blood components (retrieved 2026-11-07)
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Blood components (retrieved 2026-11-07)
- [5]
Too much, too little or the wrong immune response causes immune system disorders, including allergy, anaphylaxis, autoimmune disorders, immunodeficiency and transplant rejection. confirmedas of 2026-11-07
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Complications due to an altered immune response (retrieved 2026-11-07)
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Complications due to an altered immune response (retrieved 2026-11-07)
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Complications due to an altered immune response (retrieved 2026-11-07)
- [6]
The immune system recognizes and responds to antigens, substances (usually proteins) on the surface of cells, viruses, fungi or bacteria; toxins, chemicals and foreign particles can also act as antigens. confirmedas of 2026-11-07
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Information (retrieved 2026-11-07)
- [7]
The body's own cells carry antigens, including HLA antigens, which the immune system learns to treat as normal and usually does not react against. confirmedas of 2026-11-07
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Information (retrieved 2026-11-07)
- [8]
An autoimmune disease occurs when the immune system attacks and destroys healthy body tissue by mistake; there are more than 80 autoimmune diseases. confirmedas of 2026-11-07
- Autoimmune disorders · MedlinePlus (National Library of Medicine) · Primary source · Opening summary (retrieved 2026-11-07)
- [9]
The immune system is made up of lymphoid tissue, including bone marrow, lymph nodes, parts of the spleen and gut, the thymus and tonsils, plus proteins and cells in the blood. confirmedas of 2026-11-07
- Immunodeficiency disorders · MedlinePlus (National Library of Medicine) · Primary source · Causes (retrieved 2026-11-07)
- [10]
Innate immunity also has a chemical form, including the complement system, interferon and interleukin-1, which causes fever. confirmedas of 2026-11-07
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Innate immunity (retrieved 2026-11-07)
- [11]
In inflammation, damaged cells release chemicals such as histamine, bradykinin and prostaglandins that make blood vessels leak fluid, causing swelling, and attract phagocytes that engulf germs and dead or damaged cells. confirmedas of 2026-11-07
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Inflammation (retrieved 2026-11-07)
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Inflammation (retrieved 2026-11-07)
- [12]
B lymphocytes become plasma cells that make antibodies, which attach to a specific antigen and make it easier for immune cells to destroy it. confirmedas of 2026-11-07
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Blood components (retrieved 2026-11-07)
- [13]
T lymphocytes attack antigens directly, help control the immune response and release chemicals called cytokines that regulate it. confirmedas of 2026-11-07
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Blood components (retrieved 2026-11-07)
- [14]
Immune checkpoints are a normal part of the immune system that stop immune responses from becoming so strong that they destroy healthy cells. confirmedas of 2026-10-10
- Immune Checkpoint Inhibitors · National Cancer Institute · Primary source (retrieved 2026-10-10)
- [15]
Vaccines work by producing acquired immunity without the person having to catch the infection first, by giving small amounts of an antigen to activate immune memory. confirmedas of 2026-11-07
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Acquired immunity (retrieved 2026-11-07)
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Immunization (retrieved 2026-11-07)
- [16]
Passive immunity comes from antibodies made in another body: babies are born with antibodies passed through the placenta, which disappear between 6 and 12 months of age, and antibody injections give immediate but short-lived protection. confirmedas of 2026-11-07
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Passive immunity (retrieved 2026-11-07)
- Immune response · MedlinePlus (National Library of Medicine) · Primary source · Passive immunity (retrieved 2026-11-07)
- [17]
An allergy is an oversensitive immune response to substances that are usually harmless; the immune system releases chemicals such as histamines that cause the symptoms. confirmedas of 2026-11-07
- [18]
Asthma is more likely if other family members also have asthma, and in people with other allergic conditions such as eczema and hay fever. confirmedas of 2026-11-07
- Asthma (fact sheet) · World Health Organization · Primary source · Causes (retrieved 2026-11-07)
- Asthma (fact sheet) · World Health Organization · Primary source · Causes (retrieved 2026-11-07)
- [19]
Common autoimmune diseases include coeliac disease, Graves disease, Hashimoto thyroiditis, inflammatory bowel disease, multiple sclerosis, rheumatoid arthritis, lupus and type 1 diabetes. confirmedas of 2026-11-07
- Autoimmune disorders · MedlinePlus (National Library of Medicine) · Primary source · Causes: common autoimmune diseases (retrieved 2026-11-07)
- Autoimmune disorders · MedlinePlus (National Library of Medicine) · Primary source · Causes: common autoimmune diseases (retrieved 2026-11-07)
- Autoimmune disorders · MedlinePlus (National Library of Medicine) · Primary source · Causes: common autoimmune diseases (retrieved 2026-11-07)
- [20]
The exact cause of autoimmune diseases is unknown; one theory is that microorganisms or medicines trigger changes that confuse the immune system, more often in genetically prone people. confirmedas of 2026-11-07
- Autoimmune disorders · MedlinePlus (National Library of Medicine) · Primary source · Causes (retrieved 2026-11-07)
- Autoimmune disorders · MedlinePlus (National Library of Medicine) · Primary source · Causes (retrieved 2026-11-07)
- [21]
Immunodeficiency diseases occur when the immune response is reduced or absent, most often because T or B lymphocytes do not work normally or the body makes too few antibodies. confirmedas of 2026-11-07
- Immunodeficiency disorders · MedlinePlus (National Library of Medicine) · Primary source · Opening summary (retrieved 2026-11-07)
- Immunodeficiency disorders · MedlinePlus (National Library of Medicine) · Primary source · Causes (retrieved 2026-11-07)
- [22]
Many people with autoimmune disease take immunosuppressive medicines, which can cause severe side effects such as a higher risk of infection. confirmedas of 2026-11-07
- Autoimmune disorders · MedlinePlus (National Library of Medicine) · Primary source · Treatment (retrieved 2026-11-07)
- Autoimmune disorders · MedlinePlus (National Library of Medicine) · Primary source · Possible complications (retrieved 2026-11-07)
Revision history (1)
- Page created.
Created Nov 7, 2026. Last reviewed by an editor on Nov 8, 2026. Next scheduled review: May 7, 2027.
Cite this page
"How the immune system works: innate and adaptive immunity." ContentLora, updated Nov 7, 2026. https://contentlora.com/explain/how-the-immune-system-works
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.