Lab results in 1–2 days 4,500+ partner labs in the US
Independent guide · Fact-checked against CDC guidance
Which test do I need?
Guide

Hepatitis B: How It Spreads, Blood Test Results, Exposure and the Vaccine

Fact-checked against CDC and HIV.gov guidanceLast checked Nov 9, 2026By the Editorial Desk
Lab technician in blue gloves placing a blood sample tube into a rack
On this page
  1. What is hepatitis B?
  2. How is hepatitis B spread?
  3. What are the symptoms of hepatitis B?
  4. When does hepatitis B become chronic?
  5. How do you read hepatitis B blood test results?
  6. Who should get tested for hepatitis B?
  7. What should you do after a hepatitis B exposure?
  8. Can hepatitis B be cured?
  9. Hepatitis B and HIV
  10. Who should get the hepatitis B vaccine?
  11. Hepatitis B in pregnancy and newborns
  12. How can you prevent hepatitis B?
  13. FAQ

Hepatitis B is a liver virus that spreads through blood, semen and vaginal fluid, which is why it counts as an STD. Most adults who catch it get rid of it within 6 months. Babies are different, about 9 in 10 infected at birth keep it for life. A blood test tells you if you have it, and a vaccine prevents it.

Key facts

  • About 660,000 people in the US have long-term hepatitis B. Roughly half of them have no idea.
  • 95 out of 100 adults clear the virus on their own.
  • The CDC wants every adult tested at least once, even with no risk factor.
  • The hepatitis B test inside many online STD panels checks one marker only. It shows infection, not protection.
  • Not vaccinated and exposed? A shot within 24 hours can still stop the infection.

A lot of people land on this page after a partner tells them they have hepatitis B, or after a routine blood test comes back with a word they don’t understand. If that’s you, the two sections you probably need first are the one on reading your blood test and the one on what to do after an exposure. Everything else is here when you want it.

What is hepatitis B?

Hepatitis B is an infection of the liver caused by the hepatitis B virus, or HBV. Hepatitis simply means the liver is swollen. For most adults, the infection is short. The body fights it off within a few months, and doctors call this acute hepatitis B. When the virus is still there after 6 months, it has become chronic hepatitis B, and that version can stay for life.

It is more common than most people think. National survey data from 2017 to 2020 puts the number of people in the US with chronic hepatitis B at about 660,000, and only about half of them know it. The CDC estimates 14,400 new infections in 2023. Worldwide the WHO counted 240 million people with chronic hepatitis B in 2024. That same year it killed about 1.1 million people, most of them through cirrhosis or liver cancer.

How is hepatitis B spread?

The virus has to get from one person’s blood or body fluid into another person who is not immune. In the US that mostly happens in two ways. One is sex without a condom. The other is sharing needles or other drug equipment. A mother who has hepatitis B can also pass it to her baby at birth, and around the world that is still the biggest source of new chronic cases.

Then there are the less obvious routes. A shared razor, a toothbrush, nail clippers. These can carry a tiny bit of dried blood you would never see, and hepatitis B can survive outside the body for at least 7 days. Tattoos or piercings done with dirty equipment are another way in.

You will not get it from hugging, kissing, coughing, sharing a meal or breastfeeding. Living in the same house as someone with hepatitis B is fine. Just keep razors and toothbrushes separate, and get the vaccine.

What are the symptoms of hepatitis B?

Most adults feel nothing at first. When symptoms do show up, it is usually around 90 days after the exposure, though anything from 2 to 5 months is normal. The person feels tired and loses their appetite. There can be nausea, pain on the upper right side of the belly, dark urine and pale stools. Some people turn yellow in the skin and the whites of the eyes, which is called jaundice, and that is often the moment they go to a doctor.

Chronic hepatitis B is quieter still. People can carry it for 20 or 30 years and feel completely normal while the liver slowly takes damage. That silence is the whole reason the CDC asks every adult to get tested once. We cover other infections that hide like this on the STDs with no symptoms page.

When does hepatitis B become chronic?

Age at infection decides most of it. A newborn’s immune system can’t clear the virus, so it usually stays. An adult’s immune system usually wins.

Age when infected Chance it becomes chronic
Newborn baby About 90%
Child aged 1 to 5 About 30%
Adult About 5%. The other 95% clear the virus.
Chance that hepatitis B becomes chronic, by ageNewborn baby about 90 percent, child aged 1 to 5 about 30 percent, adult about 5 percent. The other 95 percent of adults clear the virus.Hepatitis B: chance it becomes chronicInfected as a newbornAbout 90%Infected at age 1 to 5About 30%Infected as an adultAbout 5%Age decides most of it. A newborn immune systemcannot clear the virus. In an adult, the other95 out of 100 clear it on their own.
CDC figures cited on this page.

For people who do end up with chronic hepatitis B, the CDC says 15 to 25 out of every 100 go on to serious liver disease, meaning cirrhosis, liver failure or liver cancer. That number drops a lot with regular check-ups and treatment. Which is a good reason to find out early rather than late.

How do you read hepatitis B blood test results?

Hepatitis B results confuse almost everyone, because the report shows three markers with names that look nearly the same. The CDC calls this set the triple panel. Each marker answers its own question.

  • HBsAg, the surface antigen. Is the virus in your blood right now?
  • Anti-HBs, the surface antibody. Are you protected, either from the vaccine or from beating an old infection?
  • Anti-HBc, the core antibody. Have you ever been infected, even years ago?

Read them together, like this. Your doctor will confirm what your own result means, the table is only to help you follow the conversation.

HBsAg Anti-HBs Anti-HBc What it usually means
Negative Negative Negative Never infected and not protected. Get the vaccine.
Negative Positive Negative Protected by the vaccine.
Negative Positive Positive Had it in the past, cleared it, now protected.
Positive Negative Positive Infected now. More tests decide if it is acute or chronic.
Negative Negative Positive Unclear. A doctor will order more tests.

One thing we noticed when we compared online STD panels. The hepatitis B part of these panels is often just HBsAg. If it comes back negative, good, you don’t have hepatitis B today. But it says nothing about if you are protected. If you can’t remember getting the vaccine, ask a doctor or clinic for all three markers instead. Our full STD panel page lists what each panel actually includes.

Who should get tested for hepatitis B?

Every adult, at least once. That has been the CDC’s advice since 2023, and it uses the three-marker panel. You also don’t need a reason. The CDC says anyone who asks for a hepatitis B test should get one.

Some people should test more than once, because their risk keeps going. That includes anyone whose partner has hepatitis B, men who have sex with men, people living with HIV or hepatitis C, people who inject drugs, and people born in places where hepatitis B is common, which covers much of Asia and Africa. Pregnant women are tested in every pregnancy.

What should you do after a hepatitis B exposure?

Say a condom broke with a partner who has hepatitis B, and you never had the vaccine. Don’t wait to see if symptoms come. Go to a doctor, urgent care or an emergency room the same day if you can. The CDC’s advice in this situation is two shots. One is the first dose of the vaccine. The other is hepatitis B immune globulin, called HBIG, which gives your body ready-made antibodies while the vaccine kicks in.

Timing matters here. Both work best within 24 hours. After sex, HBIG probably doesn’t help once 14 days have passed, and after a needle-stick the cut-off is about 7 days. If you don’t know whether the other person has hepatitis B, the CDC advises starting the vaccine anyway. Already fully vaccinated? You might need a booster, or nothing at all, and the doctor can tell from your records.

The same exposure can also carry a risk of HIV, chlamydia, gonorrhea and syphilis. The STD testing after unprotected sex guide lays out which test to take on which day.

Can hepatitis B be cured?

Acute hepatitis B in an adult usually clears without any treatment, and after that you are immune for life. Chronic hepatitis B is a different story. It usually can’t be cured, but it can be kept under control for decades. Not everyone with it needs medicine straight away either. A liver specialist looks at liver tests and at how much virus is in the blood, and decides if and when to start antiviral medicine.

Which medicine, and how much, depends on your liver, any pregnancy and the other drugs you take. Only a doctor can work that out with you, and we don’t give treatment advice on this site. If you just got a positive result, what to do after a positive STD test walks through how to find care.

Hepatitis B and HIV

The two viruses travel the same roads, so it is common to have both. If you test positive for one, get tested for the other. Some HIV medicines also keep hepatitis B down. People with both infections should never stop or switch their HIV medicine on their own, because the hepatitis B can flare up badly when that happens. There is more on the HIV page.

Possible HIV exposure in the last 72 hours? No test can find HIV this soon. Go to an ER or urgent care today and ask about PEP, medicine that can prevent HIV if it is started quickly.

There is also hepatitis D. It is a separate virus, but it can only infect someone who already has hepatitis B. Being vaccinated against hepatitis B protects you from both.

Who should get the hepatitis B vaccine?

The vaccine has been around since the 1980s and it has a very good safety record. The CDC recommends it for all babies, any child or teen who missed it, and every adult between 19 and 59. Over 60, it is recommended if you have a risk factor, and anyone else in that age group can still choose to get it.

Depending on the brand, it’s either 2 shots or 3. Once you finish the series you are usually protected for decades. Not sure if you ever had it? An anti-HBs blood test will tell you. Many health departments give the adult vaccine free or for a small fee, and most insurance plans cover it. Our insurance and STD testing page explains what plans usually pay for.

Hepatitis B in pregnancy and newborns

Every pregnant woman is tested for hepatitis B, in every pregnancy. When the mother is positive, the baby needs both the hepatitis B vaccine and HBIG within 12 hours of birth. Done on time, this protects most babies. If the mother’s virus level is high, her doctor may also give her medicine in the last months of pregnancy. The STD testing while pregnant guide covers the other tests done in pregnancy.

The birth dose for babies of negative mothers has been in the news, and the rules changed twice in a few months. For decades the CDC said every newborn should get the first hepatitis B shot within 24 hours of birth. In December 2025 it changed that. For babies whose mothers tested negative, the birth dose became a choice, and if parents skipped it the first shot was to come no earlier than 2 months.

Then on March 16, 2026, a federal court in Massachusetts put that change on hold, together with other changes to the childhood vaccine schedule. The case was brought by the American Academy of Pediatrics. The government appealed part of the ruling and the appeals court heard arguments on October 6, 2026. While the case goes on, the old advice is back, and every newborn should get the shot at birth. This may change again, so if you are expecting, ask your doctor what applies when your baby is born.

How can you prevent hepatitis B?

  • Get vaccinated. If you are not sure you had it, ask for an anti-HBs test first.
  • Use condoms with partners whose hepatitis B status you don’t know. Our guide on testing with a new partner explains when to test together.
  • Keep your own razor, toothbrush and nail clippers, and never share needles.
  • Get tattoos and piercings only at licensed shops.
  • If someone in your home or your partner has hepatitis B, get tested and vaccinated.
Prefer a free test?

Many health departments and community clinics give the hepatitis B blood test and vaccine free or at low cost. Search the CDC GetTested tool or call your local health department.

Find free testing (CDC)

Hepatitis B testing is offered at many clinics. Our STD testing near me guide helps you find one by state and city.

FAQ

Is hepatitis B an STD?

Yes, it can pass during vaginal, anal or oral sex. But sex isn’t the only way. It also spreads through shared needles, other blood contact and from mother to baby, so having hepatitis B doesn’t always mean someone got it from a partner.

Can hepatitis B go away on its own?

In adults, usually yes. About 95 out of 100 clear it within 6 months and are immune after that. Babies and young children are the opposite, the virus usually stays.

How do I know if I am immune to hepatitis B?

Ask for an anti-HBs test. If it is positive, you are protected, whether from the vaccine or an old infection. The HBsAg test in many online panels can’t answer this question.

Do adults need the hepatitis B vaccine?

The CDC recommends it for everyone aged 19 to 59 and for older adults with a risk factor. If you think you had it as a child, a quick blood test can check before you get it again.

Can you have hepatitis B and not know it?

Very easily. Chronic hepatitis B often gives no symptoms for decades, and about half of the people who have it in the US don’t know.

Do newborns still get the hepatitis B shot at birth?

For now, yes. A federal court paused the December 2025 change in March 2026, so the advice to vaccinate every newborn at birth is back. The case is still going, so check with your doctor.

Sources

  1. CDC: Clinical overview of hepatitis B
  2. CDC: STI Treatment Guidelines, hepatitis B postexposure prophylaxis (Table 7)
  3. University of Washington, Hepatitis B Online: HBV epidemiology in the United States
  4. World Health Organization: Hepatitis B fact sheet (2026)
  5. George Washington University: American Academy of Pediatrics v. Kennedy case summary
  6. CIDRAP: The state of US vaccine policy (appeal argued October 6, 2026)
How we checked this page
  • Every medical number on this page comes from the CDC, HIV.gov or another public health source listed under Sources.
  • We last checked the facts on Nov 9, 2026.
  • Written by the Editorial Desk. We are an independent guide, not a clinic, and no doctor reviews our pages. Our editorial policy.

Found something wrong or out of date? Tell us, and see our corrections log.