Quick answer

Hepatitis B spreads through blood, sex, and birth — not through casual contact like hugging, sharing meals, or coughing. Unprotected sex, shared needles, and birth from an infected mother are the main routes. A surface antigen test (HBsAg) confirms active infection.

How is hepatitis B transmitted?

Hepatitis B is spread when infected blood, semen, or other body fluids enter your body. The most common routes are unprotected vaginal, anal, or oral sex; sharing needles, syringes, or drug-preparation equipment; and mother-to-baby transmission during birth. Needlesticks, shared razors or toothbrushes, and unsterile tattoo or piercing equipment can also transmit it. The virus is hardy and can survive outside the body for days, which is why shared personal items carry risk.

Can you get hepatitis B from kissing or sharing food?

No. Hepatitis B is not spread through casual contact. You can't catch it from hugging, handshakes, kissing, coughing, sneezing, sharing food or drinks, or using the same toilet. The virus needs blood or certain body fluids to travel, so everyday contact with an infected person carries essentially no risk. This distinction matters: people with hepatitis B can live, work, and share meals with others without passing the virus along.

Is hepatitis B sexually transmitted?

Yes — hepatitis B is one of the most common sexually transmitted infections in the world. The virus is present in semen and vaginal fluid, so unprotected vaginal, anal, and oral sex can all transmit it. The risk is higher with multiple partners or a history of other STIs. Condoms reduce the risk substantially, and the hepatitis B vaccine offers the strongest protection of all — it's recommended for everyone who hasn't been vaccinated.

Can a mother pass hepatitis B to her baby?

Yes, and this is one of the most important transmission routes. Babies born to infected mothers can acquire HBV during delivery, and about 90% of infected infants develop chronic hepatitis B — far higher than the 2-6% seen in adults. That's why pregnant people are screened for hepatitis B and why newborns receive the vaccine at birth. With proper prevention, transmission to babies is almost entirely preventable.

How do I know if I've been exposed?

You can't rely on symptoms — many people have none. The surface antigen (HBsAg) becomes detectable about 3-6 weeks after exposure, so testing before that window can miss an infection. If you think you've been exposed, talk to a clinician about testing timing and whether post-exposure prophylaxis makes sense. Knowing your status early opens the door to treatment that protects your liver and prevents spread to others.

Order this test online

Direct-access laboratory testing — no appointment or doctor visit required. Results delivered as secure PDFs.

We may earn a commission when you order through partner links. Educational content only — never a substitute for professional medical advice.

Related guides

Frequently asked questions

Can you get hepatitis B from a toilet seat?

No. Hepatitis B requires blood or certain body fluids to spread and is not transmitted through toilet seats, doorknobs, or casual contact of any kind.

Is hepatitis B more contagious than HIV?

Hepatitis B is considered more infectious than HIV because the virus survives longer outside the body and is present in higher concentrations in blood.