Hepatitis B: how it spreads, how it is tested and how to prevent it
Hepatitis B is a viral liver infection that can be short-term or lifelong. This article explains how it spreads, how it is tested for, how it is managed and how vaccination prevents it.
Educational information only, not medical advice. Always ask a qualified doctor about your own health. In an emergency call 112 (India) or 911 (US). Read the full disclaimer.
Abstract
Background. Hepatitis B is a viral infection of the liver that can be acute, meaning short-term, or chronic, meaning long-term. The World Health Organization estimates that 240 million people lived with chronic infection in 2024.
Key points. This review explains that it spreads through blood and body fluids, including from mother to baby at birth, and that many people have no symptoms. Blood tests are needed to confirm it, and WHO notes that only about one in four people with the infection knew their status. Chronic infection can be managed with antiviral medicine under specialist care, and the vaccine is the most effective way to prevent it.
Conclusion. Ask your doctor about a blood test and about vaccination, especially if you are in a higher-risk group. Seek care promptly for yellow skin or eyes, and call your local emergency number (112 in India, 911 in the United States) in an emergency.
Keywords: hepatitis B; hepatitis B symptoms; hepatitis B vaccine; hepatitis B test; hepatitis B transmission; liver infection
In simple words
Hepatitis B is an infection of the liver caused by a virus. It can be short-term or it can last for life. A vaccine can stop it.
How you can catch it
- From an infected mother to her baby at birth
- Through blood, for example shared needles or unsterile tattoo and piercing tools
- Through sex without a condom
You do not catch it by hugging, kissing, sharing plates, coughing or sneezing.
What you may notice
Many people feel nothing at all. Some feel very tired, sick or feverish. Some have dark urine or yellow skin and eyes.
How doctors find out
A blood test is needed to be sure. You can have it and not know.
What happens next
A short infection often clears by itself. A long-term infection needs regular liver checks with a specialist. Some people need medicine, and your doctor decides which.
How to protect yourself
- Get the hepatitis B vaccine and finish all the doses
- Make sure newborn babies get their first dose very soon after birth
- Do not share needles, razors or toothbrushes
- Use condoms
When to see a doctor
See a doctor if you think you are at risk, or ask about a blood test. Get help quickly if your skin or eyes turn yellow.
In an emergency, call 112 in India or 911 in the United States.
This is a short summary for general readers. Switch to for the details and references.
On this page
Hepatitis B is a serious but largely preventable liver infection. Because many people have no symptoms, it can go unnoticed for years. This article explains how hepatitis B spreads, how it is detected, how it is managed and how it can be prevented, using the World Health Organization (WHO), the NHS and the US Centers for Disease Control and Prevention (CDC).
1. Introduction
Hepatitis B is a viral infection of the liver. It can be acute, a short-term illness that starts within 6 months of exposure, or chronic, a long-term infection that can last for life [3]. WHO estimates that 240 million people lived with chronic hepatitis B in 2024, with about 0.9 million new infections each year, and that the infection caused about 1.1 million deaths, mostly from cirrhosis (severe liver scarring) and liver cancer [1].
WHO says the hepatitis B vaccine gives almost complete protection against the virus [1].
2. How it spreads
The virus passes through blood, semen and certain other body fluids from an infected person entering another person's body, even in microscopic amounts [3]. WHO says that in areas where the infection is very common, the most usual routes are mother-to-child transmission at birth and spread between young children, especially through open cuts and sores. Other routes include needlestick injuries, tattooing, piercing, and sharing or reusing contaminated needles or sharp objects. Sexual spread is more common among unvaccinated people with several partners [1].
The NHS lists similar routes, including sharing needles, unsterilised equipment for tattoos, piercings or medical and dental procedures, and blood transfusions in countries that do not screen blood [2].
The CDC says hepatitis B is not spread through kissing, sharing utensils, sneezing, coughing, hugging, breastfeeding, or food or water [3].
Age at infection matters. WHO reports that infection in adulthood leads to chronic hepatitis in under 5 in 100 cases, whereas infection in infancy or early childhood leads to chronic infection in about 95 in 100 cases [1]. That is why vaccinating babies at birth is so important.
3. Signs and symptoms
Most newly infected people have no symptoms, or only mild ones [1, 2]. When symptoms occur they may include [1, 2, 3]:
- Tiredness and fever
- Nausea, vomiting and loss of appetite
- Pain in the upper tummy and joint pain
- Dark urine and pale or clay-coloured stools
- Jaundice, which is yellowing of the skin and the whites of the eyes
Acute symptoms often appear about 90 days after exposure [3]. Chronic infection usually causes no symptoms until decades later, and the NHS says an infection lasting longer than 6 months is called chronic [2, 3].
4. Diagnosis and tests
Symptoms alone cannot tell hepatitis B from other types of viral hepatitis, so a laboratory blood test is needed. Blood tests confirm the infection, show whether it is acute or chronic and help assess how serious it is. A physical exam, an ultrasound scan and a test called elastography, which measures liver stiffness, can assess scarring [1].
The CDC recommends that all adults have a blood test for hepatitis B at least once in their lifetime. Testing is advised more often for pregnant women in every pregnancy, for babies born to women with hepatitis B, and for people with ongoing risk of exposure [3]. WHO notes that in 2024 only 27 in 100 people living with hepatitis B knew they had it [1].
5. Treatment and management
WHO says there is no specific treatment for acute hepatitis B. Care focuses on comfort, a suitable diet and fluids [1]. The NHS says acute infection usually clears without specific treatment, and a doctor may refer you to a liver specialist to check how your liver is working [2].
Chronic hepatitis B has no known cure, but it can be managed [2, 3]. WHO explains that oral antiviral medicines can slow cirrhosis, reduce the risk of liver cancer and improve long-term survival, and that most people who start treatment need to continue it for life [1]. Your specialist decides whether you need medicine and which one.
The CDC advises people with a new diagnosis to find a doctor who specialises in infectious, digestive or liver diseases, to have regular liver tests, to limit alcohol and to check with a doctor before taking any prescription, herbal, supplement or over-the-counter product [3]. The NHS also advises rest, plenty of fluids and avoiding sharing razors, toothbrushes or needles [2].
6. Prevention
Vaccination is the best way to prevent hepatitis B [3]. WHO recommends that all babies receive the first dose within 24 hours of birth, followed by two or three more doses at least four weeks apart. Protection lasts at least 20 years and probably for life, and boosters are usually not needed after the full series [1].
The CDC recommends vaccination for all infants, for all unvaccinated children and teenagers under 19, for adults aged 19 to 59 and for older adults at higher risk. Full protection needs the whole series [3].
Other protective steps listed by WHO and the NHS include using condoms, not sharing needles or piercing and tattoo equipment, and vaccination of health-care workers [1, 2].
7. Special groups
Pregnant women can pass the virus to their baby at birth. WHO says preventing this relies on the baby's vaccine, sometimes given together with antiviral medicine, as decided by doctors [1]. The NHS says babies born to infected mothers get extra vaccine doses [2]. People living with HIV, health-care workers, people who inject drugs and partners or family members of an infected person are also named as groups for whom testing and vaccination matter [1, 2].
8. When to see a doctor
The NHS advises seeing a doctor if you think you might have hepatitis B or are at higher risk of getting it [2]. Ask about a blood test and about vaccination, particularly if you have not been vaccinated.
Yellow skin or eyes, very dark urine, clay-coloured stools and severe tiredness can be symptoms of hepatitis B [3], so get medical advice promptly if you notice them. In an emergency, call your local emergency number (112 in India, 911 in the United States).
9. Conclusion
Hepatitis B is a common viral liver infection that often causes no symptoms but can lead to cirrhosis and liver cancer if it becomes chronic. A laboratory blood test is needed to confirm it. Specialist care can slow liver damage in chronic infection, and vaccination remains the most effective protection.
Common questions
Can hepatitis B spread through kissing or sharing food?
The CDC says it is not spread through kissing, sharing utensils, sneezing, coughing, hugging or food or water (3).
Do I need a blood test to know if I have it?
Yes. WHO says symptoms alone cannot tell hepatitis B from other viral hepatitis, so laboratory confirmation is needed (1).
Can hepatitis B be prevented?
Yes. A vaccine is the most effective protection. WHO recommends the first dose for babies within 24 hours of birth (1).
Does everyone with hepatitis B need medicine?
No. Acute infection usually clears without specific treatment, while chronic infection is assessed by a specialist who decides if antiviral medicine is needed (1, 2).
Why are babies at special risk?
WHO reports that infection in infancy or early childhood becomes chronic in about 95 in 100 cases, compared with under 5 in 100 for adults (1).
Important: please read
- Educational information only. This article is general health education. It is not medical advice, diagnosis or treatment. Reading it does not create a doctor–patient relationship with MyDoctor or with anyone else.
- Ask a qualified doctor. Always talk to a qualified, registered doctor about your own health. In India, that means a doctor registered with the National Medical Commission (NMC) or a State Medical Council. In the United States, a licensed physician. Elsewhere, a doctor licensed where you live.
- Never ignore or delay professional advice because of something you read here. Do not start, stop or change any medicine or treatment without your doctor.
- Emergencies: call 112 in India, 911 in the United States, or your local emergency number. Do not wait for an online answer.
- No product is endorsed. MyDoctor does not recommend any brand, product or supplement in this article.
- About the sources. This article summarises, in our own words, information from the public health bodies named under Sources. Health knowledge changes, and this summary may not reflect the latest research or your personal situation.
- Liability. To the extent permitted by law, MyDoctor (MODERNUS HEALTH TECHNOLOGIES PRIVATE LIMITED) accepts no liability for any decision made on the basis of this content.
References
- World Health Organization. Hepatitis B fact sheet [Internet]. 2026 [cited 2026 Oct 19]. Available from: https://www.who.int/news-room/fact-sheets/detail/hepatitis-b
- NHS. Hepatitis B - NHS [Internet]. 2025 [cited 2026 Oct 19]. Available from: https://www.nhs.uk/conditions/hepatitis-b/
- CDC. About Hepatitis B [Internet]. 2025 [cited 2026 Oct 19]. Available from: https://www.cdc.gov/hepatitis-b/about/index.html
Article information
- Article ID
- MDG-ART-GUT-0003
- Version
- 1
- Author and corresponding author
- Dr. Ambed Mishra, PharmD, PhD, Scientist and Chief Medical Officer, MyDoctor. Contact the author's office
- Written
- 2026 Oct 6
- Approved and published
- 2026 Oct 20
- Last reviewed
- 2026 Oct 11
- Next review due
- 2027 Oct 11
- Conflict of interest
- The author leads MyDoctor, which offers health services. No company paid for this article.
- Funding
- None.
Cite this article
Mishra A. Hepatitis B: how it spreads, how it is tested and how to prevent it [Internet]. MyDoctor Health Library. 2026 [updated 2026 Oct 20; cited 2026 Oct 20]. Available from: https://mydoctor.social/app/blog/hepatitis-b-transmission-testing-vaccination-prevention
Mishra A. Hepatitis B: how it spreads, how it is tested and how to prevent it. MyDoctor Health Library. Published October 20, 2026. Updated October 20, 2026. Accessed October 20, 2026. https://mydoctor.social/app/blog/hepatitis-b-transmission-testing-vaccination-prevention
Mishra, A. (2026, October 20). Hepatitis B: how it spreads, how it is tested and how to prevent it. MyDoctor Health Library. https://mydoctor.social/app/blog/hepatitis-b-transmission-testing-vaccination-prevention

Dr. Ambed Mishra, PharmD, PhD
- Clinical Research
- Psychiatry
- Community Medicine
- Clinical Pharmacy
- Electronic Health Records
- Patient Outcomes Research
MyDoctor by MODERN US HEALTH, Austin, Texas. Ahmedabad, Gujarat. Bangalore, India.
Dr. Ambed Mishra is a clinical (patient care) scientist, author and former professor. He is Group CEO and Chief Medical Officer of MODERN US HEALTH (MODERN US GROUP), Austin, Texas, the group behind MyDoctor, and a senior consultant who teaches and trains MD/DO physicians, PharmD and PhD professionals, nurses and other healthcare professionals in patient care in the United States and India.
More about Dr. Ambed Mishra
- More than ten years of full-time leadership in United States healthcare, building patient care services that improve medication adherence and bring doctors, pharmacists and nurses together around each patient.
- Leads the MD and engineering teams behind MyDoctor: clinic and hospital management software, electronic health records and telehealth for hospitals and physician groups in the United States and India.
- Former Assistant Professor and Clinical Preceptor at Rajiv Gandhi University of Health Sciences, Bangalore, and senior researcher with hospitals, universities and patient care groups in India and the United States.
- More than 30 published research and review articles and case reports, and more than 15 international conference presentations in India, Australia, Canada, the United States, Spain and other countries.
- Chief Medical Officer and Global Program Head of a nonprofit mission that helps cover hospital and doctor visit bills for patients in need in India, Nepal, the United States and other countries.
The author's office answers questions about articles, research, speaking and collaboration. It cannot give personal medical advice.