Does Herd Immunity Work—and When Does It Fail?

Herd immunity works, and it has been one of the most effective tools in controlling infectious diseases for over a century. It is the reason smallpox no longer exists, why measles was once nearly eliminated in the United States, and why most people today never encounter polio. But it is not a permanent switch that flips on and stays on. Herd immunity requires constant maintenance, and it can fail in specific, predictable ways.

How Herd Immunity Protects People

The concept is straightforward. When enough people in a population are immune to a disease, either through vaccination or prior infection, the pathogen runs out of easy hosts. Each infected person encounters mostly immune individuals who can’t catch or pass on the virus, so transmission chains break apart before they reach vulnerable people.

This matters most for people who can’t protect themselves directly: newborns too young for vaccines, people with immune systems weakened by cancer treatment or organ transplants, and those with severe allergic reactions to vaccine components. These individuals rely on everyone around them being immune. When that surrounding immunity is high enough, the disease simply can’t reach them.

The Threshold Varies by Disease

Every pathogen has a number called the basic reproduction number, which represents how many people one sick person will infect in a fully susceptible population. The more contagious the disease, the higher that number, and the more people need to be immune to stop it from spreading.

The math is simple: you subtract one from the reproduction number, divide by the reproduction number itself, and that gives you the fraction of the population that needs to be immune. In practice, this translates to very different targets for different diseases. Measles, one of the most contagious viruses known, requires 93 to 95% of a population to be immune. Polio needs roughly 75% in countries with good sanitation but as high as 97% in regions with poor hygiene and crowded living conditions. The smallpox eradication campaign initially aimed for 80%, though the final push required even higher coverage in endemic areas before the last case was recorded in 1977.

These aren’t abstract numbers. When U.S. kindergarten vaccination rates for measles dropped to about 92.7% in the 2023-2024 school year, just below the 93-95% threshold, measles outbreaks began resurging. That narrow gap between “almost enough” and “enough” is where herd immunity either holds or collapses.

National Averages Can Hide Local Danger

One of the most important things to understand about herd immunity is that it operates locally, not just nationally. A country can have 92% vaccination coverage and still experience major outbreaks if unvaccinated people are concentrated in the same communities, schools, or neighborhoods.

Research on measles transmission has shown that when vaccine exemptions cluster geographically, the risk of large outbreaks increases dramatically. In simulations, clustered exemptions produced the same outbreak potential as dropping the overall vaccination rate by about 6 percentage points. A community with 92% coverage but clustered exemptions behaved like one with only 86% coverage when exemptions were spread randomly. This means that pockets of low vaccination can undermine herd protection for an entire network, even when the headline vaccination number looks reassuring.

The practical lesson: herd immunity isn’t just about how many people are vaccinated in a country. It’s about whether your specific community, school, or workplace has enough immune people to break transmission chains where you actually live.

Immunity Fades Over Time

Herd immunity isn’t something you achieve once and keep forever. Individual immunity weakens, and when enough people’s protection drops, the population threshold slips below the level needed to block transmission.

The speed of this decline varies by disease. COVID-19 vaccine efficacy dropped by roughly 25% within six months. Protection from the acellular pertussis (whooping cough) vaccine declines by 20 to 40% within 4 to 12 years after the initial childhood series, and in some studies, protection against any pertussis fell below 50% in adolescents. This waning helps explain why whooping cough outbreaks still occur in communities with high childhood vaccination rates.

Influenza presents yet another pattern. The virus mutates so quickly that last year’s immunity, whether from infection or vaccination, often doesn’t match the current circulating strain. This is why flu shots are reformulated every year and why influenza has never been a candidate for lasting herd immunity the way measles or polio are.

Some Pathogens Evolve to Escape Immunity

Even when a population reaches the herd immunity threshold, certain viruses can evolve their way around it. This process, called antigenic escape, happens when random mutations change the parts of the virus that the immune system recognizes. If a new variant is different enough, previously immune people become susceptible again, and the effective level of population immunity drops.

Influenza A is the classic example. The virus circulates as a cloud of related variants until a version emerges that is distant enough from previous strains to overcome existing immunity. This creates the familiar pattern of seasonal epidemics, each driven by a slightly different version of the virus that slips past last season’s defenses. COVID-19 followed a similar trajectory, with new variants repeatedly reducing the protection conferred by earlier infections and vaccinations.

This evolutionary pressure creates a difficult reality: for fast-mutating pathogens, herd immunity is a moving target rather than a fixed finish line. The threshold needed for protection shifts as the virus changes, which is why diseases like influenza require ongoing vaccination campaigns rather than a one-time push.

Where Herd Immunity Has Succeeded

Despite these challenges, the track record for stable, slow-mutating diseases is remarkable. Smallpox was eradicated globally through mass vaccination that built herd immunity country by country, with the last natural case occurring in 1977. Polio has been eliminated from all but a handful of countries using the same principle. Measles was declared eliminated in the United States in 2000, a status maintained for nearly two decades by keeping vaccination rates above the critical threshold.

These successes share common features: the viruses don’t mutate rapidly, the vaccines produce strong and long-lasting immunity, and vaccination programs maintained coverage above the required threshold for years. When any of those conditions weakens, as measles coverage has in recent years, the protection erodes.

Why It Sometimes Appears Not to Work

When people question whether herd immunity works, they’re usually pointing to real failures, but the failures have identifiable causes. COVID-19 never reached a stable herd immunity threshold because the virus mutated faster than population immunity could keep pace, and vaccine-induced protection waned within months. Whooping cough resurges because vaccine protection fades during adolescence, leaving gaps in the immune population. Measles outbreaks return when communities drop below 93% coverage, even briefly.

None of these examples mean the underlying principle is wrong. They mean that herd immunity has specific requirements, and when those requirements aren’t met, protection breaks down in predictable ways. The concept works reliably when three conditions hold: the pathogen doesn’t change its surface proteins quickly, individual immunity lasts long enough to maintain the population threshold, and coverage stays consistently high without geographic gaps. For diseases that meet those conditions, herd immunity has been one of the most powerful public health achievements in human history.