Hepatitis B is a serious liver infection caused by the hepatitis B virus (HBV). For most people, hepatitis B is short term, also called acute, and lasts less than six months. But for others, the infection becomes chronic, meaning it lasts more than six months. Having chronic hepatitis B increases your risk of developing liver failure, liver cancer or cirrhosis — a condition that permanently scars the liver.
Most adults with hepatitis B recover fully, even if their symptoms are severe. Infants and children are more likely to develop a long-lasting hepatitis B infection. This is known as a chronic infection.
A vaccine can prevent hepatitis B, but there's no cure if you have the condition. If you're infected, taking certain precautions can help prevent spreading the virus to others.
Symptoms of acute hepatitis B range from mild to severe. They usually appear about 1 to 4 months after you've been infected, although you could see them as early as two weeks after you're infected. Some people, usually young children, may not have any symptoms.
Hepatitis B signs and symptoms may include:
- Abdominal pain
- Dark urine
- Joint pain
- Loss of appetite
- Nausea and vomiting
- Weakness and fatigue
- Yellowing of the skin and the whites of the eyes, also called jaundice
When to see a doctor
If you know you've been exposed to hepatitis B, contact your health care provider immediately. A preventive treatment may reduce your risk of infection if you receive the treatment within 24 hours of exposure to the virus.
If you think you have symptoms of hepatitis B, contact your health care provider.
Get the latest health information from Mayo Clinic delivered to your inbox.
Subscribe for free and receive your in-depth guide to
digestive health, plus the latest on health innovations and news. You can unsubscribe at any
time. Click here for an email preview.
ErrorEmail field is required
ErrorInclude a valid email address
To provide you with the most relevant and helpful information, and understand which
information is beneficial, we may combine your email and website usage information with
other information we have about you. If you are a Mayo Clinic patient, this could
include protected health information. If we combine this information with your protected
health information, we will treat all of that information as protected health
information and will only use or disclose that information as set forth in our notice of
privacy practices. You may opt-out of email communications at any time by clicking on
the unsubscribe link in the e-mail.
Thank you for subscribing
Your in-depth digestive health guide will be in your inbox shortly. You will also receive
emails from Mayo Clinic on the latest health news, research, and care.
If you don’t receive our email within 5 minutes, check your SPAM folder, then contact us
Sorry something went wrong with your subscription
Please, try again in a couple of minutes
Hepatitis B infection is caused by the hepatitis B virus (HBV). The virus is passed from person to person through blood, semen or other body fluids. It does not spread by sneezing or coughing.
Common ways that HBV can spread are:
- Sexual contact. You may get hepatitis B if you have unprotected sex with someone who is infected. The virus can pass to you if the person's blood, saliva, semen or vaginal secretions enter your body.
- Sharing of needles. HBV easily spreads through needles and syringes contaminated with infected blood. Sharing IV drug paraphernalia puts you at high risk of hepatitis B.
- Accidental needle sticks. Hepatitis B is a concern for health care workers and anyone else who comes in contact with human blood.
- Mother to child. Pregnant women infected with HBV can pass the virus to their babies during childbirth. However, the newborn can be vaccinated to avoid getting infected in almost all cases. Talk to your provider about being tested for hepatitis B if you are pregnant or want to become pregnant.
Acute vs. chronic hepatitis B
Hepatitis B infection may be short-lived, also called acute. Or it might last a long time, also known as chronic.
- Acute hepatitis B infection lasts less than six months. Your immune system likely can clear acute hepatitis B from your body, and you should recover completely within a few months. Most people who get hepatitis B as adults have an acute infection, but it can lead to chronic infection.
- Chronic hepatitis B infection lasts six months or longer. It lingers because your immune system can't fight off the infection. Chronic hepatitis B infection may last a lifetime, possibly leading to serious illnesses such as cirrhosis and liver cancer. Some people with chronic hepatitis B may have no symptoms at all. Some may have ongoing fatigue and mild symptoms of acute hepatitis.
The younger you are when you get hepatitis B — particularly newborns or children younger than 5 — the higher your risk of the infection becoming chronic. Chronic infection may go undetected for decades until a person becomes seriously ill from liver disease.
Hepatitis B spreads through contact with blood, semen or other body fluids from an infected person. Your risk of hepatitis B infection increases if you:
- Have unprotected sex with multiple sex partners or with someone who's infected with HBV
- Share needles during IV drug use
- Are a man who has sex with other men
- Live with someone who has a chronic HBV infection
- Are an infant born to an infected mother
- Have a job that exposes you to human blood
- Travel to regions with high infection rates of HBV, such as Asia, the Pacific Islands, Africa and Eastern Europe
Having a chronic HBV infection can lead to serious complications, such as:
- Scarring of the liver (cirrhosis). The inflammation associated with a hepatitis B infection can lead to extensive liver scarring (cirrhosis), which may impair the liver's ability to function.
- Liver cancer. People with chronic hepatitis B infection have an increased risk of liver cancer.
- Liver failure. Acute liver failure is a condition in which the vital functions of the liver shut down. When that occurs, a liver transplant is necessary to stay alive.
- Reactivation of the hepatitis B virus. People with chronic hepatitis B who have suppression of their immune system are prone to reactivation of the hepatitis B virus. This can lead to significant liver damage or even liver failure. This includes people on immunosuppressive medications, such as high-dose corticosteroids or chemotherapy. Before taking these medications, you should be tested for hepatitis B. If you test positive for hepatitis B, you should be seen by a liver specialist (hepatologist) before starting these therapies.
- Other conditions. People with chronic hepatitis B may develop kidney disease or inflammation of blood vessels.
The hepatitis B vaccine is typically given as two injections separated by a month or three or four injections over six months, depending on which vaccine is given. You can't get hepatitis B from the vaccine. The hepatitis B vaccine is recommended by the United States Advisory Committee on Immunization Practices for adults 19 to 59 years of age who do not have a contraindication to the vaccine.
The hepatitis B vaccine is also strongly recommended for:
- Children and adolescents not vaccinated at birth
- Those who work or live in a center for people who are developmentally disabled
- People who live with someone who has hepatitis B
- Health care workers, emergency workers and other people who come into contact with blood
- Anyone who has a sexually transmitted infection, including HIV
- Men who have sex with men
- People who have multiple sexual partners
- Sexual partners of someone who has hepatitis B
- People who inject illegal drugs or share needles and syringes
- People with chronic liver disease
- People with end-stage kidney disease
- Travelers planning to go to an area of the world with a high hepatitis B infection rate
Take precautions to avoid HBV
Other ways to reduce your risk of HBV include:
- Know the HBV status of any sexual partner. Don't engage in unprotected sex unless you're absolutely certain your partner isn't infected with HBV or any other sexually transmitted infection.
- Use a new latex or polyurethane condom every time you have sex if you don't know the health status of your partner. Remember that although condoms can reduce your risk of contracting HBV, they don't eliminate the risk.
- Don't use illegal drugs. If you use illicit drugs, get help to stop. If you can't stop, use a sterile needle each time you inject illicit drugs. Never share needles.
- Be cautious about body piercing and tattooing. If you get a piercing or tattoo, look for a reputable shop. Ask about how the equipment is cleaned. Make sure the employees use sterile needles. If you can't get answers, look for another shop.
- Ask about the hepatitis B vaccine before you travel. If you're traveling to a region where hepatitis B is common, ask your provider about the hepatitis B vaccine in advance. It's usually given in a series of three injections over a six-month period.
Sept. 24, 2022