Science, human bodyProcessUpdated 1 October 2026
How Vaccines Work: Training Your Immune System
Vaccines work by imitating an infection. They show your immune system a harmless antigen from a germ, so it makes matching antibodies and memory cells that can fight the real germ quickly if it ever arrives.
Interactive
Explore it step by step
7 steps: Vaccine is given → Antigen is spotted → Antibodies are made → Memory cells are kept → Is protection strong enough? → The real germ arrives → Illness is prevented. Press play, or choose a number to explore.
Step 1 of 7: Vaccine is given
A jab or drops deliver a harmless antigen: a weakened or killed germ, a piece of it, or instructions to make one.
Step 2 of 7: Antigen is spotted
Cells such as macrophages and dendritic cells swallow the antigen and show pieces of it to T cells.
Step 3 of 7: Antibodies are made
Helper T cells switch on matching B cells, which multiply and release antibodies that fit that antigen.
Step 4 of 7: Memory cells are kept
Some B and T cells become long-lived memory cells that remember the antigen's shape.
Step 5 of 7: Is protection strong enough?
If not, more doses are given weeks or months apart, or boosters later, to build lasting memory.
Step 6 of 7: The real germ arrives
Memory cells recognise it at once and trigger a faster, much bigger antibody response.
Step 7 of 7: Illness is prevented
The germ is usually cleared before it can make you seriously ill.

Use this infographic
Free under CC BY-NC 4.0, with credit to InfoGraphHub.
What a vaccine is
A vaccine is a way of training your immune system before you meet a dangerous germ. It works by imitating an infection without causing the disease.
Different vaccines do this in different ways. Some contain a weakened or inactivated (killed) form of the germ. Others contain just one part of it, such as a surface protein. Newer vaccines carry the genetic instructions (DNA or RNA) that let your own cells make that harmless part for a short time.
The part of a germ that the immune system learns to recognise is called an antigen. Every vaccine is built around one or more antigens.
Step 1: the antigen is spotted
After a jab or oral drops, the antigen is picked up by antigen-presenting cells, such as dendritic cells and macrophages. These cells swallow the antigen, break it up, and display pieces of it on their surface.
They then show these pieces to T cells, a type of white blood cell. This is how the immune system learns that something new has arrived and which shape it needs to fight.
Step 2: antibodies are made
Once alerted, helper T cells switch on the B cells whose receptors fit the antigen. Those B cells multiply, and many of them become plasma cells that release antibodies: Y-shaped proteins that lock onto one specific antigen, a bit like a key that fits only one lock.
This first response is slow. It takes days or even weeks to build up, which is why a vaccine does not protect you immediately and why you can still catch an infection in the weeks straight after vaccination.
Step 3: memory is kept
Some of the B and T cells do not join the first fight. Instead they become long-lived memory cells that remember the antigen.
If the real germ enters your body later, these memory cells recognise it straight away. The second response is much faster and much bigger: memory B cells can produce tens to hundreds of times more antibody than in the first response. The germ is usually cleared before it can make you seriously ill. Many vaccines need two or more doses, given weeks or months apart, to build strong, lasting memory.
Real-world examples: smallpox and polio
Vaccination has already wiped one human disease off the planet. Smallpox killed an estimated 300 million people in the 20th century alone. A 10-year global campaign led by the World Health Organization gave about half a billion vaccinations, the last natural case was found in Somalia in 1977, and on 8 May 1980 the World Health Assembly declared the world free of smallpox.
Polio is the next target. In 1994, India accounted for around 60 per cent of the world's polio cases. Through the Pulse Polio programme, health workers set out to give polio drops to every child, whether at home, at school or while travelling. India recorded its last polio case on 13 January 2011, in Howrah, West Bengal, and the World Health Organization certified the country polio-free on 27 March 2014.
Why vaccination protects everyone
When enough people in a community are vaccinated, a germ struggles to spread because most of the people it meets are immune. This is called herd immunity. It protects people who cannot be vaccinated, such as newborn babies or those with certain illnesses, which is why every vaccinated person helps keep others safe.
Frequently asked questions
Can a vaccine give you the disease it protects against?
Vaccines are designed not to cause the disease. Feeling tired or having a sore arm for a day or two is common and is a sign that your immune system is responding.
How soon after a vaccine am I protected?
Not straight away. Building immunity can take a few weeks, so it is still possible to catch an infection in the weeks just after vaccination.
Why do some vaccines need more than one dose?
Extra doses, given weeks or months apart, help the body make long-lasting antibodies and a stronger pool of memory cells. Some vaccines also need boosters later in life.
What is herd immunity?
When most people in a community are immune, a germ has trouble spreading. This indirectly protects people who cannot be vaccinated, such as very young babies.
Has a vaccine ever ended a disease completely?
Yes. Smallpox is the only human disease eradicated so far. After a global vaccination campaign led by WHO, the World Health Assembly declared it eradicated on 8 May 1980.
Sources & methodology
Every fact is checked against the sources below. We write original explanations and draw original graphics; no figures are copied from textbooks. Spotted an error? See our corrections policy.
- How do vaccines work? (World Health Organization, accessed 30 Sept 2026)
- Explaining How Vaccines Work (Centers for Disease Control and Prevention, accessed 30 Sept 2026)
- 42.2 Adaptive Immune Response (Biology 2e) (OpenStax, Rice University, accessed 30 Sept 2026)
- A push to vaccinate every child, everywhere, ended polio in India (World Health Organization India, accessed 30 Sept 2026)
- Commemorating smallpox eradication: a legacy of hope for COVID-19 and other diseases (World Health Organization, accessed 1 Oct 2026)
Editorial review pending · Updated
Made by the InfoGraphHub editorial team (how we research and check: editorial and AI policy). First published 30 September 2026, last reviewed 1 October 2026. Found a mistake? Tell the editors.
For teachers: ages and curriculum fit
Ages 11–16 · Grades 6–10 (US) · Years 7–11 (UK) · Classes 6–10 (India)
Cambridge and IGCSE are trademarks of Cambridge University Press & Assessment. Names and codes are used only to describe curriculum fit; InfoGraphHub is not endorsed by these organisations.
Embed this on your site
Paste this HTML into your page. Keep the credit line: it is required by the CC BY-NC 4.0 license.
Related infographics
For teachers and parents: new InfoGraphHub resources by email
One short email when new free resources go live. For adults (18+) only. No spam, no tracking in emails, unsubscribe anytime.


