Vaccines can produce herd immunity—also called population or community immunity—when a sufficiently large share of a population becomes immune through vaccination (or prior infection), so that chains of transmission tend to die out and even unvaccinated people gain indirect protection; whether that threshold is reached depends on how transmissible the pathogen is, how effective and durable the vaccine is, how many people accept it, and whether the pathogen has animal reservoirs or evolves to escape immunity.
What herd immunity actually means
Herd immunity is not a force field around an individual and it is not the same thing as “the outbreak is over.” It is a population-level effect: when a high proportion of potential hosts are immune, an infected person has fewer opportunities to pass the pathogen to susceptible people, so the average number of new infections caused by one case—the effective reproduction number—falls below one and transmission fades.
The classical illustration is measles. Measles is among the most transmissible viruses known; its basic reproduction number (the average number of people one case would infect in a fully susceptible population) is often estimated around 12–18. The herd-immunity threshold is roughly 1 − 1/R₀. At R₀ = 12 that is about 92%; at R₀ = 18, about 94%. This is why measles elimination generally requires very high two-dose coverage, commonly cited around 95%, and why clusters of undervaccination can sustain outbreaks even in countries with high national averages.
The same arithmetic with a less transmissible pathogen gives a lower bar. For a pathogen with R₀ = 3, the threshold is about 67%; for R₀ = 2, about 50%. Seasonal influenza is a useful counterexample in a different way: R₀ is modest, but the virus changes antigenically and vaccine effectiveness varies by season and strain match, so durable herd immunity to “influenza” as a whole is not achieved—protection is partial and renewed each season. The threshold formula is a simplification: it assumes fairly homogeneous mixing and lasting immunity, and real populations have age structure, contact patterns, and immunity that wanes.
Why “enough people” is doing a lot of work in that sentence
Four variables decide whether vaccination actually delivers herd immunity in practice.
Transmissibility. Higher R₀ means a higher coverage requirement. This is the single biggest reason measles and polio demand near-universal coverage while some other diseases can be controlled at lower levels.
Vaccine performance. A vaccine that prevents disease but not infection contributes less to blocking transmission than one that also reduces infection and onward spread. Many vaccines are “leaky” in this sense: they protect the vaccinated person well but do not create a perfect dead end for the pathogen. Sterilizing immunity—preventing infection entirely—is the strongest kind for herd effects, and it is not universal across vaccines.
Coverage and distribution. National averages hide local gaps. Herd immunity is a property of a connected population, not a country on a map. A city, school, or religious community with low coverage can have sustained transmission even when the surrounding region is well vaccinated. This is why public-health agencies track school-level and district-level coverage, not just national figures.
Durability and evolution. Waning immunity and antigenic change erode population immunity over time. Pathogens with animal reservoirs—influenza A viruses circulate in birds and pigs; SARS-CoV-2 has been suspected of spilling back and forth with other species—can reintroduce transmission even when human immunity is high. A pathogen that evolves immune escape, as SARS-CoV-2 variants did repeatedly, can lower effective population immunity without any change in vaccination rates.
The smallpox proof and the measles warning
The clearest historical demonstration that vaccination can achieve herd immunity is smallpox. Global smallpox eradication, declared by the World Health Organization in 1980, relied on vaccination plus surveillance and containment (ring vaccination). Smallpox had no animal reservoir, a relatively stable virus, and a highly effective vaccine—conditions that made eradication feasible. That combination of biological luck and relentless logistics is the exception, not the template.
Measles shows the other side: a vaccine that is excellent (two doses are roughly 97% effective) still fails to produce herd immunity where coverage falls. The 2019 measles outbreaks in the United States—the largest number of cases since 1992—occurred in underimmunized communities, including Orthodox Jewish neighborhoods in New York, despite high national coverage. Elimination status was lost and later regained. The lesson: the vaccine works, but herd immunity is a coverage achievement, not a product label.
Polio is a further distinction worth drawing. Wild poliovirus type 2 and type 3 have been declared eradicated; type 1 persists in a few countries, and circulating vaccine-derived polioviruses emerge where oral vaccine coverage is low. The vaccine can produce population protection, but only where campaigns reach children consistently.
What vaccination-based herd immunity cannot promise
It does not mean unvaccinated people are safe. Herd immunity reduces risk; it does not eliminate it. Unvaccinated people in a well-immunized population are still at risk from imported cases and local clusters, and they are the first to be affected when coverage slips.
It is not a fixed target you can declare met. The threshold moves with the pathogen and the population. A number that controlled one variant may not control the next; a number that worked in a homogeneous community may fail in a heterogeneous one.
It does not apply neatly to pathogens with animal reservoirs or rapid antigenic change. This is why “herd immunity to the common cold” or “herd immunity to influenza” is not a realistic goal in the way it is for measles or smallpox.
It is not a substitute for other measures during an acute epidemic. When a new pathogen emerges and no vaccine exists yet, or when coverage is still climbing, other interventions do the work until population immunity builds—by vaccination where possible, and sometimes unavoidably through infection, which carries the cost of illness and death.
The confusion worth naming early
Two different claims get conflated. The first is the epidemiological one: high vaccination coverage can reduce transmission enough that outbreaks self-limit. That claim is well supported. The second is a policy claim: that a population should pursue herd immunity deliberately, including through natural infection, to end an epidemic quickly. That is a different and much riskier proposition. “Herd immunity” describes a state; it does not prescribe how to get there, and reaching it through uncontrolled infection means accepting the morbidity and mortality that vaccination is designed to prevent. The distinction matters because the phrase is often used as if the two claims were identical.
Bottom line
Vaccines can generate herd immunity, and for some diseases—smallpox historically, measles and polio aspirationally—they have done so or come close. The condition that matters is whether enough people in a connected population are immune, through a vaccine effective enough and durable enough to interrupt transmission, against a pathogen stable enough for that interruption to last. Where any of those conditions fails, vaccination still protects individuals and reduces disease, but it may not produce the population-level dead end that “herd immunity” implies.