ICD Codes

ICD-10 Codes for Liver Cancer: A Complete Guide to Accurate Diagnosis Coding

Julia Julia November 12, 2026 14 min read
ICD-10 Codes for Liver Cancer: A Complete Guide to Accurate Diagnosis Coding

Diagnosis of liver cancer does not mean only one ICD-10-CM code. The medical professionals should determine whether the liver cancer occurred as a result of the original disease, whether it spread from somewhere else, or if it is a cancer of the intrahepatic bile ducts. This has direct implications on the choice of diagnoses, coding, and oncology billing.

The ICD-10 codes for liver cancer mostly lie within the range of codes C22, while the codes C78.7 represent the cases of the secondary malignant neoplasm of the liver and intrahepatic bile ducts. Thus, the code C22.0 means hepatocellular carcinoma, while the code C22.9 is used when there is no clear information about the nature of the liver malignancy.

This guide is useful for healthcare practitioners and their billing departments as it provides information on the appropriate diagnosis codes, documentation, sequencing rules, and billing errors that need to be addressed.

What Is the ICD-10 Code for Liver Cancer?

The accurate ICD-10 liver cancer code is determined by the nature of the liver cancer, either its type and site of development. Code C22 contains all cases of primary malignant neoplasms of the liver and intrahepatic bile ducts. Nevertheless, a more precise code from this category needs to be applied whenever possible.

Below are some of the main ICD-10-CM codes for providers:

ICD-10-CM Code Official Diagnosis Description
C22.0 Liver cell carcinoma
C22.1 Intrahepatic bile duct carcinoma
C22.2 Hepatoblastoma
C22.3 Angiosarcoma of liver
C22.4 Other sarcomas of liver
C22.7 Other specified carcinomas of liver
C22.8 Malignant neoplasm of liver, primary, unspecified as to type
C22.9 Malignant neoplasm of liver, not specified as primary or secondary
C78.7 Secondary malignant neoplasm of liver and intrahepatic bile duct

Each code relates to a specific disease condition. A medical coder cannot replace one code with another just because the diseases affect the same organ.

Category descriptions and coding guidelines can be found in the FY 2027 ICD-10-CM Tabular List. The coding guidelines must be followed by healthcare professionals when they code any liver neoplasm.

Understanding the Different Types of Liver Cancer ICD-10 Codes

Two patients can have malignant tumors in the liver yet require different diagnosis codes. Tumor origin, pathology, and the physician’s final diagnosis determine the appropriate selection.

C22.0 — Hepatocellular Carcinoma

Hepatocellular Carcinoma (HCC), arising from the cells of the liver, is among the significant subtypes of primary liver cancer. Under ICD-10-CM, codes for liver cell carcinoma, which include HCC and hepatoma, are classified under C22.0.

In cases where the medical record explicitly mentions hepatocellular carcinoma, coders should assign C22.0 instead of the unspecified primary liver cancer code.

Documentation of the existing malignancy, clinical findings, and procedures performed should be provided by the clinicians. Any associated diseases that need documentation should be documented accordingly.

C22.1 — Intrahepatic Bile Duct Carcinoma

Intrahepatic Cholangiocarcinoma is a cancer that arises from the bile ducts in the liver. In the ICD-10-CM system, intrahepatic cholangiocarcinoma is coded using C22.1.

It is very important to consider the location of the tumor since bile duct cancers are classified differently if they occur in intrahepatic or extrahepatic regions. For example, when a doctor codes carcinoma of the common bile duct, he or she should not use C22.1.

C22.2 — Hepatoblastoma

A hepatoblastoma is a unique type of malignant liver tumor that occurs predominantly in childhood. The code for the diagnosis is C22.2 under ICD-10-CM.

The specific diagnosis of hepatoblastoma needs to be coded rather than putting it into an unspecified category of liver malignancies.

There may be many diagnoses associated with pediatric oncology. The billing department has to distinguish between the underlying malignancy and any other conditions reported.

C22.3 and C22.4 — Liver Sarcomas

Not all liver cancers are cancerous tumors that come from the normal liver tissue.

The ICD-10-CM classifies liver angiosarcoma to code C22.3 and other liver sarcomas to code C22.4. The histological identification will be critical for categorization.

It is crucial for coders to have a definite physician’s diagnosis because it prevents coding all liver cancers as hepatocellular carcinoma.

C22.7 — Other Specified Carcinomas of Liver

Code C22.7 is used for carcinomas of the liver not elsewhere classified as other specified carcinomas of the liver.

Use code C22.7 only if the clinical diagnosis and ICD-10-CM classification justify it. Do not use code C22.7 as an unspecified or default code for carcinoma.

C22.8 — Primary Liver Cancer, Type Unspecified

If C22.8 is assigned when there is sufficient information to indicate that the primary liver neoplasm exists, but the tumor type is not specified, then the use of C22.8 is justified.

A clinician might document the presence of primary liver cancer without specifying the tumor’s specific histology. However, if hepatocellular carcinoma is known to be the diagnosis, then C22.0 should be used instead.

C22.9 — Liver Cancer, Primary or Secondary Status Unspecified

Use Code C22.9 where there is evidence of liver malignancy, but it is not clear as to whether it is primary or secondary liver cancer.

This makes it different from code C22.8.

Where a patient has an unspecified malignancy in the liver, it may not be necessary that the malignancy is the primary liver cancer.

Primary vs. Secondary Liver Cancer: Why Coding Changes

Cancer of the liver originates in the liver. Liver secondary cancer results when cells that are malignant in another area of the body migrate to the liver.

Even though both types of diseases present as cancer of the liver, they should be coded differently.

Coding Factor Primary Liver Cancer Secondary Liver Cancer
Cancer origin Begins in the liver Spreads from another site
ICD-10-CM category C22 C78
Common specific code C22.0 C78.7
Documentation focus Primary origin and tumor type Metastatic site and primary malignancy
Claim consideration Identify the primary malignancy Identify applicable primary and metastatic diagnoses

Let us take the case of a patient who has colon or rectal cancer that spreads to the liver. Liver metastases are documented by the doctor rather than primary liver cancer. C78.7 can be used in this scenario as the code for the secondary tumor.

The other thing that the coder needs to do is to analyze the colorectal cancer and the purpose of the encounter to decide on all the codes.

The bottom line is very simple; the presence of malignant tumor in the liver does not necessarily mean primary liver cancer.

How Liver Cancer Documentation Affects ICD-10-CM Coding

It is not only the medical records that benefit from accurate diagnosis; it also provides the required data to assign proper codes as well as understand the clinical context of the claim.

“Liver mass,” for instance, cannot be used alone to confirm the presence of malignancy. In the same way, if there is concern about malignancy based on the imaging report, this alone cannot confirm malignancy in outpatient coding.

The provider needs to differentiate the suspected conditions from the diagnosed ones. The documentation should include the site of the tumor, its histology, and any metastasis involved.

What Should Providers Document?

A proper coding documentation should take into account the following information depending on its clinical significance:

  • Diagnosis Confirmation: The malignancy should be identified, not the unspecific imaging features.
  • Tumor Origin: Determine whether the tumor is primary to the liver or is a metastasis.
  • Tumor Classification: Identify Hepatocellular Carcinoma, Cholangiocarcinoma or any other type.
  • Disease Condition: Active malignancy or personal history of malignancy.
  • Metastatic Condition: Other malignant locations.
  • Encounter Purpose: Treatment, Evaluation, Surveillance or Complications.

It is important for coders to analyze the entire clinical documentation rather than picking a diagnosis based on the result of one test. If the documentation fails to make an essential differentiation, a compliant provider query might be helpful.

ICD-10-CM Liver Cancer Coding Guidelines for Medical Billing

The cancer diagnosis guidelines provide instructions on reporting cancer. However, to report the condition in accordance with the guidelines, the use of the correct codes in an electronic coding software is not sufficient.

1. Verify the Diagnosis before Coding

An outpatient coder should never report a suspect cancer as a confirmed one.

In one case, an MRI scan detects a suspicious liver lesion, but the doctor is still performing a further examination. The biller should use the outpatient uncertain diagnosis guidelines for coding the identified condition.

There are different guidelines for reporting certain uncertain diagnoses in inpatient discharge coding.

2. Determine the Primary and Secondary Malignant Sites

With the documentation confirming metastatic cancer, there will be a need to determine the correct primary and secondary malignancy codes.

This is determined by the purpose of the encounter based on the appropriate sequencing rules.

For instance, an encounter where the only focus is on the liver metastasis may have a different first listed diagnosis code from an encounter on the primary malignancy.

3. Use Encounter-Specific Sequencing Guidelines

Cancer diagnosis sequencing varies based on the type of service being provided.

In an encounter where treatment is the main focus for the primary malignancy, the cancer will be prioritized.

But if the encounter is mainly focused on chemotherapy, antineoplastic immunotherapy, or external beam radiation, special sequencing guidelines apply and the Z51 encounter code takes precedence.

The coder should not assume C22.0 or any other cancer code is to be listed as the first diagnosis in every oncology encounter.

4. Differentiate Between Active Malignancy and Personal History

A patient who has been treated for liver malignancy is not automatically considered an active case.

In cases where the clinicians have successfully removed or eradicated the primary malignancy, there is no ongoing treatment for this location, and no disease exists in this area; the coding manual directs the coder to look under personal history codes.

In a qualifying history of liver malignancy, Z85.05 is used to describe a personal history of malignant neoplasm of the liver.

But in a patient receiving treatment for the primary site, the active malignancy code may still be justified even if surgically removed.

5. Review Additional Coding Instructions

For the C22 codes, there are instructions pertaining to specific related diseases of alcohol and viral hepatitis.

These instructions do not give the coder permission to code a diagnosis of hepatitis or an alcohol disease simply because the patient has liver cancer.

The provider must have documented the diseases, and the billers should follow the instructions for coding additional codes.

Liver Cancer ICD-10 Coding Examples for Real Claims

Practical claim situations explain the importance of selecting diagnosis codes based on clinical information.

Case Example 1: Verified Hepatocellular Carcinoma

A hepatologist assesses a patient, where the physician’s verified diagnosis of the disease is hepatocellular carcinoma. The patient consultation is centered on reviewing the already diagnosed cancer and planning for treatment.

Malignancy diagnosis code: C22.0

The physician’s documentation provides an accurate diagnosis of the liver cell carcinoma. The coder must not substitute this diagnosis with C22.8 or C22.9.

Example 2: Colorectal Cancer With Liver Metastases

The oncologist examines the patient having a proven case of colorectal cancer with metastases in the liver.

Appropriate code for liver metastasis: C78.7

The billing department must also ascertain the primary cancer code that is documented and decide on the sequence based on the encounter.

Example 3: Primary Liver Malignancy Without a Specified Type

Physician reports that the patient suffers from a primary liver cancer, but there is no specification of the type of histology.

Coding possibilities: C22.8

The code corresponds to a verified malignant neoplasm of the organ that is not specified further. The coder must review the entire medical record.

Example 4: Follow-Up After Completed Cancer Treatment

Surveillance is carried out by the physician post-treatment for cancer of the liver. The chart demonstrates that there is no malignant neoplasm in the previous primary site and no treatment being administered to this area.

The documentation provided can justify the use of code Z85.05 as the personal history code used alongside another encounter code like Z08.

This is just one way of selecting diagnoses; more information is needed to formulate a claim.

Common Liver Cancer Coding Errors That Create Billing Problems

Coding inconsistencies in cases of liver cancer can arise even after the diagnosis of the condition has been correctly established by the physician. Coding inconsistencies tend to occur due to the failure to distinguish between different tumors, metastasis and encounters.

Misidentification of the malignancy: Coding the metastatic liver tumor with code C22.0 is misleading. It is important for coders to identify the origin of the tumor before the diagnosis.

Unnecessary use of unspecified code: Code C22.9 may be irrelevant if the nature of the primary malignancy or the histology has been documented clearly.

Coding Suspected Malignancy to Confirmed Malignancy: Outpatient billing requires that coders review uncertain diagnosis properly. Coders should never code suspected malignancy as confirmed cancer without proper diagnostic documentation.

Missing encounter requirements for chemotherapy/immunotherapy: In some cases, encounter codes for chemotherapy and immunotherapy need to come before malignancy codes. Inaccurate order of codes will lead to problems with processing claims.

Coding active cancer after cancer treatment: It is necessary for the billing office to check the documentation and determine whether the case is active cancer or rather qualifies as personal history.

In this way, the provider’s office can minimize such problems.

How to Improve Liver Cancer Billing Accuracy

Successful oncology coding begins before the team submits a claim. Healthcare providers, coders, and billers must have a uniform procedure in place to check the diagnoses and encounter information.

Firstly, check the final diagnosis provided by the doctor as well as the type of cancer diagnosed. Then, make sure that you match the diagnosis to the ICD-10-CM Alphabetic Index and Tabular List.

The next step involves checking the reason for the encounter. For instance, an oncology consultation, oncology visit, and oncology follow-up may be different coding situations despite the same patient attending all three appointments.

It is also necessary to confirm a patient’s eligibility, authorization requirements, medical necessity and payer-specific claim edits. They are part of the operational process; however, they do not substitute correct coding of diagnoses.

Lastly, it is time to look into denial patterns. If a medical office faces diagnosis denials frequently, the team has to figure out why and what steps need to be taken before re-submitting the claim.

Liver cancer diagnosis codes will help your office communicate about the patient’s condition clearly and improve your revenue cycle.

Conclusion

ICD-10 codes related to liver cancer include hepatocellular carcinoma, intrahepatic cholangiocarcinoma, liver malignancy of unspecified type, and secondary liver malignancy.

The four codes mentioned above serve different roles. Choosing the appropriate code is essential and depends on the provider’s diagnosis, knowledge of the origin of tumor, and proper encounter coding sequencing.

In healthcare facilities, reliable coding will minimize unnecessary adjustments in claim form and promote oncology billing accuracy. The best strategy for doing this involves clinical documentation, use of updated ICD-10-CM codes, and review before the claim submission.

Frequently Asked Questions

1. What is the most common ICD-10 code for liver cancer?

C22.0 identifies hepatocellular carcinoma, a major type of primary liver cancer. However, providers must select codes according to the specific documented diagnosis rather than using one code for every liver malignancy.

2. What is the ICD-10 code for metastatic liver cancer?

C78.7 identifies secondary malignant neoplasm of the liver and intrahepatic bile duct. Coders should also evaluate the documented primary cancer and sequencing requirements.

3. What is the difference between C22.8 and C22.9?

C22.8 identifies primary liver cancer when the tumor type remains unspecified. C22.9 applies when the documentation does not establish whether the liver malignancy is primary or secondary.

4. Can coders use C22.0 for every liver tumor?

No. C22.0 identifies liver cell carcinoma, including hepatocellular carcinoma. Other liver tumors may require different malignant neoplasm codes or codes for nonmalignant findings.

5. Which ICD-10 code describes intrahepatic cholangiocarcinoma?

C22.1 describes intrahepatic bile duct carcinoma. Proper documentation regarding the site of the body as well as the diagnosis is necessary on part of the provider.

6. Will a liver mass automatically be considered liver cancer?

Not necessarily. A liver mass is merely a finding. It is not automatically liver cancer. The coders have to go with the instructions of the provider on this matter.

7. Which code will be used following the cure of liver cancer?

Z85.05 is possible if the criteria of a personal history of malignant neoplasm of liver are met. This decision is subject to verification of disease status and purpose of the encounter.

Liver Cancer Coding Errors Shouldn’t Cost You Revenue

Complex oncology codes and payer requirements can delay payments. North Carolina Medical Billing helps your practice improve coding accuracy, manage denials, and streamline claim submissions.

Get a Free Billing Assessment