My Easy Science

Guide

How Do Vaccines Protect Us?

Long before the word vaccine existed, people noticed that surviving some infections often made a person less likely to catch the same disease again. Their body had learned the disease and remembered it. A vaccine uses that idea by giving the immune system a controlled way to recognise a germ without exposing the person to the full disease. Instead of making you ill, it shows your immune system a controlled piece of a germ, or a weakened version of it, so your body can learn to recognise it and build a defence. Later, if the real germ arrives, your immune system is already trained and can respond quickly, often before you feel ill at all.

A nurse giving a vaccine to a smiling child in a bright clinic room, natural light
A vaccine is a training session for your immune system.

The short answer: A vaccine trains your immune system with a controlled piece of a germ, or a weakened germ, so your body learns it and remembers it. White blood cells make antibodies and memory cells. If the real germ arrives later, the trained immune system can respond faster and stronger, though protection is not complete in every person.

A training session, not the real illness

Your immune system defends you by learning to recognise germs. When it meets a new germ for the first time, it takes days to build a defence, and in that time the germ can make you ill. A vaccine gives the immune system a safe preview. It contains a harmless piece of the germ, a weakened or inactivated germ, or instructions that teach your own cells to make a harmless piece of it. These vaccine ingredients are designed to train the immune system without causing the full disease in most people, although live weakened vaccines can rarely cause complications in certain people.

This learning is the whole point of a vaccine. The immune system studies the harmless preview and builds the tools it needs to fight the real thing. It is a little like a fire drill: you practise when there is no fire, so that you know what to do when a real one starts. The drill is not the danger, and the vaccine is not the disease.

Antibodies and memory cells

When the immune system meets a vaccine, B cells can make antibodies, while other immune cells also help build protection. Each antibody can attach to a particular target, called an antigen, on a germ, rather like a key fitting a lock. When antibodies attach to a germ, they can block it from infecting cells or help other parts of the immune system recognise and remove it.

After the training, most of the new defender cells die off, but a small number stay behind as memory cells. They remember the germ, sometimes for years. If the same germ enters the body later, memory cells can recognise it and help produce a faster, stronger immune response than the first time. That faster response can prevent illness or reduce the chance of severe disease, but protection is not complete in every person.

First meeting slow, second meeting fastFirst meetingVaccine shows a harmlesspiece, the body learnsand makes memory cells→Second meetingThe real germ arrives,memory cells respondfast and strongLearning once means the body is ready next time
First meeting slow, second meeting fast. Learning once means the body is ready next time.

The main kinds of vaccines

Not all vaccines are made the same way. Some use a live germ that has been weakened in a laboratory, so it can teach the immune system but cannot cause the disease in most people. The measles, mumps and rubella vaccine uses live, weakened viruses. Others use a germ that has been killed, or inactivated, so it cannot grow at all. Many injected flu vaccines use inactivated virus, while some other flu vaccines use different methods, including a live weakened virus given as a nasal spray.

A third kind uses only a piece of the germ, such as a single protein from its surface. The immune system learns to recognise that piece, and that is enough. Some COVID-19 vaccines use a newer method that gives cells short instructions, called mRNA, to make a harmless piece of the virus for a short time. The instructions are then broken down and cleared away. Different kinds suit different germs, and scientists choose the kind that teaches the immune system best.

Why protection takes time

A vaccine does not protect you on the day you receive it. The immune system needs time to respond after vaccination, and the time needed for useful protection varies by vaccine. That is why a person can still catch an illness shortly after vaccination, before the immune response has had time to develop.

Some vaccines also need more than one dose. For vaccines that need more than one dose, later doses build on the earlier immune response and can improve or extend protection. Booster doses can strengthen or broaden protection, including when immunity has weakened over time. Vaccine schedules are based on studies of immune responses, protection, safety and the needs of different age groups.

Protecting other people too

Vaccines protect the person who receives them, but they also protect people around them. When enough people are protected against infection, some germs have fewer chances to spread through a community. This is often called herd immunity, or community protection.

That matters most for people who cannot be vaccinated themselves, such as newborn babies, people with certain illnesses, and people whose immune systems are weak. Their risk can be lower when vaccination reduces the spread of the disease in the wider community. The World Health Organization estimates that vaccines prevent millions of deaths every year around the world. A vaccine is a carefully tested way to build protection, and vaccines together are among the most important tools used to prevent infectious diseases.

Last reviewed 25 November 2026 by Masood Ur Rehman, PharmD.