Hepatitis B Vaccine (HepB)
The hepatitis B vaccine protects against a virus that attacks the liver. The CDC schedule starts it at birth — the first dose within 24 hours for most babies — followed by doses at 1–2 months and 6–18 months.

Hepatitis B is a virus that infects the liver. In adults most infections clear, but babies infected at birth very often develop lifelong (chronic) infection, which can lead to liver damage, liver failure and liver cancer decades later. Vaccinating at birth protects babies from infection passed on during delivery — including when the mother's infection was never detected.
The vaccine contains only a single protein from the surface of the virus, made in a laboratory. It contains no live virus and cannot cause hepatitis B.
What this vaccine protects against
- Infection of the liver by the hepatitis B virus (HBV).
- Chronic hepatitis B, which can cause cirrhosis (scarring of the liver), liver failure and liver cancer.
- Spread of the virus within households — HBV can survive on surfaces and pass through tiny breaks in the skin, not only through blood or sexual contact.
Who should get it, and when
All medically stable newborns weighing at least 2,000 grams should receive the first dose within 24 hours of birth, when the mother has tested negative for hepatitis B.
Babies born to mothers who have hepatitis B receive the vaccine and hepatitis B immune globulin (HBIG — ready-made antibodies) within 12 hours of birth, in different limbs, followed by the rest of the series; this combination greatly reduces the chance of infection.
Smaller babies (under 2,000 grams) born to hepatitis B-negative mothers start at age 1 month or hospital discharge. The series finishes with a final dose at 6–18 months (no earlier than 24 weeks of age).
Children and teenagers who missed doses should complete a 3-dose series. Teenagers aged 11–15 may use an alternative 2-dose schedule with one specific adult formulation, at least 4 months apart.
What happens at the vaccination visit
- The vaccine is a small injection, given into the thigh muscle in babies and the upper arm in older children.
- At birth it is usually given in the delivery room or nursery, alongside the other routine newborn checks.
- Your baby may cry briefly; comforting, feeding and cuddling help.
- You will be told the date the next dose is due, and the doses are recorded in your child's immunization record.
How to prepare
- Bring your baby's immunization record to every visit.
- Tell the clinician if your baby was born early, weighs under 2,000 grams, or if you have hepatitis B — the timing and extra antibody dose depend on it.
- There is nothing to eat or avoid before the injection.
What to expect afterwards
A sore, slightly swollen spot on the thigh for a day or two, and mild fussiness, are the most common effects.
A mild fever in the first day or two can occur and usually settles on its own.
Serious allergic reactions are extremely rare; the clinic observes for these as with any vaccine.
Who should not get it, or should ask first
- A baby who had a severe allergic reaction to a previous hepatitis B vaccine dose, or who is allergic to yeast (used in making the vaccine), should not receive further doses — tell the clinician.
- Babies who are moderately or severely unwell may be asked to wait until they recover; a mild cold is not a reason to delay.
- Premature babies follow the adjusted timing described above rather than the standard birth dose.
Benefits
- Prevents hepatitis B infection at the age when it is most likely to become lifelong.
- Protects against cirrhosis, liver failure and liver cancer caused by chronic hepatitis B.
- The birth dose also guards against unrecognised infection in the household.
Limits and possible harms
- Mostly mild, short-lived soreness and fussiness; the injection site reaction is the commonest effect.
- As with any vaccine, a severe allergic reaction is possible but extremely rare, and clinics are equipped to treat it.
- The vaccine cannot cause hepatitis B — it contains no live virus.
Watch: related videos
Useful links and tools
More in Childhood Vaccines
- DTaP Vaccine (Diphtheria, Tetanus & Whooping Cough)
- Hib Vaccine (Haemophilus influenzae type b)
- Polio Vaccine (IPV)
- Pneumococcal Vaccine for Children (PCV)
Frequently asked questions
Why does my baby need a hepatitis B vaccine on the first day of life?
Because infection at birth is the route most likely to become lifelong, and mothers can carry hepatitis B without knowing. The CDC schedule recommends the first dose within 24 hours of birth for stable babies weighing at least 2,000 grams whose mothers tested negative, with doses at 1–2 months and 6–18 months completing the series.
What happens if my baby missed the birth dose?
The series simply starts as soon as possible — it does not need to be restarted later, just completed. Your clinician will plan the remaining doses so the final dose falls at 6–18 months and no earlier than 24 weeks of age.
This guide explains how a vaccine is usually given and who it is generally offered to, following the CDC immunization schedules. It is general educational information only — not medical advice, and not a recommendation for you personally. Whether a vaccine is right for you depends on your age, health and history, so talk to your own clinician or pharmacist. If you are ill now, seek medical care promptly rather than waiting for a vaccination appointment.