How Do Vaccines Work?
A vaccine does not fight the disease for you. It runs a rehearsal so your own immune system already knows the enemy before it arrives.
The short answer
A vaccine exposes the immune system to a harmless version or fragment of a pathogen, usually a surface protein called an antigen. The adaptive immune system mounts a primary response, producing antibodies and, critically, memory B and T cells that persist afterwards. On real infection the memory cells trigger a secondary response that is far faster and stronger, clearing the pathogen before it causes disease. Vaccines do not contain the live disease and do not alter your DNA.
Transcript
How do vaccines work? Not by fighting the disease for you. A vaccine is a rehearsal.
Your adaptive immune system has an extraordinary property: it learns. The first time it meets a pathogen it is slow — it has to find the right responding cells, multiply them, and produce antibodies. That lag is the window in which you get sick.
A vaccine closes that window in advance. It shows your immune system a harmless piece of the pathogen — a surface protein called an antigen, or instructions for making one. No disease, but the system responds as if it were real, and it leaves behind memory cells.
Now the real pathogen arrives. Instead of starting from nothing, those memory cells recognise it immediately. The response is faster and far stronger, and the infection is cleared before you feel ill.
Two things follow. Boosters exist because a second exposure drives a much stronger memory response. And vaccinate enough of a population and the pathogen runs out of susceptible hosts — that is herd immunity, and it protects people who cannot be vaccinated at all.
Test yourself on Biology
5 questions, easy to hard. No account needed to try it.
What is an antigen?
What do vaccines leave behind that provides long-term protection?
How does the secondary immune response differ from the primary one?
Why do some vaccines require a booster dose?
Herd immunity protects people who cannot be vaccinated. What is the mechanism?
The longer answer
The single most useful sentence about vaccination is that a vaccine does not do the fighting. It teaches. Everything that follows — why boosters exist, why protection can last decades, why vaccinating one person protects another — falls out of that one idea, and most misconceptions about vaccines come from imagining the opposite.
To see why teaching matters, look at what happens without it. Your immune system has two arms. The innate arm is fast and generic: barriers, inflammation, phagocytes that engulf anything that looks wrong. It buys time but does not discriminate between one pathogen and another. The adaptive arm is specific and it learns, and its defining weakness is that it is slow the first time.
That slowness has a concrete cause. Your body carries an enormous repertoire of B and T lymphocytes, each bearing a receptor for a different molecular shape, generated by random genetic recombination before any infection occurs. When a new pathogen appears, the handful of cells that happen to match it must first be located, activated and then clonally expanded — multiplied into a fighting population. That process takes days to well over a week. During that lag the pathogen is replicating freely, and that window is precisely when you feel ill. Symptoms are largely the cost of the immune system arriving late.
A vaccine closes the window before the pathogen ever shows up. It presents the immune system with something the system will treat as foreign but which cannot cause disease: an antigen, typically a distinctive surface protein of the pathogen. The adaptive response runs its full primary programme — recognition, clonal expansion, antibody production — against a target that poses no threat.
What matters most is what remains afterwards. Alongside the short-lived effector cells, the response generates memory B cells and memory T cells, long-lived populations already specific to that antigen. Some become long-lived plasma cells that continue secreting antibody for years from the bone marrow. When the real pathogen arrives, the immune system is not starting from a few rare matching cells. A large, pre-selected population recognises the antigen immediately, and the secondary response is both much faster and much larger — often clearing the infection before symptoms develop at all.
This also explains the vaccine types, which differ only in how the antigen is delivered. Live attenuated vaccines use a weakened form of the pathogen that replicates poorly; they produce strong, durable immunity, which is why measles vaccination can last a lifetime, but they are generally avoided in people with compromised immune systems. Inactivated vaccines use killed pathogen, which is safer but typically weaker, so boosters are more often needed. Subunit and conjugate vaccines use only a purified protein or polysaccharide fragment. Viral vector vaccines use a harmless virus to carry the gene for the antigen. And mRNA vaccines deliver a strand of messenger RNA instructing your own cells to manufacture the antigen briefly, after which the mRNA is degraded. Two points about mRNA are factual and worth stating plainly: it never enters the cell nucleus, and it cannot alter DNA — the cell has no mechanism to write RNA back into the genome.
Boosters follow directly from the memory mechanism. Antibody concentrations naturally decline over months and years. A second exposure re-engages memory cells and drives affinity maturation, a process in germinal centres in which B cells mutate their receptors and the best binders are selected — so the antibodies produced after a booster are not merely more numerous but better at binding the target. Some vaccines need periodic boosting because immunity genuinely wanes, as with tetanus. Influenza is a different case: the annual shot exists because the virus mutates its surface proteins continually, so the vaccine is reformulated to match circulating strains rather than to top up a fading memory.
Adjuvants are worth a line, since they often appear in exam material. An adjuvant is an added substance that amplifies the immune response to the antigen, essentially by raising the local alarm so the adaptive system takes the antigen seriously. They allow smaller doses and improve the durability of response, and they are the reason a purified subunit vaccine can work at all.
Herd immunity is the population-level consequence, and its mechanism is frequently misdescribed. Immunity is not transferred between people. What changes is the arithmetic of transmission. An infectious person must encounter susceptible hosts to pass the pathogen on; once the proportion of immune individuals rises above a threshold, each infection produces on average fewer than one further infection, and chains of transmission die out instead of expanding. The threshold depends on how transmissible the pathogen is — measles, which is extremely contagious, requires something like 95 per cent coverage, while less transmissible diseases require less. This is why vaccination has a genuine collective dimension: it protects newborns too young to be vaccinated, people undergoing chemotherapy, and those for whom a live vaccine is contraindicated. It is also why falling coverage produces outbreaks well before coverage approaches zero.
Finally, the historical evidence is the strongest single argument and the easiest to state. Smallpox, which killed an estimated 300 million people in the twentieth century alone, was declared eradicated in 1980 through vaccination. Polio has been driven to a handful of cases worldwide from hundreds of thousands a year. These are not projections or models; they are outcomes, and they are what the mechanism described above looks like when it is applied at scale.