How Does the Immune System Work? Innate vs Adaptive
- 4 views
- 0 likes
- 0 comments
- All languages combined

Sign in and earn +30 points by reading this
Read to the end, wait a few seconds, then tap the claim button below.
In short
The immune system protects the body from germs, harmful substances and abnormal cells [1][6]. It works in two linked layers: the innate system, which reacts within minutes to hours in the same way to every threat, and the adaptive system, whose B cells and T cells target one specific germ and remember it for next time [2][5].
Key takeaways
- The immune system is a network of cells, tissues and organs, not a single organ; its overall job is to prevent or limit infection [1].
- Skin and mucous membranes are the first line of defence, helped by mucus, stomach acid, tears and the cough reflex [1][4].
- Innate immunity acts immediately and broadly, often causing inflammation: swelling, warmth and redness [2][5].
- Adaptive immunity is slower the first time, but its B cells make antibodies and its T cells kill infected cells and coordinate the response [2][3].
- After an infection, memory B and T cells stay in the body, so a second encounter is usually faster and milder [2][5].
- Vaccines create this memory without the illness itself [2][9].
- Allergies, autoimmune diseases and immune deficiencies happen when the response is misdirected, excessive or too weak [4][7].
On this page 12 sections
- How does the immune system work? The short answer
- Where is the immune system in the body?
- What is the difference between innate and adaptive immunity?
- What happens during an immune response?
- How do antibodies and T cells work?
- How does immune memory work, and how do vaccines use it?
- What happens when the immune system goes wrong?
- Can you boost your immune system?
- Common mistakes
- Frequently asked questions
- Glossary
- Sources
How does the immune system work? The short answer
The immune system spots things that do not belong in the body, such as bacteria, viruses, parasites, fungi and some abnormal cells, and then removes or neutralises them; it does this in two layers, a fast general defence and a slower, highly targeted one [1][6].
The US National Institute of Allergy and Infectious Diseases (NIAID) says the overall function of the immune system is to prevent or limit infection [1]. Germany’s health institute IQWiG (InformedHealth.org) adds two more jobs: recognising and neutralising harmful substances from the environment, and fighting harmful changes inside the body, such as cancer cells [6].
To do this, the immune system has to tell the difference between the body’s own healthy cells and anything that looks foreign or damaged. Things that trigger an immune response are called antigens. They are usually proteins on germs, but toxins and even a splinter can act as antigens [4]. The body’s own proteins are normally treated as “self” and left alone [4][6].
When it works well, you hardly notice it; you become ill when the system is weak, a germ is particularly aggressive, or the germ is new to the body [6]. Problems also arise in the other direction: if an immune response switches on without a real threat, or does not switch off once the danger has passed, the result can be allergy or autoimmune disease [1].
Where is the immune system in the body?
The immune system is spread throughout the body: immune cells are made in the bone marrow, T cells mature in the thymus, and cells gather in lymph nodes, the spleen, the skin and the linings of the gut and airways [1].
NIAID describes it as complex and pervasive, with many cell types that either circulate or live in particular tissues [1]. The main locations are:
- Bone marrow. All immune cells come from precursor cells here. One line gives rise to innate cells such as neutrophils and macrophages, another to B cells and T cells [1].
- Thymus. A small organ in the upper chest where T cells mature [1]. The “T” in their name comes from thymus [5].
- Bloodstream. Immune cells, also called white blood cells, constantly patrol the blood [1].
- Lymphatic system and lymph nodes. Vessels carry immune cells between tissues and the blood. Lymph nodes are hubs where immune cells sample material from the body, which is why swollen nodes can signal an active immune response [1].
- Spleen. An organ behind the stomach that filters information from the blood and responds to blood-borne germs [1].
- Skin and mucosal tissue. The skin is usually the first line of defence, and immune hubs sit in the airways and gut, common entry points for germs [1].
This spread-out design is how the immune system works with other body systems: it uses the blood and lymph to move cells, the skin and gut as barriers and the bone marrow to supply new cells [1].
What is the difference between innate and adaptive immunity?
Innate immunity is the defence you are born with: it reacts immediately and in the same way to all invaders; adaptive immunity develops through exposure, targets one specific germ and remembers it [2][4][5].
According to NIAID, innate immunity happens straight away, while adaptive immunity comes later because specific cells must be selected and multiplied [2].
Innate cells use built-in receptors, such as Toll-like receptors, that recognise broad patterns on viruses, bacteria and fungi but cannot tell one strain from another [2]. IQWiG gives an example of their speed: bacteria entering the skin through a small wound are usually detected and destroyed on the spot within a few hours [5].
Adaptive cells are far more specific. Each B cell or T cell carries a unique receptor, created by random shuffling of genes as the cell matures, so the body can recognise germs it has never met, including ones that change over time [2]. The trade-off is time: the first adaptive response to a new germ can take a few days [5].
The two layers work together: innate cells show germ fragments to adaptive cells in the lymph nodes to switch them on [2], and antibodies help innate cells destroy germs [5]. The table below sums up the differences.
What happens during an immune response?
A typical response moves from barriers to inflammation, then to germ-eating cells, then to a targeted attack by B cells and T cells, and finally to memory [4][5][2].
- Barriers. Skin and mucous membranes block germs, helped by acid, enzymes, mucus, tears and tiny hairs called cilia in the lungs [5][4].
- Alarm and inflammation. If germs break through, cells release chemicals such as histamine; blood vessels widen and leak, so the area becomes swollen, warm and red [4][5]. A fever may develop too [5]; the NHS notes that a high temperature is often just the body fighting an infection such as a cold or flu [11].
- Germ-eating cells. Neutrophils, the most numerous innate immune cells, gather at an injury within minutes [3]. Phagocytes such as neutrophils and macrophages swallow and digest germs. Pus is a collection of dead tissue, dead germs and immune cells [4].
- Complement. A chain reaction of blood proteins marks germs and can destroy bacteria [5].
- Presenting the evidence. Dendritic cells and other antigen-presenting cells carry fragments of the germ to the lymph nodes and show them to T cells [3][2].
- Targeted attack. Matching B cells and T cells that also get “danger” signals from innate cells activate, multiply and spread out to deal with the problem [2].
- Resolution and memory. As the infection clears, the cells stop dividing and some stay behind as memory cells [2].
The system also has brakes: cells that react against the body’s own tissues are normally deleted, and regulatory T cells hold back harmful over-activation [2][3].
How do antibodies and T cells work?
B cells make antibodies, proteins that latch onto a specific germ to neutralise it and flag it for destruction; T cells either kill infected cells directly or act as coordinators that switch on other immune cells [3][5].
An antibody fits its target antigen like a key in a lock [5]. NIAID describes three main ways antibodies help [3]:
- Neutralisation: a germ coated in antibodies cannot attach to and infect body cells.
- Opsonisation: the coating acts as a red flag that tells neutrophils and macrophages to engulf the germ.
- Complement activation: antibodies trigger the protein cascade that can break bacteria open.
Antibodies come in five classes: IgM, IgD, IgG, IgA and IgE. IgA protects the gut, and IgE is involved in allergies and defence against parasites [3]. Activated by helper T cells, B cells turn into plasma cells that release large amounts of antibody [5][4].
T cells come in two broad groups [3]:
- Cytotoxic (CD8+) T cells remove virus-infected cells and cancer cells by making them self-destruct.
- Helper (CD4+) T cells release messengers called cytokines that activate other cells; regulatory T cells keep the response in check.
Natural killer cells sit between the two systems. They hunt virus-infected and tumour cells, and some may be kept as memory cells [3][1]. The table below lists the main immune cells and their jobs.
How does immune memory work, and how do vaccines use it?
After an infection, some B cells and T cells stay in the body as long-lived memory cells, so the next time the same germ appears it can be cleared before it takes hold; vaccines train this memory without the disease [2][9].
NIAID explains that once an infection resolves, expanded B cells and T cells are kept as memory cells, poised to react if the same germ returns [2]. IQWiG notes that the second infection then usually goes unnoticed or is milder, which is why some illnesses, such as chickenpox, are usually caught only once [5][6].
Vaccination uses the same mechanism. Vaccines contain weakened or inactivated germs or parts of germs that act as antigens, building memory without an actual infection [4][2]. The NHS says it is much safer for the immune system to learn this way than by catching the disease, and that once the immune system knows how to fight a disease it can often give lifelong protection [9]. High vaccine coverage also protects people who cannot be vaccinated, known as herd immunity [9].
Babies are born with antibodies from their mother, passed through the placenta, but these fade between 6 and 12 months of age [4]. Measles is a clear example of what happens when immunity in a community drops; see our guide Measles Deaths 2026: Why CDC Says 6 and States Report 10.
Memory is not perfect: adaptive cells may recognise only one strain of a germ, so fast-changing viruses can partly escape it [2]. That is why flu vaccines are updated regularly; for how the strains of a single season can differ, see Flu Season 2026: Why It Started Early and Which Strain.
What happens when the immune system goes wrong?
Immune disorders fall into three broad groups: the system overreacts to harmless things (allergy), attacks the body’s own tissues (autoimmunity) or responds too weakly (immunodeficiency) [4][7].
Allergy. The NHS describes an allergy as the body reacting to something that is normally harmless, such as pollen, dust mites, foods like peanuts, milk and eggs, pets, insect stings or certain medicines [8]. Symptoms can appear within minutes or after a few hours. Anaphylaxis is a severe, life-threatening reaction that needs emergency treatment [8][4].
Autoimmune disease. In autoimmune diseases, proteins called autoantibodies target the body’s own healthy tissues by mistake [7]. The US National Institute of Arthritis and Musculoskeletal and Skin Diseases (NIAMS) lists examples including rheumatoid arthritis, which affects the lining of the joints; psoriasis; lupus, which can affect many organs; and vitiligo, in which pigment-making skin cells are destroyed [7].
Immunodeficiency. When the response is lacking, infections become more frequent or severe [4]. People with genetic immune disorders or infections such as HIV can be susceptible to microbes that rarely harm healthy people [1].
Ageing. Mayo Clinic notes that with age, T cells and B cells decline in number and function while low-level inflammation, “inflammaging”, rises, so recovery from colds and flu can take longer [10].
Can you boost your immune system?
There is no switch that makes a healthy immune system “stronger”, and a stronger response is not always better; what helps is supporting it with sleep, physical activity, a balanced diet and recommended vaccines [10][9].
Mayo Clinic describes immunity as a continuum: at one end, weak immunity means catching one infection after another; at the other, an over-strong immune system attacks healthy tissue, as in autoimmunity. The aim is the balance in between [10]. Habits with the best support are:
- Sleep. Sleep helps the body release infection-fighting proteins; sleep loss may reduce them [10].
- Regular exercise. Moderate exercise can increase virus-fighting cell activity; Mayo Clinic suggests 150 minutes of moderate cardiovascular exercise and two strength-training sessions a week [10].
- A balanced diet. More whole foods and fewer ultra-processed foods may help reduce inflammation [10].
- Vaccines. They introduce germs in a controlled way, which matters more with age [10][9].
Supplements are not a shortcut. Mayo Clinic says a vitamin D supplement may help people who are deficient, and that studies of vitamin C and zinc for colds show modest or mixed effects; it advises talking to a healthcare professional before taking either [10].
Seek medical advice for frequent, severe or slow-clearing infections; swelling of the lips or throat or difficulty breathing is an emergency [8]. This guide gives general information about the immune system and is not medical advice; talk to a doctor about any health concern.
| Feature | Innate immunity | Adaptive immunity |
|---|---|---|
| When it develops | Present from birth | Develops after exposure to antigens |
| Speed | Immediate; minutes to hours | Days the first time; faster on repeat exposure |
| What it recognises | Broad patterns shared by many germs | One specific antigen or strain |
| Main parts | Skin, mucus, neutrophils, macrophages, dendritic cells, natural killer cells, complement | B cells, antibodies, helper and cytotoxic T cells |
| Memory | Little or none | Long-lived memory B and T cells |
| Cell | System | Main job |
|---|---|---|
| Neutrophil | Innate | Most numerous innate cell; swallows bacteria, arrives at injuries within minutes |
| Macrophage | Innate | Engulfs germs and debris and alerts other immune cells |
| Dendritic cell | Innate | Presents germ fragments to T cells |
| Natural killer cell | Innate (with adaptive features) | Kills virus-infected and tumour cells |
| B cell | Adaptive | Makes antibodies; some become memory cells |
| Cytotoxic T cell | Adaptive | Kills infected cells and cancer cells |
| Helper T cell | Adaptive | Releases cytokines that coordinate the response |
Common mistakes
Thinking the immune system is one organ.
Fix: It is a network spread across the bone marrow, thymus, lymph nodes, spleen, blood, skin and gut [1].
Assuming a stronger immune response is always better.
Fix: An overactive response causes allergies and autoimmune disease; balance is the goal [1][10].
Treating fever and swelling as the illness itself.
Fix: They are often signs of the immune system fighting an infection [5][11].
Relying on supplements to “boost” immunity.
Fix: Sleep, exercise, diet and vaccines have better support; ask a professional before taking supplements [10].
Frequently asked questions
How does the immune system work with other body systems?
It uses the blood and lymphatic vessels to move cells around, the skin and gut lining as barriers, and the bone marrow to make new immune cells [1].
What is the difference between innate and adaptive immunity?
Innate immunity is present from birth and reacts fast and broadly; adaptive immunity develops after exposure, targets specific germs and keeps a memory of them [2][4].
How do antibodies and T cells work?
Antibodies from B cells lock onto specific germs to neutralise them and flag them for destruction. Cytotoxic T cells kill infected cells, and helper T cells coordinate the response [3][5].
Can you boost your immune system?
Not with a single product. Enough sleep, regular exercise, a balanced diet and recommended vaccines support normal immune function [10][9].
Why do we get a fever when we are ill?
A high temperature is often a sign of the body fighting an infection, such as a cold or flu [11][5].
Does the immune system weaken with age?
Partly. Adaptive T and B cells decline in number and function, and low-level inflammation rises, so recovery from infections can take longer [10].
Glossary
- Antigen
- Any substance, usually a protein, that the immune system can recognise and respond to [4].
- Antibody
- A protein made by B cells that binds to one specific antigen; also called an immunoglobulin [3].
- Lymphocyte
- A type of white blood cell; B cells, T cells and natural killer cells [1].
- Cytokine
- A small protein messenger that immune cells use to signal to each other [4].
Sources
- Overview of the Immune System National Institute of Allergy and Infectious Diseases (NIH) · 2026-02-18
- Features of an Immune Response National Institute of Allergy and Infectious Diseases (NIH) · 2026-02-18
- Immune Cells National Institute of Allergy and Infectious Diseases (NIH) · 2026-02-18
- Immune response MedlinePlus Medical Encyclopedia, US National Library of Medicine · 2026-01-20
- The innate and adaptive immune systems InformedHealth.org, Institute for Quality and Efficiency in Health Care (IQWiG) · 2023-08-14
- How does the immune system work? InformedHealth.org, Institute for Quality and Efficiency in Health Care (IQWiG) · 2023-06-06
- Autoimmune Diseases National Institute of Arthritis and Musculoskeletal and Skin Diseases (NIH)
- Allergies NHS · 2026-03-05
- Why vaccination is important and the safest way to protect yourself NHS · 2023-03-28
- Aging and the immune system: Strengthening your body's defenses Mayo Clinic Press · 2024-02-22
- High temperature (fever) in adults NHS · 2026-10-19
Comments
Top comments