Yes, hepatitis B is contagious, but only through blood and body fluids

Hepatitis B spreads when blood or body fluids from an infected person enter another person's bloodstream or mucous membranes. You cannot catch it from sharing food, shaking hands, hugging, coughing, sneezing, or sitting next to someone who has it. The virus dies quickly outside the body and cannot survive in saliva or stomach acid.

The actual routes of transmission are specific: unprotected sex, sharing needles, needlestick injuries, and from mother to baby during birth. Blood-to-blood contact is the core requirement. This is why healthcare workers and people who inject drugs face higher risk, while the general population's risk from casual contact is essentially zero.

Key Takeaways

  • Hepatitis B spreads only through blood and certain body fluids, not through air, saliva, food, or casual contact.
  • The main transmission routes are unprotected sexual contact, sharing injection equipment, needlestick injuries, and mother-to-child transmission during birth.
  • A person with hepatitis B can transmit the virus even if they have no symptoms and feel completely healthy.
  • The hepatitis B vaccine prevents infection in over 95 percent of people who receive the full series, making it one of the most effective vaccines available.

How the virus actually enters the body

Hepatitis B virus needs direct access to the bloodstream. A cut or sore in the mouth is not enough by itself—the virus requires a pathway into blood vessels. This is why you cannot catch hepatitis B from kissing, even if both people have mouth sores, because the virus cannot cross intact mucous membranes or survive in saliva.

The exception is sexual transmission. During unprotected sex, small tears in genital tissue create openings where the virus can enter. This is why hepatitis B is classified as a sexually transmitted infection, and why condoms reduce but do not completely eliminate risk—they lower the chance of contact with infected fluids.

Needlestick injuries and shared injection equipment are the highest-risk routes because they bypass all barriers and place virus directly into blood. A single exposure through a needlestick carries roughly a 30 percent transmission risk if the source person has hepatitis B.

Who is most likely to transmit hepatitis B

Anyone with hepatitis B infection can transmit it, regardless of whether they have symptoms. Many people carry the virus for years without knowing it—they feel fine, show no signs of illness, and have normal energy levels. This is called chronic hepatitis B, and it affects roughly 850,000 people in the United States.

The amount of virus in the blood varies from person to person. Someone with a very high viral load (measured in copies per milliliter of blood) is more contagious than someone with a low load. However, even people with low viral loads can transmit the infection through the routes described above.

People taking antiviral medications for hepatitis B have much lower viral loads, which reduces transmission risk. Someone whose viral load is undetectable (below the threshold a standard test can measure) has virtually no risk of transmitting the virus through sexual contact, though other routes like needlestick injury still carry some risk.

Mother-to-child transmission during pregnancy and birth

A pregnant person with hepatitis B can pass the virus to their baby during delivery. The risk is highest if the mother has acute hepatitis B (newly infected) or a very high viral load. Babies born to mothers with hepatitis B should receive the hepatitis B vaccine and a dose of hepatitis B immunoglobulin (a preparation of antibodies) within 12 hours of birth.

This combination is highly effective at preventing infection. When given promptly, it stops infection in roughly 95 percent of exposed newborns. Without this treatment, a baby born to a mother with hepatitis B has a 40 to 90 percent chance of developing chronic infection, depending on the mother's viral load.

Transmission during pregnancy itself (across the placenta) is rare. The main risk occurs during labor and delivery when the baby comes into contact with maternal blood and fluids.

Hepatitis B in healthcare and household settings

Healthcare workers face occupational risk from needlestick injuries and exposure to blood. A needlestick from a patient with hepatitis B carries roughly a 30 percent transmission risk without post-exposure treatment. Healthcare facilities have protocols for post-exposure prophylaxis (PEP), which involves hepatitis B immunoglobulin and sometimes antiviral medication, and must be started within 24 hours of exposure.

In households, hepatitis B does not spread through shared bathrooms, kitchens, or bedding. However, if someone in the household has open cuts or sores, and another person has cuts or sores, and blood from both comes into contact, transmission is theoretically possible. In practice, this is extremely rare in household settings because people naturally avoid direct contact with each other's blood.

Sharing a toothbrush or razor with someone who has hepatitis B carries a small risk if either person has bleeding gums or cuts in the mouth, because these items can cause microscopic bleeding. For this reason, people with hepatitis B are advised to keep personal hygiene items separate.

What does not transmit hepatitis B

Hepatitis B cannot spread through coughing, sneezing, or breathing the same air. It cannot spread through food or water, even if the food was prepared by someone with hepatitis B. It cannot spread through insect bites, swimming pools, or sharing clothes, towels, or bedding.

You cannot catch hepatitis B from hugging, holding hands, or sitting next to someone who has it. Breastfeeding does not transmit hepatitis B, even if the mother has the infection, because the virus cannot survive in stomach acid and does not cross the intestinal lining. A baby can safely breastfeed from a mother with hepatitis B.

The virus is fragile outside the body. Once blood dries, the virus becomes inactive within hours. Hepatitis B is not transmitted through saliva, tears, sweat, or urine.

Vaccination as the main prevention strategy

The hepatitis B vaccine is the most effective way to prevent infection. The standard series consists of two or three doses, depending on the vaccine formulation and the person's age. Most people who complete the series develop immunity that lasts for decades or a lifetime.

The vaccine is recommended for all infants, starting at birth. It is also recommended for unvaccinated adults under age 60, and for adults over 60 with risk factors such as diabetes, HIV infection, or chronic liver disease. Healthcare workers and people with multiple sexual partners should be vaccinated regardless of age.

After vaccination, a blood test can confirm whether immunity developed. If someone is vaccinated and exposed to hepatitis B through a needlestick or sexual contact, post-exposure prophylaxis can still prevent infection if started quickly.

Frequently Asked Questions

Can you catch hepatitis B from sharing a drink or food with someone who has it?

No. Hepatitis B virus cannot survive in saliva or stomach acid, and it does not cross the intestinal lining. You would need the virus to enter your bloodstream directly, which does not happen through eating or drinking.

Is hepatitis B contagious if the person has no symptoms?

Yes. Many people with hepatitis B have no symptoms at all, especially if they have chronic infection. They can still transmit the virus through blood and body fluids. This is why people with risk factors should be tested, even if they feel fine.

What should I do if I am exposed to hepatitis B through a needlestick or sexual contact?

Seek medical attention immediately. Post-exposure prophylaxis (PEP) is most effective when started within 24 hours and can prevent infection. Your doctor will assess your risk based on the source person's status and may recommend hepatitis B immunoglobulin, vaccination, or antiviral medication.

Can someone with an undetectable viral load transmit hepatitis B?

Through sexual contact, the risk is virtually zero. Through needlestick injury or other blood-to-blood exposure, a small risk remains because the virus is still present in the blood, just at very low levels. Antiviral treatment dramatically reduces transmission risk across all routes.

Is it safe to have a baby if I have hepatitis B?

Yes. With proper treatment at birth—hepatitis B vaccine and immunoglobulin given within 12 hours—the baby has roughly a 95 percent chance of avoiding infection. Prenatal care and monitoring of your viral load help ensure the best outcome for your baby.