How Vaccines Work: Antigens, Antibodies, Immune Memory, and Vaccine Types

Vaccines prepare the immune system to respond to a specific threat without requiring a person to experience the full danger of the disease first. They do this by presenting an antigen—or instructions for making an antigen—in a controlled form the immune system can study.

The result is immune memory. If the real pathogen appears later, trained B cells, T cells, and antibodies can respond faster and more effectively than an unprepared immune system.

Important: This article explains general immunology, not whether a particular vaccine is appropriate for an individual. Vaccine recommendations depend on age, health, pregnancy, prior doses, exposure, travel, and current public-health guidance.

What is an antigen?

An antigen is a substance the immune system can recognize and respond to. In a vaccine, an antigen may be:

  • a weakened form of a pathogen;
  • an inactivated pathogen;
  • a protein or sugar from the pathogen;
  • a harmless version of a bacterial toxin;
  • genetic instructions that tell cells to make a temporary antigen.

The antigen is not the same thing as the complete disease. It provides enough information for the immune system to build a targeted response.

The immune response, step by step

1. Early recognition

The innate immune system responds first. Cells recognize patterns that do not belong in the body and release signals that recruit other immune cells. This early inflammation helps explain why soreness, fatigue, or a mild fever can occur after some vaccinations.

2. Antigen presentation

Specialized cells take up antigen and display fragments to lymphocytes. This connects the rapid innate response with the more specific adaptive immune response.

3. B-cell and antibody response

B cells that recognize the antigen can multiply and mature into plasma cells that produce antibodies. Antibodies bind to specific targets. Depending on the infection, they may block a pathogen from entering cells, neutralize a toxin, or mark the target for other immune defenses.

An antibody response is specific. Antibodies trained against one pathogen generally do not protect against an unrelated infection.

4. T-cell response

Helper T cells coordinate parts of the immune response and support B-cell development. Cytotoxic T cells can recognize and destroy infected cells. The balance between antibody and cellular responses differs by vaccine and disease.

5. Immune memory

After the immediate response declines, memory B and T cells remain. If the antigen appears again, these cells can expand quickly. That faster secondary response is a major reason vaccination can prevent severe disease even when it does not prevent every infection.

Why protection is not immediate

Adaptive immunity takes time to develop. Protection may be incomplete during the days or weeks after a dose. For multi-dose vaccines, the expected response may not develop until later doses are given at the correct intervals.

A person exposed shortly before or soon after vaccination could still become ill because infection began before protection developed. This does not by itself mean the vaccine caused the infection or failed to work as intended.

Active and passive immunity

Active immunity develops when a person’s own immune system responds to an antigen. Infection and vaccination can both create active immunity. It takes time but can produce long-lasting memory.

Passive immunity comes from antibodies made by another person or animal. Examples include antibodies transferred during pregnancy and immune globulin administered after selected exposures. Passive protection can act immediately but fades over weeks or months because the recipient did not make the antibodies.

Some high-risk exposures require both active and passive protection. Rabies post-exposure care, for example, can include vaccine plus immune globulin for a person who was not previously vaccinated. That decision requires urgent professional assessment.

The major vaccine approaches

Live attenuated vaccines

These use a weakened organism capable of limited replication. They can produce an immune response resembling natural infection and may provide durable protection with relatively few doses. Because the organism is live, these vaccines may be contraindicated in some people with severe immune suppression and in some pregnancy situations.

Examples include measles-mumps-rubella and varicella vaccines.

Inactivated vaccines

These use an organism that has been killed and cannot replicate. They cannot cause the target infection, but the response may be less durable than the response to a live vaccine. Multiple doses or boosters may be needed.

Protein, subunit, recombinant, and polysaccharide vaccines

These use selected components rather than the whole organism. A focused antigen can produce protection while avoiding exposure to the complete pathogen. Some include an adjuvant to improve the immune response.

Pure polysaccharide antigens can be difficult for young children to recognize effectively. Conjugate vaccines attach the sugar to a carrier protein, creating a stronger response and immune memory.

Toxoid vaccines

Some bacteria cause disease primarily through toxins. A toxoid vaccine uses a toxin treated so it cannot cause harm while retaining the features needed to train antibodies. Tetanus and diphtheria vaccines use this approach.

Viral-vector vaccines

A modified carrier virus delivers genetic instructions for an antigen. The carrier is engineered so it cannot cause the target disease. Cells make the antigen, and the immune system responds.

mRNA vaccines

mRNA vaccines deliver temporary messenger RNA instructions. Cells use the instructions to make an antigen, then break the mRNA down. The mRNA does not need to enter the cell nucleus, where DNA is stored, and it does not alter a person’s genes.

What adjuvants and other ingredients do

Some vaccines contain an adjuvant, an ingredient that strengthens or shapes the immune response. This can reduce the amount of antigen needed or improve protection in people who might otherwise respond less strongly.

Other ingredients may stabilize the vaccine, control acidity, prevent contamination during manufacturing, or keep the product effective during storage. The exact formulation is listed in product information and reviewed as part of regulatory evaluation.

Why some vaccines need several doses

Several biological reasons can lead to a multi-dose schedule:

  • The first dose primes the immune system, while later doses build a stronger response.
  • A second dose gives another opportunity to respond to people who did not respond adequately to the first.
  • Antibody levels can decline over time and require a booster.
  • Very young immune systems or maternal antibodies can affect the response.
  • The target pathogen can change, making an updated formulation useful.

The schedule is not interchangeable with an arbitrary number of doses. Age, minimum intervals, product, medical indications, and prior valid doses all matter.

Breakthrough infection does not equal zero benefit

No vaccine produces identical protection in everyone. Age, immune function, medications, genetics, nutrition, time since vaccination, and pathogen evolution can affect the response. A vaccinated person may still become infected.

Effectiveness also has more than one endpoint. A vaccine may offer different levels of protection against infection, symptomatic disease, severe disease, hospitalization, complications, or death. Evaluation should match the endpoint the vaccine is intended to improve.

Natural infection and vaccination are not equivalent choices

Infection can create immune memory, but it requires exposure to the uncontrolled pathogen and its potential complications. The severity cannot be predicted reliably in advance, and even mild or asymptomatic infections can have delayed effects. Vaccination is designed to train immunity without exposing a person to the full disease risk.

Continue the cluster

Sources

*Last reviewed: November 19, 2026.*