How Do You Code Hepatitis B in ICD-10-CM?
Code hepatitis B from the provider’s documented diagnosis, supported by lab findings and clinical indicators, by deciding three things: (1) acute or chronic, (2) with or without a delta agent (hepatitis D virus), and (3) with or without hepatic coma (for acute cases). Acute hepatitis B is reported with B16.0, B16.1, B16.2, or B16.9. Chronic hepatitis B is reported with B18.0 (with delta-agent) or B18.1 (without delta-agent). An acute delta superinfection in an established hepatitis B carrier is reported with B17.0. If the record is unclear or conflicting, send a provider query.
Why Hepatitis B Coding Takes Careful Record Review
Coders should not assume all hepatitis B infections are classified alike. Hepatitis B virus (HBV) coding requires reviewing the medical record to determine:
- The type and stage of infection
- Whether a hepatitis D (delta) virus infection is present
- Whether hepatic coma is present
These distinctions affect which ICD-10-CM code best reflects the patient’s diagnosis. Related infection rules are covered in our ICD-10-CM infection coding guidelines.
Acute vs. Chronic Hepatitis B
The first decision is whether the infection is acute or chronic.
Table 1: Acute vs. Chronic Hepatitis B
| Feature | Acute hepatitis B | Chronic hepatitis B |
|---|---|---|
| Definition | Newly acquired, short-term infection within the first six months after exposure to HBV | HBV infection that persists for more than six months |
| Typical lab finding | Positive IgM anti-HBc generally supports recent infection | Persistent HBsAg positivity beyond six months |
| Symptoms | Loss of appetite, joint and muscle pain, low-grade fever, stomach pain, nausea, vomiting, jaundice (some people have few or none) | Long-term inflammation and progressive liver damage |
| Possible complications | Associated with the body’s initial immune response | Cirrhosis, liver failure, and hepatocellular carcinoma (liver cancer) |
The CDC’s clinical overview of hepatitis B also describes acute hepatitis B as a short-term illness in the first six months after exposure, which can lead to lifelong (chronic) infection. Because acute and chronic infections have different clinical implications and code classifications, documentation must clearly state which type is being treated.
What Should Coders Look For in the Record?
Look for clear evidence that separates acute from chronic infection instead of relying only on symptoms or one positive lab result. The record should establish the duration of the infection, the clinical presentation, and the hepatitis B serological markers.
1. A Clearly Established Timeframe
The provider should explicitly state whether the patient has a newly acquired acute infection (generally within six months) or a chronic infection lasting more than six months. A documented history of chronic hepatitis B should also be considered during the current encounter.
2. Supporting Laboratory Results
Documentation should include the relevant hepatitis B antigen and antibody results.
Table 2: Hepatitis B Lab Markers Coders Commonly See
| Marker | Why it matters |
|---|---|
| HBsAg (hepatitis B surface antigen) | Persistent positivity beyond six months supports chronic infection |
| Total anti-HBc (hepatitis B core antibody) | Shows exposure to HBV; interpret with other markers |
| IgM anti-HBc | Generally supports recent acute infection; can also turn positive during severe exacerbations or reactivation of chronic HBV |
| Anti-HBs (hepatitis B surface antibody) | Part of the overall serologic picture |
Because IgM anti-HBc can be positive during reactivation of chronic HBV, lab findings must be interpreted in the context of the patient’s history and the provider’s assessment. For deeper clinical background, see the CDC hepatitis B surveillance guidance and the AAFP review of hepatitis B diagnosis.
3. Specific Chronic Phase and Complications
For chronic hepatitis B, the provider should document the clinical phase when known (for example, immune-tolerant, immune-active, or inactive chronic hepatitis B) and any complications, such as cirrhosis, liver failure, or hepatocellular carcinoma. These details show severity and management, but coders must select codes based on the ICD-10-CM classification and the conditions actually documented. For related conditions, see our liver failure ICD-10 coding guide.
4. Clarification of Acute Exacerbations
When a patient with known chronic hepatitis B has elevated liver enzymes, jaundice, or other signs of acute liver injury, the documentation should clarify whether this is:
- An acute exacerbation or reactivation of chronic HBV, or
- A new acute infection
An acute flare of chronic hepatitis B should not automatically be read as a newly acquired acute infection. If documentation is unclear or conflicting, a provider query may be appropriate. Our guide to clinical validation and provider queries explains how to query compliantly.
Important: Clinical phases and lab findings should not be used alone to independently diagnose or determine the infection phase. The provider makes the diagnosis.
Hepatitis B With or Without Hepatitis D (Delta Agent)
Hepatitis D virus (HDV), also called the delta agent, cannot cause infection on its own. It needs HBV to reproduce, so a patient must have HBV to develop hepatitis D.
Table 3: Hepatitis D Coinfection vs. Superinfection
| Type | What happens | Why it matters |
|---|---|---|
| Coinfection | A person acquires hepatitis B and hepatitis D at the same time | Can cause significant liver inflammation and injury |
| Superinfection | Someone with chronic hepatitis B later becomes infected with hepatitis D | More likely to progress to chronic hepatitis D and speed up liver damage, cirrhosis, and liver failure |
Hepatitis D is associated with risk factors such as injection drug use and is more common in certain geographic populations where HBV and HDV are prevalent. However, do not assume hepatitis D from risk factors or a history of injection drug use alone. The record must establish HDV and clearly document the relationship between the hepatitis B and hepatitis D infections. Our guide to drug dependence and abuse coding covers how substance use is documented and coded separately.
When reviewing the record:
- Determine whether the provider documented hepatitis B with or without a delta agent.
- Distinguish acute HBV/HDV coinfection from acute delta superinfection in an established hepatitis B carrier, since each has a different ICD-10-CM classification.
Hepatitis B With or Without Hepatic Coma
Hepatic coma is a severe complication of liver dysfunction in which toxins accumulate because the damaged liver cannot process them, causing significant changes in mental status and consciousness. It is associated with advanced liver dysfunction and can occur with severe hepatitis or liver failure. See our hepatic encephalopathy ICD-10-CM coding with coma guide for more on that diagnosis.
For acute hepatitis B, ICD-10-CM separates cases with and without hepatic coma. Review the provider’s documentation to confirm hepatic coma is specifically present. Do not assume hepatic coma just because the record describes confusion, altered mental status, or severe liver disease. The provider must establish the diagnosis.
ICD-10-CM Codes for Hepatitis B
Table 4: ICD-10-CM Acute Hepatitis B Codes (B16.-)
| Code | Description |
|---|---|
| B16.0 | Acute hepatitis B with delta-agent with hepatic coma |
| B16.1 | Acute hepatitis B with delta-agent without hepatic coma |
| B16.2 | Acute hepatitis B without delta-agent with hepatic coma |
| B16.9 | Acute hepatitis B without delta-agent and without hepatic coma |
Table 5: ICD-10-CM Acute Delta Superinfection and Chronic Hepatitis B Codes
| Code | Description |
|---|---|
| B17.0 | Acute delta-(super) infection of hepatitis B carrier |
| B18.0 | Chronic viral hepatitis B with delta-agent |
| B18.1 | Chronic viral hepatitis B without delta-agent |
Acute delta superinfection in an established hepatitis B carrier is reported with B17.0, and chronic hepatitis B is classified separately by whether a delta agent is present (B18.0 or B18.1). Always check the latest changes in the FY 2027 ICD-10-CM updates and verify codes in the current code set.
Coding Example: Chronic Hepatitis B in Remission
A 54-year-old male returns for follow-up with a documented history of intravenous drug use and chronic hepatitis B. He has completed antiviral treatment, is in remission, and has an undetectable or suppressed viral load.
- The ICD-10-CM Alphabetic Index directs coders to report any type of hepatitis in remission as chronic hepatitis.
- The scenario points to B18.1 (chronic viral hepatitis B without delta-agent).
- The documentation should still establish the ongoing status of the condition and whether a delta-agent infection is present or absent.
Secondary conditions found in the same record should follow the rules in our secondary diagnosis coding guide.
Hepatitis B Coding Checklist
- Is the infection documented as acute or chronic?
- Is the timeframe (under or over six months) clear?
- Are HBsAg, anti-HBc, IgM anti-HBc, and anti-HBs results in the record and interpreted by the provider?
- For a flare in a known chronic patient, is it an acute exacerbation/reactivation or a new acute infection?
- Is a delta agent documented as present or absent, and is it coinfection or superinfection?
- For acute hepatitis B, is hepatic coma specifically documented?
- If the patient is in remission, did you code to chronic hepatitis per the Alphabetic Index?
- If documentation is unclear or conflicting, did you send a provider query?
Frequently Asked Questions (FAQ)
What is the ICD-10-CM code for chronic hepatitis B?
Chronic viral hepatitis B is reported with B18.0 when a delta agent is present and B18.1 when it is not.
What is the code for acute hepatitis B without delta agent and without hepatic coma?
B16.9.
Which code reports acute delta superinfection in a hepatitis B carrier?
B17.0.
How is hepatitis B in remission coded?
The ICD-10-CM Alphabetic Index directs coders to report any type of hepatitis in remission as chronic hepatitis, so chronic hepatitis B in remission without a delta agent points to B18.1.
How long must hepatitis B last to be called chronic?
Chronic hepatitis B is diagnosed when infection persists for more than six months, typically shown by continued detection of HBsAg.
Does a positive IgM anti-HBc always mean acute hepatitis B?
No. It generally supports a recent acute infection but can also become positive during severe exacerbations or reactivation of chronic HBV, so it must be interpreted with the patient’s history and the provider’s assessment.
Can I assume hepatitis D from injection drug use?
No. The record must establish the presence of HDV and the relationship between the hepatitis B and hepatitis D infections.
Can I assume hepatic coma from confusion or altered mental status?
No. The provider must document hepatic coma as a diagnosis.
Key Takeaways
- Code hepatitis B from the provider’s diagnosis, using labs and clinical indicators as support.
- Decide three things: acute vs. chronic, delta agent present vs. absent, and hepatic coma present vs. absent (acute).
- B16.- covers acute hepatitis B, B17.0 acute delta superinfection in a carrier, and B18.0/B18.1 chronic hepatitis B.
- IgM anti-HBc can be positive in reactivation, and an acute flare is not automatically a new acute infection.
- Do not assume hepatitis D from risk factors or hepatic coma from altered mental status.
- Remission of hepatitis is coded as chronic per the Alphabetic Index.
- Use a provider query when documentation is unclear.
References
- CDC: Clinical Overview of Hepatitis B. Overview of acute and chronic hepatitis B, risk factors, and treatment.
- CDC: Hepatitis B Surveillance Guidance. Details on serologic markers (HBsAg, anti-HBc, IgM anti-HBc) and the definition of chronic infection.
- American Family Physician (AAFP): Hepatitis B: Screening, Prevention, Diagnosis, and Treatment. Clinical review including interpretation of HBV immunologic markers.
- CMS: ICD-10 Codes, Code Tables, Index, and Official Guidelines. Official source for current ICD-10-CM files and guidelines used to verify codes.
Disclaimer: This article is for educational purposes and is not medical advice or a substitute for the ICD-10-CM Official Guidelines for Coding and Reporting. Always verify codes against the current code set and follow your organization’s policies.


