Explainer
How vaccines work: antigens, immune memory and vaccine types
A vaccine shows the immune system a harmless version of a germ, or the genetic instructions to make part of one, so the body learns to recognise it without going through the disease.[1][2][3] The first response leaves behind memory cells, so a later encounter with the real germ triggers a faster and stronger defence.[4] No vaccine is 100% effective or 100% safe for everyone, and some need several doses or boosters.[5][6][7]
Vaccines teach the immune system to recognise a germ before it meets the real thing. CDC describes them as imitating an infection, so the body learns to defend itself without the dangers of a full-blown infection.[1] This page explains the biology: antigens, antibodies, memory cells and why doses differ. For the main designs in detail, read types of vaccines explained. For how a new vaccine reaches the market, read how vaccines are tested, approved and recommended.
This page explains how vaccines work in general. It is not medical advice: talk to a doctor, nurse or pharmacist about which vaccines are right for you or your child.
How the body fights a germ
Your body’s first defences are barriers like skin and mucus. If a germ gets past them, your immune system attacks it.[8] The immune system spots germs by their antigens. An antigen is a part of the germ that makes the body produce antibodies, and each antibody recognises one antigen.[9]
The first time you meet a new germ, it takes time to build the right antibodies, and you can get sick in the meantime.[10] Afterwards, the body keeps memory cells. If the same germ comes back, the response is much faster and stronger.[4]
WHO describes physical barriers (skin, mucus and cilia) as the first line of defence, with the immune system triggered once a pathogen infects the body.[8] WHO defines the antigen as the pathogen subpart that causes antibody formation, with each antibody specific to one antigen.[9] The primary response is slow, which leaves the person susceptible to illness.[10] It also generates antibody-producing memory cells that persist after the infection clears, so a secondary response to the same pathogen is much faster and more effective.[4] For the cells involved, see how the immune system works.
What a vaccine does
A vaccine gives your immune system a safe preview of a germ. WHO says it might contain a whole weakened germ, just a part of one, or genetic instructions (DNA or RNA) that let your own cells make the part.[2] The vaccine does not give you the disease, but your immune system responds much as it would to the real germ and builds the same kind of memory.[3][4]
CDC calls the antigen the active ingredient in all vaccines.[9] It lists the forms it can take: weakened or killed bacteria or viruses, pieces of their surface or genetic material, or a bacterial toxin treated to make it non-toxic.[11] WHO and FDA both note that newer vaccines deliver genetic instructions instead of the antigen itself, and the body makes a small amount of the target protein.[2] WHO says that whatever the format, the vaccine prompts a response similar to the first reaction to the real pathogen without causing disease.[3] How mRNA vaccines work covers the genetic approach in depth.
Why some vaccines need several doses or boosters
Some vaccines need more than one shot, weeks or months apart, so the body can build long-lasting antibodies and memory.[6] According to CDC, live-attenuated vaccines (which contain a weakened living germ) can give long-lasting protection. Non-live vaccines usually need three or more doses, and their protection fades, so boosters top it up.[12][7] Some vaccines, like the flu vaccine, are updated because the virus keeps changing.[7]
CDC sets out the trade-off. Live-attenuated vaccines can give long-lasting, even lifetime, protection but could cause a life-threatening infection in people with weak or suppressed immune systems. Non-live vaccines are safer for those people, but their protection fades and they usually need three or more doses.[12] CDC says non-live vaccines must be restored with boosters, and that vaccines against mutation-prone viruses, such as the seasonal flu vaccine, are reformulated periodically.[7] For how the flu strains are picked, see how flu vaccines are chosen.
Active and passive immunity
CDC separates two kinds of protection. Active immunity comes from meeting a germ, through infection or vaccination. It takes longer to develop but lasts longer. Passive immunity comes from antibodies made by someone else, such as a mother’s antibodies passed to a full-term baby late in pregnancy. It works at once but fades within weeks or months.[13]
What vaccines can and can’t do
Vaccine protection has limits. CDC says protection is never perfect, and FDA says no vaccine is 100 percent effective or 100 percent safe in every person.[5] Immunity can take weeks to build, and vaccinated people sometimes still get infected. CDC says they are far less likely to die or become seriously ill than someone whose immune system is unprepared.[14] CDC says common reactions include tiredness and discomfort for a day or two, and FDA says serious reactions are extremely rare but can happen.[15] How vaccine safety is monitored explains how rare effects are tracked after approval.
Some people can’t receive certain vaccines. WHO names people whose immune systems are weakened by conditions such as cancer or HIV, and people with severe allergies to vaccine components.[16] WHO says that when many people around them are vaccinated, a germ has a hard time circulating. This is herd immunity, but it does not give full protection to people who cannot be vaccinated.[17] See herd immunity explained.
What vaccination has achieved
WHO certified the eradication of smallpox in 1980, after global vaccination and surveillance efforts.[18] WHO estimates that measles caused about 2.6 million deaths a year before its vaccine arrived in 1963, and that measles vaccination prevented an estimated 60 million deaths between 2000 and 2023.[19] WHO presents both figures as estimates, not counts.[19] For the disease today, see measles explained and polio explained.
Read next
Next in the crash course
Types of vaccines explained: live, inactivated, subunit and mRNA
How the main vaccine types work, from live-attenuated and inactivated shots to subunit, toxoid, viral vector and mRNA vaccines, with the trade-offs of each.
Questions readers ask
How does a vaccine work, in simple terms?
CDC says vaccines imitate an infection to engage the body's natural defences, so the body learns to defend itself without the dangers of a full-blown infection. WHO says the immune system responds much as it would to the real germ, and memory cells then let it respond faster next time.[1][3][4]
What is an antigen?
WHO defines an antigen as the part of a pathogen that causes the body to form antibodies. CDC calls the antigen the active ingredient in all vaccines.[9]
Can a vaccine give you the disease it protects against?
WHO says the weakened version in a vaccine will not cause the disease in the person vaccinated. CDC adds a caveat for live-attenuated vaccines, which could cause a life-threatening infection in someone with a weak or suppressed immune system.[3][12]
Why do some vaccines need more than one dose?
WHO says multiple doses are sometimes needed for long-lived antibodies and memory cells to develop. CDC says non-live vaccines typically need at least three doses, with boosters as protection fades.[6][7]
Can you still get sick after being vaccinated?
Yes. CDC says immunity can take weeks to develop and vaccinated people sometimes get infected, but a vaccinated person is far less likely to die or become seriously ill than someone whose immune system is unprepared.[14]
What are the common side effects?
CDC says the immune response might cause tiredness and discomfort for a day or two. FDA says most side effects are minor and short-lived, like a sore arm or mild fever, and serious reactions are extremely rare but can happen.[15]
Sources
· 19 claims from 3 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
CDC says vaccines work by imitating an infection to engage the body's natural defences, helping the body learn to defend itself without the dangers of a full-blown infection. confirmedas of 2024-08-10
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- Vaccine Development – 101 · US Food and Drug Administration · Primary source (retrieved 2026-11-21)
- [2]
WHO and FDA describe three kinds of vaccine content. Some vaccines contain weakened or inactive parts of an organism, others contain a weakened or reconstituted whole virus or bacterium, and newer vaccines contain the genetic blueprint (DNA or RNA) that directs the body to make the antigen. confirmedas of 2025-02-25
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- Vaccine Development – 101 · US Food and Drug Administration · Primary source (retrieved 2026-11-21)
- [3]
WHO says that whether a vaccine contains the antigen or the blueprint for it, the weakened version will not cause the disease in the person vaccinated but prompts the immune system to respond much as it would to the real pathogen, so the body builds up memory of the pathogen. confirmedas of 2025-02-25
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- [4]
WHO says the primary response also creates antibody-producing memory cells that remain after the pathogen is defeated, so a later exposure to the same pathogen produces a much faster and more effective antibody response. confirmedas of 2025-02-25
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- [5]
CDC says immune protection is never perfect, and FDA says no vaccine is 100 percent effective in preventing disease or 100 percent safe in all individuals. confirmedas of 2024-08-10
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- Vaccine Development – 101 · US Food and Drug Administration · Primary source (retrieved 2026-11-21)
- [6]
WHO says some vaccines need multiple doses given weeks or months apart, which is sometimes needed to allow long-lived antibodies and memory cells to develop. confirmedas of 2025-02-25
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- [7]
CDC says non-live vaccines typically need at least three doses to give protection that fades over time and must be restored with booster doses, and that some vaccines, such as the seasonal flu vaccine, must be updated periodically against mutation-prone viruses. confirmedas of 2024-08-10
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- [8]
WHO says the body's first defences against pathogens are physical barriers such as skin, mucus and cilia, and that when a pathogen does infect the body, the immune system is triggered and the pathogen is attacked and destroyed or overcome. confirmedas of 2025-02-25
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- [9]
WHO defines an antigen as the subpart of a pathogen that causes the formation of antibodies, and says each antibody is trained to recognise one specific antigen. confirmedas of 2025-02-25
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- [10]
WHO says that on first exposure to an antigen the immune system takes time to respond and produce specific antibodies, and the person is susceptible to becoming ill in the meantime. confirmedas of 2025-02-25
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- [11]
CDC lists the forms the antigen in a vaccine can take as weakened or killed bacteria or viruses, bits of their exterior surface or genetic material, or a bacterial toxin treated to make it non-toxic. confirmedas of 2024-08-10
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- [12]
CDC says live-attenuated vaccines can give long-lasting, even lifetime, protection but could cause a life-threatening infection in someone with a weak or suppressed immune system, while non-live vaccines are safer for people with weak immune systems but give protection that fades over time and typically need three or more doses. confirmedas of 2024-08-10
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source · Non-live vaccines list, which also reads 'Protection fades over time.' and 'Safer for people with weak immune systems.' (retrieved 2026-11-21)
- [13]
CDC distinguishes active immunity, from infection or vaccination, which takes longer to develop but lasts longer, from passive immunity, which comes from another person's or animal's antibodies (for example a mother's antibodies passed to a full-term baby) and is immediate but fades within weeks or months. confirmedas of 2024-08-10
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- [14]
CDC says immunity can take weeks to develop after vaccination, that vaccinated people can and sometimes do get infected, and that a vaccinated person is far less likely to die or become seriously ill than someone whose immune system is unprepared. confirmedas of 2024-08-10
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- [15]
CDC says the immune response to a vaccine might cause tiredness and discomfort for a day or two, and FDA says most vaccine side effects are minor and short-lived, such as injection-site soreness or a mild fever, while serious reactions are extremely rare but can happen. confirmedas of 2024-08-10
- Explaining How Vaccines Work · Centers for Disease Control and Prevention · Primary source (retrieved 2026-11-21)
- Vaccine Development – 101 · US Food and Drug Administration · Primary source (retrieved 2026-11-21)
- Vaccine Development – 101 · US Food and Drug Administration · Primary source (retrieved 2026-11-21)
- [16]
WHO says people whose immune systems are weakened by conditions such as cancer or HIV, or who have severe allergies to some vaccine components, may not be able to receive certain vaccines. confirmedas of 2025-02-25
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- [17]
WHO says that when many people in a community are vaccinated the pathogen has a hard time circulating, which protects people who cannot be vaccinated (herd immunity), though herd immunity does not give them full protection. confirmedas of 2025-02-25
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- [18]
WHO certified the eradication of smallpox in 1980, after global vaccination and surveillance efforts. confirmedas of 2025-02-25
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- [19]
WHO says that before the measles vaccine was introduced in 1963, measles caused an estimated 2.6 million deaths a year, and that measles vaccination prevented an estimated 60 million deaths between 2000 and 2023. confirmedas of 2025-02-25
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
- How do vaccines work? · World Health Organization · Primary source (retrieved 2026-11-21)
Revision history (1)
- Page created.
Created Nov 21, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: Aug 16, 2027.
Cite this page
"How vaccines work: antigens, immune memory and vaccine types." ContentLora, updated Nov 21, 2026. https://contentlora.com/explain/how-vaccines-work
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.