How Do Vaccines Work, Exactly?

Credited for eliminating once-dreaded infectious diseases like smallpox, diphtheria, and polio, vaccines are heralded as one of the greatest public health achievements in modern history.

Vaccines train your immune system to recognize and fight specific disease-causing organisms (known as pathogens), which include viruses and bacteria. They then leave behind memory cells that can instigate a defense should the pathogen return.

By tailoring the body's own immune defenses, vaccines provide protection against many infectious diseases, either blocking them entirely or reducing the severity of their symptoms.

Female Doctor Injecting Syringe On Woman Shoulder In Hospital
Stevica Mrdja / EyeEm / Getty Images

How the Immune System Works

The body's immune system has several lines of defense to help protect against disease and fight off infections. They are broadly classified into two parts:

Innate Immunity

This is the part of the immune system that you are born with. The innate immune system provides the body with its frontline defense against disease and is made of cells that are immediately activated once a pathogen appears. The cells don't recognize specific pathogens; they simply "know" a pathogen shouldn't be there and attack.

The defense system includes white blood cells known as macrophages (macro- meaning "big" and -phage meaning "eater") and dendritic cells (dendri- meaning "tree" due to their branch-like extensions).

Dendritic cells, in particular, are responsible for presenting the pathogen to the immune system to trigger the next stage of the defense.

Adaptive Immunity

Also known as acquired immunity, the adaptive immune system responds to pathogens captured by the frontline defenders. Once presented with the pathogen, the immune system produces disease-specific proteins (called antibodies) that either attack the pathogen or recruit other cells (including B-cell or T-cell lymphocytes) to the body's defense.

Antibodies are "programmed" to recognize the attacker based specific proteins on its surface known as antigens. These antigens serve to distinguish one pathogen type from another.

Once the infection has been controlled, the immune system leaves behind memory B-cells and T-cells to act as sentinels against future attacks. Some of these are long-lasting, while others wane over time and begin to lose their memory.

How Vaccination Works

By naturally exposing the body to everyday pathogens, the body can gradually build a robust defense against a multitude of diseases. Alternatively, a body can be immunized against disease through vaccination.

Vaccination involves the introduction of a substance that the body recognizes as the pathogen, preemptively triggering a disease-specific response. In essence, the vaccine "tricks" the body into thinking it is being attacked, although the substance (vaccine) does not cause disease.

The vaccine may involve a dead or weakened form of the pathogen, a part of the pathogen, or a substance produced by the pathogen.

Newer technologies have enabled the creation of novel vaccines that do not involve any part of the pathogen itself but instead deliver genetic coding to cells, providing them "instructions" on how to build an antigen to spur an immune response. This new technology was used to create the Moderna and Pfizer vaccines used to fight COVID-19.

There are also therapeutic vaccines that are administered after a disease or infection that activates the immune system to help fight the disease or infection. These are mostly designed to fight viral infections, like rabies and hepatitis B, although new therapeutic vaccines have also been developed to fight cancers like prostate cancer, invasive bladder cancer, and oncolytic melanoma.

Types of Vaccines

Although the aims of all vaccination are the same—to trigger an antigen-specific immune response—not all vaccines work in the same way. There are five broad categories of vaccines currently in use and numerous subcategories, each with different antigenic triggers and delivery systems (vectors).

Live Attenuated Vaccines

Live attenuated vaccines use a whole, live virus or bacterium that has been weakened (attenuated) in order to make it harmless to people with healthy immune systems.

Once introduced into the body, the attenuated virus or bacteria will trigger an immune response closest to that of a natural infection. Because of this, live attenuated vaccines tend to be more durable (longer-lasting) than many other types of vaccine.

Live attenuated vaccines can prevent diseases like:

Despite the efficacy of live attenuated vaccines, people with compromised immune systems are generally swayed from their use. These include organ transplant recipients and people with HIV.

Inactivated Vaccines

Inactivated vaccines, also known as whole-killed vaccines, use whole viruses that are dead. Although the virus cannot replicate, the body will still regard it as harmful and launch an antigen-specific response.

Inactivated vaccines are used to prevent the following diseases:

Subunit Vaccines

Subunit vaccines use only a piece of the germ or a bit of protein to spark an immune response. Because they don’t use the whole virus or bacterium, side effects aren’t as common as with live or inactivated vaccines. With that said, multiple doses are typically needed for the vaccine to be effective.

These also include conjugate vaccines in which the antigenic fragment is attached to a sugar molecule called a polysaccharide.

Diseases prevented by subunit vaccines include:

Toxoid Vaccines

Sometimes it’s not the bacterium or virus you need protection against but rather a toxin that the pathogen produces when it is inside the body. Toxoid vaccines use a weakened version of the toxin—called a toxoid—to help the body learn to recognize and fight off these substances before they cause harm.

Toxoid vaccines licensed for use include those that prevent:

mRNA Vaccines

Newer mRNA vaccines involve a single strand molecule called messenger RNA (mRNA) that delivers genetic coding to cells. Within the coding are instructions on how to "build" a disease-specific antigen called a spike protein.

The mRNA is encased in a fatty lipid shell. Once the coding is delivered, the mRNA is destroyed by the cell.

There are two mRNA vaccines approved for use in 2020 to fight COVID-19:

Before the COVID-19, there were no mRNA vaccines licensed for use in humans.

Vaccine Safety

Despite claims and myths to the contrary, vaccine work and with few exceptions are extremely safe. Throughout the development process, there are multiple tests vaccines must pass before they ever make it to your local pharmacy.

Prior to being licensed by the U.S. Food and Drug Administration (FDA), manufacturers undergo stringently monitored phases of clinical research to ascertain whether their vaccine candidate is effective and safe. This typically takes years and involves no less than 15,000 trial participants.

After the vaccine is licensed, the research is reviewed by the Advisory Committee on Immunization Practices (ACIP)—a panel of public health and medical experts coordinated by the Centers for Disease Control and Prevention (CDC)—to determine whether it is appropriate to recommend the vaccine and to which groups.

Even after the vaccine is approved, it will continue to be monitored for safety and efficacy, allowing ACIP to adjust its recommendations as needed. There are three reporting systems used to track adverse vaccine reactions and channel the report to ACIP:

  • Vaccine Adverse Event Reporting System (VAERS)
  • Vaccine Safety Datalink (VSD)
  • Clinical Immunization Safety Assessment (CISA) Network

Herd Immunity

Vaccination may protect you as an individual, but its benefits—and ultimate success—are communal. The more people within a community who are vaccinated against an infectious disease, the fewer who are susceptible to the disease and likely to spread it.

When enough vaccinations are given, the community as a whole can be protected against the disease, even those who have not been infected. This is referred to as herd immunity.

The "tipping point" varies from one infection to the next but, generally speaking, the vast majority of people must be vaccinated in order for herd immunity to develop.

With COVID-19, early studies suggest that around 70% or more of the population will need to be vaccinated in order for herd immunity to develop.

Herd immunity is what led public health officials to eradicate diseases like smallpox that used to kill millions. Even so, herd immunity is not a fixed condition. If adherence to vaccine recommendations are not adhered to, a disease can re-emerge and spread throughout the population yet again.

Such has been seen with measles, a disease declared eliminated in the United States in 2000 but one that is staging a comeback due to declines in vaccination rates among children.

Contributing to the declines are unfounded claims of harms from anti-vaccination proponents ("anti-vaxxers"), who have long asserted that vaccines are not only ineffective (or created by corporate profiteers) but may also cause conditions like autism.

A Word From Verywell

The bulk of clinical evidence has shown that the benefits of vaccination far outweigh any potential risk.

Even so, it is important to advise your doctor if you are pregnant, are immunocompromised, and have had an adverse reaction to a vaccine in the past. In some cases, a vaccine may still be given, but, in others, the vaccine may need to be substituted or avoided.

Vaccines Doctor Discussion Guide

Get our printable guide for your next doctor's appointment to help you ask the right questions.

Doctor Discussion Guide Child
Was this page helpful?
Article Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Embgenbroich M, Burgdorf A. Current concepts of antigen cross-presentation. Front Immunol. 2018 9:1643. doi:10.3389/fimmu.2018.01643

  2. Ratajczak W, Neidzwiedzka-Rystwej P, Tokarz-Deptula B, Deptula W. Immunological memory cells. Cent Eur J Immunol. 2018;43(2):194-203. doi:10.5114/ceji.2018.77390

  3. Centers for Disease Control and Prevention. Understanding how vaccines work. Updated July 2018.

  4. Bakhiet M, Taurin S. SARS-CoV-2: Targeted managements and vaccine development. Cytokine Growth Factor Rev. 2020 Dec 1 [Epub ahead of print]. doi:10.1016/j.cytogfr.2020.11.001

  5. Kudrin A. Overview of cancer vaccines: Considerations for development. Hum Vaccin Immunother. 2012 Sep 1;8(9):1335-53. doi:10.4161/hv.20518

  6. Vaccine.gov. Vaccine types. Updated March 2020.

  7. Wang Z, Schmidt F, Weislbum Y. mRNA vaccine-elicited antibodies to SARS-CoV-2 and circulating variants. bioRxiv. 2021 Jan 19 [Published ahead of print]. doi:10.1101/2021.01.15.426911

  8. Centers for Disease Control and Prevention. Vaccine testing and the approval process. Updated May 1, 2014.

  9. Centers for Disease Control and Prevention. HPV vaccine safety and effectiveness. Updated March 17, 2020.

  10. Randolph HE, Barreiro LB. Herd immunity: Understanding COVID-19. Immunity. 2020 May 19;52(5):737-41. doi:10.1016/j.immuni.2020.04.012

  11. Smith TC. Vaccine rejection and hesitancy: A review and call to actionOpen Forum Infect Dis. 2017;4(3):ofx146. doi:10.1093/ofid/ofx146