Hepatitis B: Symptoms, Testing, Treatment and Prevention

Hepatitis B is a liver infection caused by the hepatitis B virus (HBV). Infection may be acute, meaning short-term, or chronic. Chronic hepatitis B can lead to cirrhosis, liver failure and liver cancer. Many people have no symptoms, so testing is important.

How hepatitis B spreads

HBV spreads when infected blood, semen or certain other body fluids enter another person’s body. Transmission can occur during childbirth, sexual contact, sharing needles or other injection equipment, needlestick injuries, and through equipment contaminated with blood. Sharing razors or toothbrushes can also carry risk. Hepatitis B is not spread through hugging, coughing, sneezing, sharing food or ordinary social contact.

Symptoms

Many people with hepatitis B have no symptoms. When acute infection causes symptoms, they may include:

  • Fatigue
  • Fever
  • Loss of appetite
  • Nausea or vomiting
  • Abdominal pain
  • Joint pain
  • Dark urine or pale stools
  • Yellowing of the skin or eyes (jaundice)

Chronic hepatitis B may remain silent for years, even while liver damage develops.

Testing and diagnosis

Blood tests are used to identify current infection, previous infection and immunity. People diagnosed with chronic hepatitis B may need additional blood tests and liver assessment to measure viral activity and check for liver damage. Regular monitoring is important even when there are no symptoms.

Treatment

There is no specific antiviral treatment for uncomplicated acute hepatitis B; care is generally supportive. Chronic hepatitis B can be treated with antiviral medicines in people who meet treatment criteria. These medicines suppress the virus and can reduce the risk of serious liver complications, although they do not usually cure the infection. Not everyone with chronic hepatitis B needs medication, but ongoing medical follow-up is important.

Vaccination and prevention

Vaccination is the most effective way to prevent hepatitis B. Other precautions include using sterile injection, tattooing and piercing equipment, not sharing needles, razors or toothbrushes, and reducing exposure to infected blood and body fluids.

After a possible exposure, seek medical advice promptly. Depending on vaccination history and the type of exposure, hepatitis B vaccine and sometimes hepatitis B immune globulin (HBIG) may be recommended. Preventive treatment works best when given as soon as possible.

Pregnancy and newborn protection

Hepatitis B can pass from a pregnant person to the baby around the time of birth. Screening during pregnancy allows preventive measures to be planned. Babies born to mothers with hepatitis B should receive appropriate preventive treatment at birth according to local medical guidance.

When to seek urgent medical care

Seek urgent medical assessment for severe or rapidly worsening illness, marked jaundice, persistent vomiting, confusion, unusual drowsiness, significant bleeding or severe abdominal swelling or pain.

Related topics

Sources and further reading

Last reviewed: 4 September 2026

Scroll to Top