biology🟢 Beginner⏱ 6 min read

How Do Vaccines Work? The Complete Biology Behind Immunity

vaccinesimmunityimmune systemantibodiesT cellsB cellsmRNA
How Do Vaccines Work? The Complete Biology Behind Immunity

Vaccines work by introducing your immune system to a pathogen (or part of it) in a way that causes no disease, but triggers a full immune response. Your immune system learns to recognise the threat and creates memory cells — so when you encounter the real pathogen later, your body destroys it before it can make you sick.

Vaccines have eliminated smallpox, nearly eradicated polio, and saved hundreds of millions of lives. But most people have only a vague sense of how they actually work.

The answer is both elegant and fascinating — it comes down to the way your immune system learns.

Your Immune System: A Two-Part Defence

Your immune system has two main branches:

1. The Innate Immune System (Fast, General)

This is your first line of defence. It responds within minutes to hours. It doesn't care what pathogen you're dealing with — it just detects "foreign" and attacks.

It triggers inflammation, fever, and sends signals to recruit more specialised defenders. It buys time.

2. The Adaptive Immune System (Slow, Precise, Has Memory)

This takes days to weeks to mount, but it's extraordinarily precise. It can:

  • Recognise a specific pathogen among millions
  • Create antibodies targeted to that exact threat
  • Build memory — so the next time it sees that same threat, it responds in hours, not weeks

This memory is exactly what vaccines exploit.

The Key Players: Antibodies, B Cells, T Cells

Antigens are molecular "flags" on the surface of pathogens. Your immune system reads these flags to identify threats.

B cells (B lymphocytes) are white blood cells that recognise specific antigens and produce antibodies — Y-shaped proteins that bind to and neutralise pathogens.

T cells come in two types:

  • Helper T cells (CD4+): Coordinate the immune response, help activate B cells
  • Cytotoxic T cells (CD8+, "killer T cells"): Directly kill infected cells

Memory cells: After the infection clears, a subset of B and T cells become long-lived memory cells, ready to respond instantly to the same pathogen again.

Memory cells can persist for decades — sometimes a lifetime. This is why a single childhood chickenpox infection provides lifelong immunity in most people. Vaccines create memory cells without the disease.

How Vaccines Trigger the Adaptive Immune Response

📬

Enjoyed this explainer?

Get our Weekly Science Brief delivered free.

Vaccines introduce antigens (or instructions to make them) in a form that is safe — not capable of causing disease — but recognisable to your immune system.

Here's the sequence:

  1. Vaccine administered → antigens enter your body
  2. Dendritic cells (the sentinels of your immune system) engulf the antigens and carry them to lymph nodes
  3. In lymph nodes, dendritic cells present the antigen to T helper cells
  4. T helper cells activate B cells specific to that antigen
  5. B cells multiply and differentiate into:
    • Plasma cells: produce antibodies immediately
    • Memory B cells: persist long-term
  6. Cytotoxic T cells also form and become memory T cells

After 2–4 weeks, the response subsides, but millions of memory cells remain, circulating in your blood and tissues.

Next time you encounter the real pathogen: memory cells recognise it within hours and mount a response so fast the pathogen is destroyed before you develop symptoms.

Types of Vaccines: Different Ways to Present the Antigen

There are several vaccine technologies — all achieve the same goal (presenting antigens) through different methods:

Vaccine Type How It Works Examples
Live-attenuated Weakened live pathogen; replicates but doesn't cause disease MMR (measles, mumps, rubella), varicella (chickenpox)
Inactivated Killed pathogen; cannot replicate Flu shot (inactivated), polio (IPV), hepatitis A
Subunit / protein Only a piece of the pathogen (e.g., surface protein) Hepatitis B, HPV (Gardasil), whooping cough (part of DTaP)
Viral vector Another harmless virus delivers instructions for a pathogen protein AstraZeneca/Covishield COVID vaccine
mRNA Lipid nanoparticle delivers mRNA instructions; your cells make the antigen protein briefly, then stop Pfizer-BioNTech and Moderna COVID vaccines

How mRNA Vaccines Work (Specifically)

mRNA vaccines (like Pfizer and Moderna COVID vaccines) were novel, which generated confusion. Here's precisely what happens:

  1. The vaccine contains mRNA — a short-lived genetic message — encoding instructions to make the spike protein of SARS-CoV-2
  2. mRNA enters muscle cells via lipid nanoparticles (fat bubbles)
  3. Your ribosomes (protein factories) read the mRNA and make spike proteins
  4. These spike proteins appear on the surface of your cells — your immune system sees them as foreign antigens
  5. Your adaptive immune system mounts a full response, creates antibodies, and builds memory cells
  6. The mRNA degrades within days — it never enters the nucleus, never touches your DNA

mRNA cannot become DNA and cannot alter your genome. Your cells lack the enzyme (reverse transcriptase) needed to do this. The mRNA is also extremely fragile — it degrades within days. This is why COVID mRNA vaccines required cold storage: to keep the mRNA intact until injection.

What About Adjuvants?

Adjuvants are ingredients added to some vaccines to make them more effective. They stimulate the innate immune system, creating a stronger inflammatory signal that gets the adaptive immune system's attention faster.

Common adjuvants: aluminium salts (alum), AS04, MF59. These have been used safely for decades.

Why Do Some Vaccines Require Multiple Doses?

Different reasons depending on the vaccine:

  • Prime-boost regimens: The first dose "primes" the immune response; subsequent doses dramatically amplify it
  • Different serotypes: Some pathogens come in multiple strains (e.g., polio has 3 types — the vaccine targets all three, given in series)
  • Waning immunity: Some vaccines (like flu) need annual boosting because the virus mutates rapidly or immunity wanes

Herd Immunity: Protecting Those Who Can't Be Vaccinated

When enough people in a community are immune (through vaccination or prior infection), a pathogen can't find enough susceptible hosts to spread. It dies out before reaching vulnerable people — newborns, immunocompromised individuals, elderly.

This is herd immunity (or community immunity). The threshold varies:

  • Measles: ~95% immunity needed (highly contagious)
  • Polio: ~80–85%
  • COVID-19 (original strain): estimated 70–85%

Vaccines don't just protect individuals — they protect the whole community.

Summary

Step What Happens
1. Vaccine introduced Antigens enter your body safely
2. Innate response Inflammation, dendritic cells activated
3. Adaptive response B cells, T cells recognise antigen, proliferate
4. Antibodies produced Bind and neutralise pathogen
5. Memory cells formed Persist for years or decades
6. Future exposure Memory response activated in hours, not weeks

Vaccines are one of the most elegant applications of our understanding of biology. They don't fight infection — they teach your body to fight infection itself.

About the Author

Siddharth Purohit — Founder & Chief Editor, ThinkerLog

Siddharth is an engineer and science writer researching the intersection of physics, astronomy, chemistry, biology, space exploration, and human progress. He founded ThinkerLog to break down complex scientific phenomena and engineering marvels into lucid, beautifully structured deep dives. Every explainer is personally reviewed and fact-checked against primary sources — peer-reviewed papers (Nature, Science, Physical Review), space agency archives (ISRO, NASA, ESA), and verified experimental data — before publication.

📬

Enjoyed this explainer?

Get our Weekly Science Brief delivered free.

Share this post:

ThinkerLog publishes independent science explainers based on peer-reviewed research. We do not accept paid placements. All claims link to verified scientific sources.