← All articles
biologyhow do vaccines workimmune systemimmune memoryAugust 14, 20268 min read

How Do Vaccines Work? A Simple Biology Guide

By the BrainSnail editorial team. How these articles are written and checked, and how to tell us when one is wrong.

Vaccines train your immune system to recognise a particular threat before you face the real infection, giving your body a head start. They do this by safely presenting an antigen, instructions for an antigen, or another controlled form of exposure that can build immune memory.

Training the immune system

Your immune system has fast general defences and slower targeted defences. The targeted response can recognise particular molecules called antigens. When immune cells encounter a new antigen, some cells become activated and multiply. B cells can develop into cells that make antibodies, while certain T cells help coordinate the response or destroy infected cells.

The first response to a new threat takes time. That delay matters because a pathogen may be multiplying while the immune system is still organising its defence. Vaccination gives the adaptive immune system a chance to practise recognition without requiring you to go through the full disease first.

This is the core of how vaccines work. After the training response, some B cells and T cells remain as memory cells. If the same antigen appears later, these cells can help launch a quicker and often stronger response. The immune system is not simply storing a picture of a germ. It is keeping cells that are better prepared to react.

Different vaccines can teach the same basic lesson

Vaccines use several methods to present a target to the immune system. Some use an inactivated pathogen, some use a weakened form that cannot cause normal disease in healthy people, and some use only selected pieces of a pathogen. Other vaccines deliver genetic instructions that let your own cells briefly make a harmless antigen for the immune system to notice.

The delivery method changes, but the learning goal is similar. The immune system encounters a recognisable target, builds a response, and creates memory. That is why how vaccines work is best understood as a question about immune training rather than one single vaccine recipe.

Protection can vary by disease, vaccine, age, health, and time since vaccination. Some immune memories are long lasting, while others benefit from additional doses. A booster is another controlled reminder that can raise the number or quality of ready immune cells and antibodies.

What vaccination changes before an infection arrives

The useful changes happen before the later exposure:

  • •Immune cells learn to recognise a specific antigen.
  • •B cells can produce antibodies that bind to that target.
  • •T cells can support the response or attack infected cells.
  • •Memory cells remain after the first response settles.
  • •A later encounter can trigger a faster targeted response.

When reviewing how vaccines work, it also helps to separate infection from immune response. A pathogen is the organism or virus that can cause disease, while an antigen is a molecular target the immune system can recognise. Antibodies are only one part of the response, and memory does not mean antibodies must stay at the same high level forever. Memory cells can remain ready to expand again after a later exposure. This distinction explains why a simple diagram should show several stages: antigen exposure, activation of specific immune cells, expansion of those cells, a decline after the response, and a smaller group of memory cells that persists.

How it started with cowpox

Before vaccines, people in China, India and the Ottoman Empire practised variolation: deliberately infecting someone with material from a mild smallpox case to produce a milder illness and lasting protection. Lady Mary Wortley Montagu helped popularise it in Britain in the 1720s. It worked, but it was risky, because the person was given real smallpox, could become seriously ill and could spread the disease. In the eighteenth century, country people had noticed that milkmaids who caught cowpox, a mild disease picked up from cows, seemed not to catch smallpox.

In 1796 the English doctor Edward Jenner tested this. He took material from a cowpox sore on the hand of a milkmaid and introduced it into a scratch on the arm of a boy called James Phipps. Later, Jenner exposed the boy to smallpox material, and he did not develop the disease. The procedure became known as vaccination, from the Latin vacca, meaning cow. Jenner had no idea about viruses or immune cells, but the cowpox virus is similar enough to smallpox to train the immune system. Smallpox was declared eradicated worldwide in 1980.

Herd immunity in numbers

Vaccines protect communities as well as individuals, and a simple calculation shows how much coverage that takes. Epidemiologists use the basic reproduction number, R0, the average number of people one case infects in a population with no immunity. If each case infects 15 others, the outbreak shrinks only when fewer than one in 15 contacts can still catch it, so at least 1 minus 1 over 15, about 93 percent, of people need to be immune. Measles is among the most contagious diseases known, with an R0 often estimated between 12 and 18, which is why vaccination targets for it are around 95 percent.

For a disease with an R0 of about 3, the same formula gives a threshold near 67 percent, which is why less contagious infections can be held back with lower coverage. Two complications matter in practice. No vaccine protects every single person, so more people must be vaccinated than the bare threshold suggests. Some people also cannot be vaccinated at all, including very young babies and people whose immune systems are weakened by illness or treatment such as chemotherapy. They depend on the people around them being immune, which is why small drops in coverage can let outbreaks return.

How a vaccine is tested and watched

Before a vaccine is approved, it usually passes through three phases of clinical trials. Phase 1 gives it to a small number of healthy volunteers, often a few dozen, to check safety and find a suitable dose. Phase 2 involves hundreds of people and looks more closely at the immune response and common side effects. Phase 3 involves thousands or tens of thousands, randomly assigned to receive either the vaccine or a comparison such as a placebo, and counts how many in each group later fall ill. The 1954 field trial of Jonas Salk's polio vaccine was a famous early example, involving more than a million American children.

Monitoring continues after approval, because a side effect affecting one person in tens of thousands may not appear even in a large trial. Reporting systems such as the UK's Yellow Card scheme collect concerns from doctors and the public, and researchers check whether any problem occurs more often than chance would predict. The system has worked. A rotavirus vaccine introduced in the United States in 1998 was withdrawn just over a year later, after surveillance linked it to a rare kind of bowel blockage in infants. Later rotavirus vaccines were tested in trials of tens of thousands of babies, designed specifically to detect that risk before approval.

The takeaway

Vaccines prepare adaptive immunity by exposing it to a safe training target so memory cells can form before a dangerous encounter. When the matching threat appears later, the immune system can respond with less delay. The details differ between vaccines, but the steady idea is recognition, practice, memory, and faster response.

Practise this

Questions from The Immune System

Reading about something is not the same as being able to recall it. These are real questions from the The Immune System unit in our Biology track, answers and explanations included. The unit has 120 in total across 20 steps.

  • Guess the numberLevel 2

    1. In roughly which year did Edward Jenner create the first successful vaccine, against smallpox?

    Answer: 1796 AD

    Edward Jenner developed the first vaccine in 1796, using cowpox to protect against smallpox.

  • Multiple choiceLevel 1

    2. What causes an allergic reaction?

    • The immune system overreacting to a normally harmless substancecorrect
    • A total lack of white blood cells
    • Too much stomach acid
    • A vitamin deficiency only

    Allergies happen when the immune system treats a harmless substance, called an allergen, as a threat and overreacts.

  • Odd one outLevel 3

    3. Which of these is NOT a genuine way that antibodies help destroy pathogens?

    • Digesting the pathogen using enzymes in the antibodycorrect
    • Agglutinating pathogens into clumps
    • Neutralising toxins
    • Acting as opsonins to mark pathogens

    Antibodies work by agglutination, neutralisation and opsonisation, but they have no digestive enzymes, so they do not digest pathogens themselves.