med study partner

Articles & Guides › Articles › Infectious Diseases

Vaccines and postexposure prophylaxis

How live, inactivated, subunit, toxoid, polysaccharide, conjugate and mRNA vaccines differ in the immunity they produce, the outline of the childhood and adult schedules and who should not receive live vaccines, and how vaccines and immune globulins are combined after exposure to rabies, tetanus, hepatitis B, varicella, measles and other infections.

Infectious Diseases · 6 min read · Reviewed 2026-11-10

A vaccine teaches the immune system to recognize an organism before it meets the real thing. How it does that, by letting a weakened organism replicate, by presenting killed organisms or purified pieces, or by delivering instructions to make an antigen, decides how strong and lasting the protection is, how many doses are needed and who can safely receive it. After an exposure has already happened, the goal shifts to speed: passive immunity from ready-made antibody protects at once, while active immunity from a vaccine takes weeks but lasts.

Key points

  • Live attenuated vaccines give strong, lasting cellular and antibody immunity but are avoided in severe immunosuppression and pregnancy.
  • Plain polysaccharide vaccines work without T cell help, so they give weak, short-lived protection and fail in children under 2; conjugate vaccines link the sugar to a protein so infants respond.
  • Toxoid vaccines (tetanus, diphtheria) make antibodies that neutralize the toxin, not the bacterium.
  • A mild illness is not a reason to delay vaccination, and egg allergy no longer prevents influenza vaccination.
  • After a rabies exposure, wash the wound and give rabies immune globulin plus vaccine; a nonimmune person exposed to hepatitis B needs immune globulin plus the vaccine series.

Types of vaccines

How each type works

TypeHow it worksImmunityExamples
Live attenuatedA weakened organism replicates and presents antigen on both MHC class I and IIStrong, lasting cellular and antibody immunity, often with mucosal IgA; few dosesMeasles-mumps-rubella (MMR), varicella, rotavirus, yellow fever, intranasal influenza, oral polio
InactivatedWhole killed organismMostly antibody; boosters needed; safe in immunosuppression and pregnancyInjected polio, hepatitis A, rabies, injected influenza
Subunit or recombinant proteinA purified antigenAntibody; needs adjuvant and boostersHepatitis B, HPV, acellular pertussis, recombinant zoster
ToxoidAn inactivated toxinAntibody that neutralizes the toxinTetanus, diphtheria
PolysaccharideCapsule sugars aloneWeak, short-lived, no memory, poor under age 2The 23-valent pneumococcal polysaccharide vaccine
ConjugatePolysaccharide linked to a proteinStrong response with memory that works in infantsHib, pneumococcal conjugate, meningococcal conjugate
mRNA and viral vectorHost cells make the antigen from delivered instructionsStrong antibody and cellular immunityCOVID-19 vaccines

Live vaccines work so well because they behave like a mild infection: the organism multiplies inside cells, so antigens are shown to both CD8 and CD4 T cells, and immunity often lasts for life after one or two doses[1].

Why conjugation matters

Sugars cannot be loaded onto MHC molecules, so a plain polysaccharide stimulates B cells without help from T cells. The response is weak and short, makes little memory and barely works in infants, whose B cells that respond to sugars are immature. Linking the polysaccharide to a carrier protein lets B cells present the protein to helper T cells. That help drives class switching, affinity maturation and memory[2]. This is why the Hib conjugate vaccine nearly eliminated invasive H. influenzae type b disease in young children, the group the plain polysaccharide vaccine could not protect.

Immunization schedules and contraindications

The schedule in outline

In the United States, children receive hepatitis B at birth; DTaP, inactivated polio, Hib, pneumococcal conjugate and oral rotavirus vaccines at 2, 4 and 6 months; MMR and varicella at 12 to 15 months, because maternal antibody blocks live vaccines in younger infants, with second doses at 4 to 6 years; hepatitis A in the second year; and HPV, Tdap and meningococcal conjugate at 11 to 12 years. Influenza vaccine is given every year from 6 months.

Adults receive influenza vaccine yearly, a tetanus-diphtheria booster every 10 years, Tdap in every pregnancy at 27 to 36 weeks so antibodies cross the placenta and protect the newborn from pertussis[3], recombinant zoster vaccine from age 50, and pneumococcal and other vaccines by age and risk.

Who should not receive live vaccines

  • People with severe immunosuppression: severe combined immunodeficiency, HIV with a CD4 count below 200, active blood cancers, chemotherapy, biologic drugs, or high-dose glucocorticoids (for example, 20 mg or more of prednisone daily for two weeks or longer).
  • Pregnant people: MMR and varicella vaccines are given after delivery.

Household contacts of immunosuppressed people can usually be vaccinated, except with oral polio vaccine, which sheds live virus.

Common myths and real contraindications

  • A mild illness, with or without a low fever, is not a reason to delay; moderate or severe illness is.
  • Egg allergy does not prevent influenza vaccination, and MMR is safe in egg allergy.
  • A true anaphylactic reaction to a vaccine or its components is a contraindication to that vaccine.
  • Previous intussusception is a contraindication to rotavirus vaccine.
  • Immune globulin and blood products can blunt live vaccines, so they need spacing.
  • People without a spleen need pneumococcal, Hib and both meningococcal vaccines, ideally two weeks before a planned splenectomy.

Postexposure prophylaxis

Active versus passive

Passive immunization with immune globulin gives immediate but temporary protection. Active immunization with a vaccine takes weeks but lasts. When an exposure has already happened and the disease is severe or the incubation short, both are often given together, at different sites so the antibody does not neutralize the vaccine.

Common exposures

ExposureManagement
Rabies: a bite, or a bat found in the room of a sleeping personWash the wound thoroughly, then give rabies immune globulin infiltrated around the wound plus vaccine on days 0, 3, 7 and 14; people vaccinated before receive vaccine only, on days 0 and 3[4]
Tetanus-prone woundBased on wound type and vaccine history: a dirty wound with the last dose over 5 years ago needs Td or Tdap; unknown history or fewer than 3 doses with a dirty wound needs both vaccine and tetanus immune globulin
Hepatitis B: needlestick, sexual exposure or birth to an HBsAg-positive motherA nonimmune person gets hepatitis B immune globulin plus the vaccine series; newborns get both within 12 hours of birth; a known responder needs nothing[5]
Varicella in a susceptible personHealthy people: vaccine within 5 days. Pregnant, immunosuppressed or newborn: varicella-zoster immune globulin[6]
Measles in a susceptible contactMMR within 72 hours, or immune globulin within 6 days for infants, pregnant people and immunosuppressed contacts
HIV: needlestick or high-risk sexual exposureThree antiretroviral drugs started as soon as possible, within 72 hours, for 28 days
Close contact with meningococcal diseaseCiprofloxacin, rifampin or ceftriaxone
Close contact with pertussisAzithromycin
High-risk contact with influenzaOseltamivir

The logic is the same each time. Antibody alone protects only for weeks; vaccine alone may come too late. Rabies shows this most clearly: the virus travels slowly along nerves to the brain, which gives time for the vaccine to work, while immune globulin around the wound neutralizes virus in the meantime. Once symptoms begin, rabies is almost always fatal, so prophylaxis is never delayed.

Common confusions

  • Polysaccharide versus conjugate pneumococcal vaccines: the plain polysaccharide vaccine makes no memory and fails in infants; the conjugate vaccine works from 2 months.
  • Deferring for a cold versus for immunosuppression: a mild illness is no reason to wait; severe immunosuppression and pregnancy are reasons to avoid live vaccines.
  • Vaccine alone versus vaccine plus immune globulin: vaccine alone suffices for measles within 72 hours and varicella in healthy contacts; rabies and hepatitis B in a nonimmune person need both.
  • Toxoid immunity: it neutralizes the toxin, so it prevents tetanus but not colonization by the bacterium.

References

  1. Pollard AJ, Bijker EM. A guide to vaccinology: from basic principles to new developments. Nat Rev Immunol. 2021;21(2):83-100. doi:10.1038/s41577-020-00479-7 Link ↩
  2. Abbas AK, Lichtman AH, Pillai S. Cellular and Molecular Immunology. 10th ed. Elsevier; 2022. ↩
  3. Liang JL, Tiwari T, Moro P, et al. Prevention of pertussis, tetanus, and diphtheria with vaccines in the United States: recommendations of the Advisory Committee on Immunization Practices (ACIP). MMWR Recomm Rep. 2018;67(2):1-44. doi:10.15585/mmwr.rr6702a1 Link ↩
  4. Rao AK, Briggs D, Moore SM, et al. Use of a modified preexposure prophylaxis vaccination schedule to prevent human rabies: recommendations of the Advisory Committee on Immunization Practices—United States, 2022. MMWR Morb Mortal Wkly Rep. 2022;71(18):619-627. doi:10.15585/mmwr.mm7118a2 Link ↩
  5. Schillie S, Vellozzi C, Reingold A, et al. Prevention of hepatitis B virus infection in the United States: recommendations of the Advisory Committee on Immunization Practices. MMWR Recomm Rep. 2018;67(1):1-31. doi:10.15585/mmwr.rr6701a1 Link ↩
  6. Gershon AA, Breuer J, Cohen JI, et al. Varicella zoster virus infection. Nat Rev Dis Primers. 2015;1:15016. doi:10.1038/nrdp.2015.16 Link ↩

Test yourself in the Question Bank · Listen to the podcasts