Home▸Articles▸Medicine & Biophysics

The SEIR Model with Vaccination: Understanding Epidemic Dynamics

A powerful tool in epidemiology that simulates disease spread and the impact of vaccinations.

mysimulator teamUpdated June 2026≈ 4 min read▶ Open the simulation

What is the SEIR Model?

The SEIR (Susceptible-Exposed-Infectious-Recovered) model is a fundamental compartmental model used in epidemiology to simulate the spread of infectious diseases. It divides the population into four distinct categories: Susceptible individuals who can catch the disease, Exposed individuals who have been infected but are not yet infectious, Infectious individuals who can transmit the disease, and Recovered individuals who have recovered from the infection and are assumed to be immune.

This model is particularly useful for understanding how diseases spread through a population over time and evaluating the effectiveness of various interventions such as vaccination programs.

How Does Vaccination Fit into SEIR?

Vaccination introduces immunity to individuals who have not yet been exposed to the disease. In the context of the SEIR model, vaccinated individuals are typically placed in the Recovered category from the start, as they cannot be infected or transmit the disease. This reduces the number of Susceptible individuals and can significantly alter the dynamics of an epidemic.

The inclusion of vaccination rates allows for a more nuanced understanding of how different levels of immunity within a population affect the spread of the disease.

live demo · related simulation● LIVE

Herd Immunity and Its Threshold

Herd immunity occurs when a significant portion of a population becomes immune to an infectious disease, either through vaccination or previous infections. This reduces the likelihood of transmission from person to person, thereby protecting those who are not immune. The herd-immunity threshold is the proportion of the population that needs to be vaccinated to achieve this level of protection.

Calculating and achieving the herd-immunity threshold is crucial for controlling outbreaks and preventing epidemics.

Real-World Applications

The SEIR model with vaccination has been applied to numerous real-world scenarios, including influenza, measles, and more recently, COVID-19. By simulating different vaccination strategies, public health officials can determine the most effective ways to control disease spread and protect vulnerable populations.

Understanding these models helps in making informed decisions about public health policies and resource allocation during outbreaks.

Frequently asked questions

What is the difference between herd immunity and individual immunity?

Herd immunity refers to the protection of a population as a whole when a significant portion becomes immune, either through vaccination or previous infections. Individual immunity, on the other hand, is the personal protection an individual gains from being vaccinated or having recovered from an infection.

How does the SEIR model account for variations in transmission rates?

The SEIR model includes a parameter known as the transmission rate (β), which represents the average number of contacts between susceptible and infectious individuals that result in new infections. By adjusting this parameter, the model can simulate different levels of disease spread based on factors such as population density or social behavior.

Can the SEIR model predict when an epidemic will end?

While the SEIR model provides valuable insights into how diseases spread and the impact of interventions like vaccination, it cannot precisely predict when an epidemic will end. However, by simulating different scenarios, public health officials can estimate the potential outcomes of various strategies.

How does the SEIR model handle asymptomatic cases?

The traditional SEIR model typically assumes that all individuals either show symptoms or are completely asymptomatic and do not contribute to transmission. However, more advanced versions of the model can incorporate asymptomatic cases by adding additional compartments for these individuals.

Try it live

Everything above runs in your browser — open SEIR Epidemic Model with Vaccination & Herd Immunity (2D) and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open SEIR Epidemic Model with Vaccination & Herd Immunity (2D) simulation

What did you find?

Add reproduction steps (optional)