Body & Health · Disease & immunity

Vaccines and immune memory

See how a vaccine gives the immune system a memory of a germ, why protection takes time and is never 100%, and how to read the percentages.

4 short lessons · about 17 minutes · 6 sources · updated November 2026

What you will learn

  • Distinguish an antigen from an antibody
  • Explain how vaccination prepares a later immune response
  • Explain why some vaccines use multiple doses or later boosters
  • Tell reduced risk apart from a guarantee that infection can't happen

Lesson 1 of 4 · 4 min

How a vaccine teaches your body to recognize a germ

Before you readIn a 2019 study, measles infection erased some of the antibodies that unvaccinated children had built against other germs. How much?

Correct.Not quite. The answer is Between 11% and 73%.

It wiped out between 11% and 73% of the different antibodies each child had. This lesson shows how the immune system learns a germ, and how a vaccine uses that.

The first time a new germ gets into your body, your immune system has never seen it. Building a defense that fits takes time, and until it's ready you can fall ill. A vaccine closes that gap in advance.

Two words explain how. An antigen is a part of a germ that the immune system can recognize. An antibody is a protein your body makes to match one particular antigen.

The antigen belongs to the germ. The antibody is your response to it. Your body carries thousands of different antibodies, each matched to one antigen.

The first response leaves something behind. The body creates memory cells, which stay alive after the germ is gone.

If the same germ comes back, those cells are ready to pump out the right antibodies. The second response is much faster and more effective than the first, which can protect you from the disease.

This memory is specific. Antibodies to one germ generally don't protect against another, unless the two germs are very similar.

Check yourselfWhich statement correctly tells an antigen apart from an antibody?

Correct.Not quite. The answer is An antigen is part of the germ, and an antibody is made by your body.

The antigen is what gets recognized, and it belongs to the germ. The antibody is the protein your body makes to match it. A vaccine supplies an antigen, or a blueprint for one, and your body supplies the antibodies.

A vaccine uses this memory on purpose. It shows the immune system an antigen before the real germ arrives, so the slow first response happens safely in advance.

Vaccines deliver the antigen in different ways. Some contain weakened or inactive parts of a germ. Some contain a whole germ that has been weakened. Newer ones contain a blueprint, DNA or RNA, and your own cells make the antigen from it.

None of these can give you the disease. Each prompts a response much like the one the real germ would get.

People call this "training" the immune system. The picture is fair, with two limits. Immune cells don't study anything, and a vaccine doesn't hand you a finished stock of antibodies. Your own body makes the response and the memory.

Catching a disease builds memory too, but measles shows what that can cost. In a 2019 study of 77 unvaccinated children, a measles infection wiped out between 11% and 73% of the different antibodies each child already had against other germs. Vaccinated children showed no such loss.

Try to recallExplain why a vaccine doesn't need to contain a ready-made supply of all the antibodies a person will ever need.

A vaccine can present an antigen, or instructions for making one, which prompts the person's own immune response and memory. On a later exposure, that memory can support a faster response. Vaccination doesn't replace the body's own immune activity with a permanent supply from outside.

An antigen is the part of a germ your body recognizes, and an antibody is what your body makes to match it. A vaccine supplies the antigen early, so memory cells are waiting when the real germ turns up. How much protection that gives, and for how long, depends on the vaccine and the germ.

Lessons in this topic

  1. How a vaccine teaches your body to recognize a germ

    Tell antigens from antibodies, and see how a vaccine lets your immune system build a memory of a germ without the illness.

    Essentials · 4 min

  2. Why vaccines take several doses and still aren't 100%

    See why some vaccines need more than one dose, what a second dose adds, and why an infection after vaccination doesn't show the vaccine failed.

    Essentials · 4 min

  3. What it means when a vaccine is 80% effective

    Work out what a vaccine percentage compares, and see why a trial result and real-world performance can differ without either being wrong.

    Deeper · 4 min

  4. Why measles needs 95% of us immune and polio only 80%

    See why the share of people who must be immune differs from one disease to another, and what community protection can and can't do for those who can't be vaccinated.

    Deeper · 5 min

Three quick stories from this topic

Measles erases immune memory

Measles can wipe out up to 73% of the antibodies a child has built against other germs

In a 2019 study of 77 unvaccinated children, a measles infection erased between 11% and 73% of the different antibodies each child had. The virus infects immune cells, so it damages the memory itself. Children given the measles vaccine showed no such loss.

Why it matters

The loss leaves a child open again to infections they had already fought off. The antibodies came back only as the children met those germs again.

What the vaccine spares

Vaccinated children in the study kept their antibodies. So preventing measles also protects the memory of past infections.

How contagious measles is

By the usual estimate, one measles case infects 12 to 18 people where nobody is immune

That's why about 95% of a community must be immune to stop measles spreading. If one case would infect 18 people, 17 of them have to be immune. Polio passes on less easily, and its threshold is about 80%.

An early warning

Because measles spreads so easily, WHO calls it an early warning system. It quickly exposes places where too few people are protected.

The gap in 2025

In 2025, 84% of the world's children received a first dose of measles vaccine. Nearly 21 million missed it.

What 80% effective means

A vaccine that's 80% effective doesn't leave 20% of vaccinated people sick

It means the vaccinated group in a trial had an 80% lower risk than a group given a dummy vaccine. If 10 in 100 unvaccinated people caught the disease, about 2 in 100 vaccinated people would.

Trial and real life

Efficacy is measured in a controlled trial. Effectiveness is how well the vaccine works in the real world, where the population is bigger and more varied.

One outcome at a time

Each figure is about one outcome, such as getting sick at all or becoming severely ill. A vaccine can score differently on each.

Sources

This topic is part of Your body and the evidence about it, a guided path through related topics.

  • Why the flu vaccine is repeated every year

    Protection fades and the virus changes. See how each year's flu vaccine is chosen, what it does and doesn't promise, and why the list of people offered it looks the way it does.

    4 lessons · 20 min

  • The immune system

    Meet the body's defenses in layers, from skin and fast general responders to cells that each fit one target. See how they tell self from invader and what happens when they fail.

    4 lessons · 17 min

  • Germs and how infections spread

    Bacteria, viruses, fungi and parasites cause disease in different ways. Learn how they differ, the routes they take from one person to the next and how each route can be blocked.

    4 lessons · 16 min

  • Treating panic disorder, and judging a therapy

    Panic disorder is typically treated with talk therapy, medication or both. Exposure therapy lowers fear a little at a time, each medicine has its own trade-off, and no regulator checks a therapy's evidence before you're offered it.

    4 lessons · 20 min

  • The lungs and breathing

    Follow a breath from nose to air sacs and see how oxygen and carbon dioxide swap places across a wall far thinner than a hair. Then learn what sets your breathing rate without a thought.

    4 lessons · 16 min

  • Insomnia

    Insomnia is trouble falling or staying asleep that harms your day. Learn how it starts, why it can outlast its cause and why guidelines put therapy before pills.

    4 lessons · 16 min

All body & health topics · Take the quiz