Skip to main content

Vaccination and prevention

Hepatitis B vaccination: who needs it, doses and side effects in the UK

The hepatitis B vaccine protects against a liver infection spread through blood and body fluids. In the UK it is given to all babies in the 6-in-1 vaccine and recommended for adults at higher risk. This guide covers who should have it, how many doses are needed, how well it works, possible side effects and how to get vaccinated.

Last checked: 2026-10-10

Key facts

At a glance.

  • Routine for babies

    The NHS says all babies are offered the hepatitis B vaccine as part of the 6-in-1 vaccine, with doses at 8, 12 and 16 weeks old.

  • Adults at higher risk

    The NHS recommends it for people at higher risk, including people who inject drugs, close contacts of someone with hepatitis B, healthcare workers, people with long-term liver disease or kidney failure and some travellers.

  • At least 3 doses

    The NHS says you need at least 3 doses for the best protection, usually with a month between each, although a faster schedule exists for people who need quicker protection.

  • Works very well

    The NHS says research shows 90% of adults and over 98% of babies have good protection after vaccination, which could last 20 to 30 years.

  • Cannot give you hepatitis B

    UK hepatitis B vaccines contain a killed version of the virus, so there is no risk of catching the infection from the vaccine.

  • Few reasons to avoid it

    Most people can have it, including during pregnancy and breastfeeding. The only reason given is a serious allergic reaction to a previous dose or an ingredient.

Why the vaccine matters

Hepatitis B is a liver infection caused by a virus. The NHS says it is spread through blood and body fluids, for example through unprotected sex, injecting drugs with shared needles, being injured by a used needle, tattoos or piercings with unsterilised equipment, and from a mother to her baby at birth. The chance of catching it in the UK is low, and donated blood in the UK has been tested for hepatitis B since 1972.

Most people who get hepatitis B have no symptoms or mild symptoms, and the infection usually lasts for 1 to 3 months. The NHS says that if it lasts longer than 6 months it is called chronic hepatitis B, for which there is no known cure; it is usually treated with antivirals and regular check-ups with a liver specialist. The NHS vaccine page adds that hepatitis B can be very serious, can make the liver suddenly stop working or cause gradual damage over time, and can increase the chance of liver cancer.

The UK Health Security Agency, in its Green Book chapter for professionals, notes that jaundice only occurs in about 10% of younger children and 30 to 50% of adults with a new infection, and that acute infection may occasionally lead to fulminant hepatic necrosis, which is often fatal. Vaccination is the most effective way to prevent infection, which is why the NHS describes it as the best way to prevent hepatitis B.

Who is offered the vaccine

All babies in the UK are offered protection as part of the NHS vaccination schedule. The NHS says babies have 3 doses of the 6-in-1 vaccine at 8, 12 and 16 weeks old. If a mother has hepatitis B, the baby has a much higher chance of infection, so babies are given extra doses: within 24 hours of birth, at 4 weeks old, and at 12 months for those born on or before 30 June 2024. Babies born on or after 1 July 2024 are given a new fourth dose of the 6-in-1 vaccine at 18 months old instead, which gives 6 doses in total.

For adults, the NHS says vaccination is recommended for people at higher risk of catching, or getting seriously ill from, hepatitis B. The groups are listed in the table below.

People for whom the NHS recommends the hepatitis B vaccine
GroupExamples given by the NHS
Through behaviour or relationshipsPeople who inject drugs or live with someone who does; people who change sexual partners often; gay, bisexual and other men who have sex with men; sex workers; close family members or sexual partners of someone with hepatitis B
Through medical conditionsPeople who have regular blood transfusions or blood products and their carers; people with long-term liver disease or kidney failure
Through work or settingHealthcare workers and some laboratory staff; prison staff and prisoners; people who work with, or live in accommodation for, people with severe learning disabilities
Through travel or familyPeople travelling to parts of the world where hepatitis B is more common; families adopting or fostering children from such areas
After exposurePeople exposed to the blood or body fluids of an infected person, for example after a bite or used needle injury

How the vaccine is given and how many doses you need

The NHS says the vaccine is given as an injection into the upper arm or thigh. You need at least 3 doses for the best protection, usually with a gap of a month between each. If faster protection is needed, for example before travel, 3 doses can be given within 21 days with a fourth dose 12 months after the first. Some people, such as babies exposed to hepatitis B before birth, need more than 3 doses.

Booster doses are not usually needed. The NHS says you usually only need one if you are a healthcare worker and blood tests show 3 doses have not given enough protection, you have kidney failure and a blood test shows your protection has reduced, or you are exposed to hepatitis B. The Green Book summary also records that the single booster dose for healthy adults who have completed a primary course was removed in an April 2024 update.

You can have the hepatitis B vaccine at the same time as other vaccines, including the rotavirus and MMR vaccines. Several brands are used in the UK, including vaccines that protect against hepatitis B only and combined hepatitis A and B vaccines for people also at risk of hepatitis A.

Side effects and who should not have it

The NHS says most side effects are mild and do not last long. They can include swelling or pain where the injection was given, feeling tired, sleepy or irritable, headache, feeling or being sick, diarrhoea, stomach ache and a high temperature. More serious side effects such as a severe allergic reaction are very rare, and the person who vaccinates you is trained to treat these immediately.

Most people who need the vaccine can have it, including when pregnant or breastfeeding. The NHS says the only reason you cannot have it is if you have had a serious allergic reaction (anaphylaxis) to a previous dose or to an ingredient. If you have a high temperature or feel too unwell for normal activities, wait until you feel better.

How well it works and what it does not cover

The NHS says research shows 90% of adults and over 98% of babies have good protection from hepatitis B after being vaccinated, and that protection against long-term infection could last 20 to 30 years. The vaccine can work less well in some people, for example those with kidney failure, so extra doses are sometimes needed.

The NHS stresses that there is still a chance of getting hepatitis B after vaccination, so it remains important to reduce your risk, for example by using condoms during sex and not sharing toothbrushes or needles. The vaccine also only protects against hepatitis B, not hepatitis A or C; combined hepatitis A and B products exist for people at risk of both.

How to get vaccinated, on the NHS or privately

The route depends on why you need it. According to the NHS, babies are usually contacted by the GP surgery; people at risk through work should speak to their employer; people at risk through sexual activity can visit a sexual health clinic; and other higher-risk people, for example someone with a household contact with hepatitis B or a condition that raises their risk, can speak to their GP surgery.

Travel is different. The NHS says people travelling to higher-risk parts of the world can get the vaccine from travel vaccination clinics, pharmacies with travel health services and some GP surgeries, and will usually have to pay. The TravelHealthPro website can be used to check the risks for a destination. A private vaccination is therefore a normal route for travel, whereas for people in NHS risk groups it is normally provided without charge.

Frequently asked

Questions people ask.

Quick, plain-English answers to the questions we hear most.

  • Is the hepatitis B vaccine part of the childhood schedule?

    Yes. The NHS says all babies are offered it as part of the 6-in-1 vaccine at 8, 12 and 16 weeks old, with an additional dose at 18 months for babies born on or after 1 July 2024.

  • Do adults need the hepatitis B vaccine?

    Only if they are at higher risk. The NHS says adults only need it if, for example, they are travelling to a high-risk country, have liver or kidney disease or HIV, inject drugs, have multiple sexual partners, or their job puts them at risk.

  • How many doses do I need?

    At least 3. The NHS says there is usually a month between doses, although for faster protection 3 doses can be given within 21 days with a fourth 12 months after the first.

  • Do I need a booster?

    Usually not. The NHS says boosters are generally needed only by some healthcare workers whose blood tests show insufficient protection, people with kidney failure whose protection has reduced, and people exposed to hepatitis B.

  • Can the vaccine give me hepatitis B?

    No. The NHS says the vaccines used in the UK contain a killed version of the virus, so there is no risk of getting the infection from the vaccine.

  • Is it safe in pregnancy?

    The NHS says most people who need the vaccine can have it, including if pregnant or breastfeeding. If you are pregnant and have hepatitis B, your baby is given extra vaccine doses to reduce the risk of infection.

  • What are the common side effects?

    The NHS lists swelling or pain at the injection site, tiredness, sleepiness or irritability, headache, feeling or being sick, diarrhoea, stomach ache and a high temperature. Severe allergic reactions are very rare.

  • How long does protection last?

    The NHS says protection against long-term infection could last for as long as 20 to 30 years after being vaccinated. The vaccine can work less well in some people, such as those with kidney failure.

  • Can I have it with other vaccines?

    Yes. The NHS says you can have the hepatitis B vaccine at the same time as other vaccines, including the rotavirus and MMR vaccines.

  • Where can I get the vaccine for travel?

    The NHS says travel vaccination clinics, pharmacies with travel health services and some GP surgeries offer it, and you will usually have to pay. Check the risks of your destination on the TravelHealthPro website.

Where this comes from

Sources and checking.

This guide is for information, not medical advice.

Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.

Published 2026-10-10, next review 2027-10-10.