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.

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
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.
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
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.
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.
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.
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.
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
- How do vaccines work?, World Health Organization
- Vaccine efficacy, effectiveness and protection, World Health Organization
- Measles virus infection diminishes preexisting antibodies that offer protection from other pathogens, Science (PubMed record)
- The basic reproduction number (R0) of measles: a systematic review, The Lancet Infectious Diseases (PubMed record)
- Coronavirus disease (COVID-19): Herd immunity, lockdowns and COVID-19, World Health Organization
- Immunization coverage, World Health Organization




