How Vaccination Contributes to Herd Immunity

Vaccination contributes to herd immunity by reducing the number of people a pathogen can infect, which slows and eventually blocks its spread through a community. When enough people are immune, each infected person passes the disease to fewer than one new person on average, and transmission dies out even among those who remain unvaccinated. The threshold of coverage needed varies dramatically by disease, and reaching it in practice is far more complicated than the textbook version suggests.

The Threshold and Why It Differs by Disease

The core idea behind herd immunity is surprisingly straightforward. Every infectious disease has a basic reproduction number, often written as R0, which represents how many people one infected person would infect in a fully susceptible population. Measles, one of the most contagious diseases known, has an R0 somewhere around 12 to 18, meaning a single case can spark a dozen or more new infections. Seasonal influenza sits much lower, typically between 1 and 2. The herd immunity threshold follows directly from this number: it equals 1 minus 1 divided by R0.1Current Biology. Herd immunity A disease with an R0 of 2 needs about half the population immune. A disease with an R0 of 15 needs over 90% immune. That is why measles vaccination campaigns aim for coverage above 95%, while some other diseases require considerably less.

This formula assumes everyone mixes with everyone else equally, which never happens in the real world. People cluster in households, schools, workplaces, and social circles. They travel between cities and countries. These patterns mean the actual coverage needed to stop transmission can be higher or lower than the simple calculation predicts, depending on the structure of a given population. Still, the threshold provides a useful benchmark, and it explains why some diseases are harder to control through vaccination than others. The more contagious the pathogen, the less room there is for unvaccinated pockets.

Sterilizing Immunity Versus Protection from Severe Disease

Not all vaccine-induced immunity works the same way at the population level. Some vaccines produce what researchers call sterilizing immunity, meaning the immune system eliminates the pathogen before it can establish an infection and replicate. A person with sterilizing immunity does not get infected at all, so they cannot pass the pathogen to anyone else. This is the gold standard for building herd immunity, because every vaccinated person effectively becomes a dead end for the virus or bacterium.2PubMed Central. Sterilizing immunity: Understanding COVID-19

Other vaccines are excellent at preventing severe illness and death but do not fully block infection or transmission. COVID-19 vaccines, for instance, dramatically cut hospitalizations and deaths but offered incomplete and relatively short-lived protection against getting infected at all, especially as new variants emerged. When vaccinated people can still carry and transmit a pathogen, the indirect protection they offer to unvaccinated neighbors shrinks. Herd immunity becomes harder to achieve, though the vaccines remain enormously valuable at the individual level.

This distinction matters for understanding why certain diseases, like measles, were nearly eliminated through vaccination while others, like influenza or COVID-19, continue to circulate widely despite substantial vaccine uptake. The measles vaccine produces robust, long-lasting sterilizing immunity in the vast majority of recipients. Influenza vaccines must be reformulated annually and typically reduce the risk of illness by a moderate amount, not enough to interrupt transmission chain-wide. The route of immunization plays a role here too. Most current vaccines are injected, which primarily stimulates systemic immunity in the blood. Mucosal vaccines, delivered through the nose or mouth, aim to generate immune defenses right at the surfaces where respiratory and gut pathogens first enter the body, which could do a better job of blocking infection and onward transmission.3The Innovation. Advocating mucosal immunization: A global need in a viewpoint from China

Why National Coverage Numbers Can Be Misleading

A country might report 92% vaccination coverage for measles and look safely above the danger zone. But herd immunity is a local phenomenon, and averages hide a lot. If unvaccinated individuals are scattered randomly across the population, 92% coverage provides strong protection even in the areas with slightly lower rates. The trouble starts when unvaccinated people cluster together, which they often do. Families that decline vaccines tend to live near other families that decline vaccines, send their children to the same schools, and attend the same social gatherings.

Simulation studies have found that spatial clustering of vaccine exemptions can produce outbreaks far larger than what the same overall exemption rate would cause if the unvaccinated individuals were evenly spread out. One study showed that clustered nonmedical exemptions generated outbreaks with thousands more infections than randomly distributed exemptions at the same overall vaccination rate, and you would need to lower population-wide coverage by more than six additional percentage points to reproduce those large outbreaks in a randomly distributed scenario.4PubMed Central. Spatial Clustering of Vaccine Exemptions on the Risk of a Measles Outbreak In other words, a 94% national average with heavy local clustering can behave like an 88% average without clustering.

Making matters worse, public health agencies typically report vaccination rates at the state or county level, which can mask dangerously low coverage in individual neighborhoods or schools. Research has demonstrated that aggregated reporting data can substantially underestimate outbreak risk when nonvaccination is locally clustered.5PubMed Central. Fine-scale spatial clustering of measles nonvaccination that increases outbreak potential is obscured by aggregated reporting data Another modeling study found that under high clustering, the effective reproduction number can nearly double compared to standard estimates that assume everyone mixes homogeneously, pushing the coverage needed for measles herd immunity from about 93% up to 96%.6PubMed Central. Characterizing the impact of spatial clustering of susceptibility for measles elimination This gap between the theoretical threshold and the real-world threshold is one reason measles outbreaks keep recurring in countries that appear, on paper, to have adequate coverage.

Immunity Does Not Last Forever

Even in a population that reaches the herd immunity threshold, the protection can erode over time as vaccine-induced immunity wanes. How fast this happens depends on the disease and the vaccine. COVID-19 vaccine efficacy dropped by roughly a quarter within six months. Pertussis (whooping cough) vaccine protection fades over four to twelve years. Influenza vaccines need annual updates, partly because the virus changes so fast and partly because immunity from last year’s shot does not hold up well.7PubMed Central. Waning immunity and the future of booster vaccination strategies in global vaccine programs post COVID-19

Booster doses can restore protection, but the effect is often temporary and raises questions about how to allocate limited vaccine supplies globally. Modeling work has suggested that prioritizing primary vaccination in underserved regions prevents a larger share of hospitalizations worldwide than focusing on boosters in already-vaccinated populations.7PubMed Central. Waning immunity and the future of booster vaccination strategies in global vaccine programs post COVID-19 This tension between boosting the already-vaccinated and reaching the unvaccinated played out in real time during the COVID-19 pandemic and remains an active debate for global health planners.

Population movement adds another complication. A study modeling cholera vaccination found that herd immunity duration depended heavily on both the transmissibility of the disease and how much people moved in and out of the vaccinated area. With high migration, vaccine-derived herd immunity lasted less than a year when the pathogen was moderately transmissible, but could extend beyond five years in low-migration settings with lower transmissibility.8PLOS Neglected Tropical Diseases. Prolonging herd immunity to cholera via vaccination: Accounting for human mobility and waning vaccine effects Herd immunity, in other words, is not a permanent state you unlock. It is a dynamic balance that requires ongoing maintenance.

The Indirect Protection That Helps Those Who Cannot Be Vaccinated

One of the most important consequences of herd immunity is that it shields people who cannot be vaccinated themselves. Newborns too young for their first shots, people undergoing chemotherapy, organ transplant recipients on immunosuppressive drugs, and individuals with severe allergies to vaccine components all depend on the immunity of the people around them. When vaccination levels are high enough, the pathogen circulates so rarely that these vulnerable individuals face minimal risk of encountering it. This indirect effect, sometimes called the herd-protective effect, means that the benefit of a vaccination program extends well beyond the people who actually receive the vaccine.9Procedia in Vaccinology. Concepts of herd protection and immunity

One practical expression of this idea is cocooning, a strategy used to protect young infants from pertussis. Because the pertussis vaccine is not given until a baby is two months old, and full protection requires multiple doses over the first year, newborns are exposed during a period when the disease is most dangerous to them. Cocooning involves vaccinating the people closest to the baby, particularly parents and older siblings, to create a buffer zone of immunity around the infant. A case-control study found that vaccinating both parents after delivery reduced pertussis infection in infants by about 77%.10PubMed. Effectiveness of parental cocooning as a vaccination strategy to prevent pertussis infection in infants: A case-control study Modeling work has shown that targeting mothers is the single most effective household intervention because they have the closest contact with the infant, while vaccinating siblings matters because siblings are more likely to bring the infection home from school or daycare in the first place.11Epidemiology. Estimation of Household Transmission Rates of Pertussis and the Effect of Cocooning Vaccination Strategies on Infant Pertussis

Ring Vaccination and Outbreak Containment

When an outbreak is already underway, mass vaccination of an entire population is sometimes impractical or unnecessary. Ring vaccination takes a more surgical approach: identify cases, then vaccinate everyone in their immediate circle of contacts. The idea is to surround each case with immune individuals, cutting off chains of transmission before they can branch out. This strategy was central to the final phase of smallpox eradication, and it worked because health workers could diagnose cases quickly and reach their contacts in time.12PubMed Central. Ring vaccination and smallpox control

Ring vaccination was also deployed during the 2014–2016 West African Ebola epidemic and proved effective under the right conditions. Research on Ebola outbreak modeling found that preemptive mass vaccination reduced the reproduction number for all cases more effectively overall, but ring vaccination offered a targeted option when vaccine supply was limited or when rapid diagnosis was feasible.13Emerging Infectious Diseases. Effectiveness of Ring Vaccination as Control Strategy for Ebola Virus Disease A more recent network modeling study compared ring vaccination with block vaccination, where entire geographic or social “blocks” are vaccinated rather than just known contacts. Block vaccination reduced peak infections and total cases by roughly 20% more than ring vaccination while using resources more efficiently, though both strategies substantially contained outbreaks compared to no intervention.14PLOS Computational Biology. Comparing the effectiveness of ring and block-vaccination strategies on networks

The success of any targeted strategy depends on speed. Ring vaccination only works if cases are identified and their contacts vaccinated before the contacts become infectious themselves. For diseases with long incubation periods and visible symptoms, like smallpox, this was feasible. For diseases where people are contagious before they show symptoms, the window is much tighter.

When the Pathogen Adapts

Widespread vaccination changes the evolutionary landscape for pathogens. When a vaccine targets specific strains or surface proteins, it creates selection pressure favoring variants that the vaccine does not cover well. This phenomenon, called serotype replacement, has been documented clearly with pneumococcal vaccines. After the introduction of a seven-valent pneumococcal conjugate vaccine in England and Wales, the targeted serotypes declined sharply, but other serotypes that were not in the vaccine increased in frequency. Despite this replacement, the overall burden of invasive pneumococcal disease in young children still dropped substantially, and older age groups benefited indirectly as well.15PubMed. Herd immunity and serotype replacement 4 years after seven-valent pneumococcal conjugate vaccination in England and Wales: an observational cohort study

The story continues with higher-valency vaccines that cover more serotypes. Even with these broader vaccines, surveillance data from Australia, North America, and parts of Europe show that non-vaccine serotypes keep emerging, and the replacement landscape has become more diverse and harder to predict. Before widespread vaccination, a single serotype often dominated; now, many different serotypes contribute to disease, with no single one taking over the way serotype 19A did after the first-generation vaccine.16Scientific Reports. Divergent serotype replacement trends and increasing diversity in pneumococcal disease in high income settings reduce the benefit of expanding vaccine valency Interestingly, increasing vaccine valency was also predicted to raise the coverage threshold needed to eliminate vaccine-targeted strains, because broader vaccines reduce the competitive pressure that non-vaccine strains previously faced from vaccine-targeted strains.17PubMed Central. Exploring the role of competition induced by non-vaccine serotypes for herd protection following pneumococcal vaccination

Vaccine-escape mutations are a related concern, particularly for pathogens that mutate rapidly. Modeling work has shown that the speed of vaccination rollout itself can influence the risk of escape variants emerging. Paradoxically, intermediate rollout speeds may maximize the rate of pathogen adaptation, because very slow rollouts do not create enough selection pressure to favor escape mutants while very fast rollouts reduce the pool of infections where mutations can arise. The worst-case scenario is a middle ground where enough people are vaccinated to create strong selection for escape but enough unvaccinated people remain to generate a large pool of viral replication.18PubMed Central. The speed of vaccination rollout and the risk of pathogen adaptation Whether this actually plays out depends heavily on how much vaccinated people, relative to unvaccinated people, contribute to generating escape variants. If that contribution is modest, increasing vaccination consistently reduces escape pressure.19PubMed. The importance of vaccinated individuals to population-level evolution of pathogens

Vaccine Hesitancy and the Fragility of High Coverage

Achieving the vaccination rates needed for herd immunity is as much a social challenge as a scientific one. The World Health Organization has listed vaccine hesitancy as one of the top ten threats to global health, and the consequences are already visible.20Scientific Reports. The herd-immunity threshold must be updated for multi-vaccine strategies and multiple variants Measles, which was declared eliminated in the United States in 2000, has seen repeated outbreaks in recent years as pockets of under-vaccination have grown. Reduced vaccine coverage threatens decades of public health progress, and the pediatric infectious disease community has increasingly focused on rebuilding vaccine confidence.21PubMed Central. Measles Resurgence and the Fragility of Herd Immunity: Implications for Pediatric Infectious Disease Practice

Hesitancy is not a single attitude. It ranges from outright refusal to mild uncertainty about timing or specific vaccines, and it is influenced by trust in institutions, access to accurate information, cultural norms, and personal risk perception. Misinformation campaigns have amplified fears about vaccine safety, and survey research has documented that if herd immunity cannot be achieved due to hesitancy, the door stays open not only for ongoing surges of infection but for the emergence of new variants that could evade existing vaccines.22PubMed Central. Economic Considerations in COVID-19 Vaccine Hesitancy and Refusal: A Survey of the Literature The feedback loop is vicious: low uptake keeps the pathogen circulating, which gives it more chances to evolve, which makes existing vaccines less effective, which further erodes confidence.

The ethical dimension is genuinely contested. Some ethicists argue that because unvaccinated individuals pose a risk to those who cannot protect themselves, a moral obligation exists to contribute to herd immunity, and that coercive policies like vaccine mandates can be justified under the principle that restricting individual freedom is acceptable when it prevents harm to others.23Journal of Medical Ethics. Herd immunity, vaccination and moral obligation Others worry that mandates backfire by deepening distrust. Where the line should fall is a policy debate that science alone cannot resolve, but the epidemiological reality is clear: when coverage slips below the threshold, the most vulnerable members of a community pay the price.

Hybrid Immunity and the Complicated Real World

In practice, population immunity is rarely built from vaccination alone. Many people acquire some immunity through natural infection, and a growing body of evidence shows that the combination of prior infection plus vaccination, often called hybrid immunity, provides stronger and more durable protection than either one alone. A study of health-care workers during the Omicron wave found that fully vaccinated workers who also had prior COVID-19 infection had roughly 90% lower risk of reinfection compared to fully vaccinated workers without prior infection. Among those who had received a booster, hybrid immunity still conferred about 78% additional protection.24PubMed Central. Protection of vaccination versus hybrid immunity against infection with COVID-19 Omicron variants among Health-Care Workers A large Israeli study confirmed that a single vaccine dose after prior infection reinforced protection against reinfection, though this benefit also waned over time.25PubMed Central. Protection and Waning of Natural and Hybrid Immunity to SARS-CoV-2

For herd immunity calculations, this means the picture is messier than “what percentage got vaccinated.” The effective level of population immunity depends on how many people were vaccinated, how many were infected, how many had both, how recently each of those events occurred, and which variant was involved. Traditional models that assume a population is either “susceptible” or “immune” oversimplify this considerably. More realistic models incorporate age-structured contact patterns and recognize that different age groups mix differently, meaning that strategically prioritizing vaccination of the most socially connected groups can achieve herd protection with fewer total doses than a uniform rollout.26PubMed Central. Influence of heterogeneous age-group contact patterns on critical vaccination rates for herd immunity to SARS-CoV-2

Vaccinating Animals to Prevent Human Outbreaks

Herd immunity is not exclusively a human concept. Many of the infectious diseases that threaten people originate in animal populations, and building immunity in those animal reservoirs can reduce the risk of spillover into humans. Rabies vaccination of wild and domestic dogs is one of the oldest examples, but the concept is expanding. Researchers have recently developed ecology-informed vaccination platforms for wild bat populations, aiming to reduce the risk of zoonotic spillover from bats, which are reservoirs for coronaviruses, Nipah virus, and other pathogens with pandemic potential.27PubMed Central. Ecological vaccination: A strategy to prevent zoonotic spillover from bats The approach is designed to be scalable and to support bat conservation rather than working against it, which matters because bats play critical ecological roles in pollination and insect control.

This “One Health” perspective recognizes that human, animal, and environmental health are interconnected. Vaccinating livestock and wildlife does not just protect the animals; it can break transmission chains before a pathogen ever reaches a human host. For diseases like avian influenza, where new pandemic strains periodically emerge from poultry and wild bird populations, vaccination strategies in animals could complement human vaccination programs and reduce the overall burden on both.