ICD-10-CM

How to Code Neoplasms — Benign, Malignant, Uncertain Explained

📅 March 2026 📖 14 min read ✍️ Clear CPC Team
How to Code Neoplasms — Benign, Malignant, Uncertain Explained

Neoplasm coding is one of the most challenging areas in ICD-10-CM. Unlike many other conditions where one code captures the complete clinical picture, neoplasm coding requires you to evaluate the behavior of the tumor, the anatomical site, whether it has spread, why the patient is being seen today, and whether the neoplasm is still active or part of personal history. Each of these factors changes which code — and sometimes which sequence of codes — is correct.

This guide breaks down the ICD-10-CM Neoplasm Table, explains the six behavior columns, walks through sequencing rules for primary and secondary malignancies, and covers the treatment encounter codes that appear frequently on the CPC exam.

Key Point: Neoplasm codes in ICD-10-CM are found in two places: the Alphabetic Index (under the condition name, like “carcinoma” or “adenoma”) and the Neoplasm Table (organized by anatomical site with six behavior columns). Always verify the code in the Tabular List after locating it in either reference. Understanding ICD-10 code structure helps you navigate the chapter organization.

The Neoplasm Table — Six Behavior Columns

The ICD-10-CM Neoplasm Table is organized by anatomical site (rows) and tumor behavior (columns). Every neoplasm code assignment starts with identifying the correct column:

Column Definition Code Range
Malignant Primary The original site where the cancer originated C00–C75, C76–C80
Malignant Secondary A site where cancer has spread (metastasized) from the primary site C77–C79
Ca in situ Abnormal cells present but have NOT invaded surrounding tissue D00–D09
Benign Non-cancerous growth — does not invade or metastasize D10–D36
Uncertain Behavior Pathologist cannot determine if benign or malignant D37–D48
Unspecified Behavior Documentation does not specify behavior — use only when no other information is available D49

The column you choose is determined by the pathology report, not by clinical suspicion. A physician may suspect malignancy, but until pathology confirms it, you cannot assign a malignant code. If the biopsy results are pending, code the signs and symptoms that prompted the workup — not the suspected neoplasm.

CPC Exam Tip: The exam frequently tests the difference between uncertain behavior and unspecified behavior. Uncertain behavior (D37–D48) means the pathologist examined the tissue and could not determine if it was benign or malignant — this is a clinical determination. Unspecified behavior (D49) means the documentation simply does not state the behavior — this is a documentation gap. They are not interchangeable.

Malignant Primary vs. Secondary — The Sequencing Rules

When a cancer has metastasized, the patient has at least two neoplasm codes: one for the primary site and one or more for the secondary (metastatic) site(s). Sequencing rules determine which code is listed first, and the answer depends entirely on the reason for the encounter.

Rule 1 — Treatment Directed at the Primary Site

When the encounter is for treatment of the primary malignancy, the primary neoplasm code is sequenced first. Even if metastatic disease exists, the primary site code is the principal or first-listed diagnosis because that is the reason for the visit.

Clinical Example: Patient with lung cancer that has metastasized to the brain presents for chemotherapy directed at the lung cancer. Correct sequencing: C34.90 (primary malignant neoplasm of lung) is listed first. C79.31 (secondary malignant neoplasm of brain) is listed as an additional diagnosis.

Rule 2 — Treatment Directed at the Secondary Site

When the encounter is for treatment of the metastatic (secondary) site, the secondary neoplasm code is sequenced first. The primary site code is listed as an additional diagnosis.

Clinical Example: Same patient presents for surgical resection of the brain metastasis. Correct sequencing: C79.31 (secondary malignant neoplasm of brain) is listed first. C34.90 (primary malignant neoplasm of lung) is listed as an additional diagnosis.

Rule 3 — Treatment Directed at Both Sites

When both the primary and secondary sites are being treated during the same encounter, either code may be sequenced first.

Rule 4 — Primary Site Unknown

When a patient presents with metastatic disease and the primary site is unknown or has been eradicated, assign C80.1 (malignant neoplasm, unspecified site — primary site unknown). The secondary site codes are assigned as additional diagnoses.

Key Point: C80.1 is used ONLY when the primary site is truly unknown or cannot be determined after workup. Do not use C80.1 when the primary site has been documented — even if the primary has been removed, use the code for that site with the appropriate personal history Z code if the primary is no longer active.

Carcinoma in Situ — D00–D09

Carcinoma in situ (CIS) describes abnormal cells that look like cancer under the microscope but have not broken through the basement membrane to invade surrounding tissue. It is a critical distinction because CIS is coded differently from invasive malignancy and has a different prognosis and treatment pathway.

CIS codes range from D00 to D09, organized by anatomical site. CIS of the cervix (D06.-) is one of the most commonly coded CIS diagnoses. CIS is sometimes called “stage 0” cancer, but it is not coded with a C code — it gets its own D00–D09 category.

Clinical Example: Pathology from a cervical biopsy shows cervical intraepithelial neoplasia grade III (CIN III), which is classified as carcinoma in situ. Correct code: D06.9 (carcinoma in situ of cervix, unspecified). This is NOT coded as C53.- (malignant neoplasm of cervix).

Benign Neoplasms — D10–D36

Benign neoplasms are non-cancerous growths that do not invade surrounding tissue or metastasize. They are coded from D10–D36 based on anatomical site. Common examples include uterine leiomyomas (fibroids), lipomas, and colon polyps confirmed as adenomas.

Benign neoplasms generally require only a single code for the site. They do not have primary/secondary sequencing logic because they do not metastasize.

Clinical Example: A patient presents for excision of a lipoma of the back. The pathology report confirms benign lipoma. Correct diagnosis code: D17.1 (benign lipomatous neoplasm of trunk).

Treatment Encounter Codes — Z51

When a patient presents specifically for cancer treatment — chemotherapy, radiation therapy, or immunotherapy — the treatment encounter code from Z51 is sequenced FIRST, and the neoplasm code is listed as an additional diagnosis. This is a critical sequencing rule tested heavily on the CPC exam.

Code Description When to Sequence First
Z51.11 Encounter for antineoplastic chemotherapy Visit is solely/primarily for chemotherapy administration
Z51.0 Encounter for antineoplastic radiation therapy Visit is solely/primarily for radiation therapy
Z51.12 Encounter for antineoplastic immunotherapy Visit is solely/primarily for immunotherapy

Clinical Example: Patient with colon cancer presents to the infusion center for a scheduled chemotherapy session. Correct sequencing: Z51.11 (encounter for chemotherapy) listed first, then C18.9 (malignant neoplasm of colon, unspecified) as additional diagnosis.

CPC Exam Trap: If a patient receives BOTH chemotherapy AND radiation during the same encounter, assign both Z51.11 and Z51.0 — either may be sequenced first. The neoplasm code follows both treatment codes. If the encounter is for a surgical procedure to treat the cancer (not chemo/radiation/immunotherapy), do NOT use Z51 codes — sequence the neoplasm code first.

Complications During Treatment

If a patient develops a complication during a treatment encounter (such as severe nausea during chemotherapy that requires management), the complication code may be sequenced first if it becomes the primary reason for the visit. The treatment encounter code and neoplasm code are then listed as additional diagnoses. This follows the general guideline that the condition requiring the most resources is the principal diagnosis.

When a patient has anemia due to a malignancy, the sequencing depends on the reason for the encounter. If the encounter is primarily for treatment of the anemia (such as a blood transfusion), code D63.0 (anemia in neoplastic disease) first, followed by the neoplasm code. If the encounter is primarily for treatment of the malignancy and anemia is also present, sequence the neoplasm code first and D63.0 as an additional diagnosis.

This is the same encounter-driven sequencing logic that applies throughout neoplasm coding — the reason for the visit determines the first-listed diagnosis.

Personal History of Neoplasm — Z85

When a primary malignancy has been excised or eradicated and the patient is no longer receiving active treatment, the neoplasm code is no longer assigned. Instead, use a code from Z85.- (personal history of malignant neoplasm) to document the history. These Z codes are important because they affect screening recommendations, follow-up schedules, and clinical decision making.

Code Range Site
Z85.0- Personal history of malignant neoplasm of digestive organs
Z85.1- Personal history of malignant neoplasm of trachea, bronchus, and lung
Z85.2- Personal history of malignant neoplasm of other respiratory and intrathoracic organs
Z85.3 Personal history of malignant neoplasm of breast
Z85.4- Personal history of malignant neoplasm of genital organs
Z85.5- Personal history of malignant neoplasm of urinary tract
Z85.6 Personal history of leukemia
Z85.7- Personal history of other malignant neoplasms of lymphoid, hematopoietic, and related tissues
Z85.8- Personal history of malignant neoplasms of other organs and systems

Clinical Example: Patient had a mastectomy for breast cancer two years ago. She has completed all treatment and is now cancer-free, presenting for a routine follow-up mammogram. Correct coding: Z85.3 (personal history of malignant neoplasm of breast) + Z12.31 (encounter for screening mammogram).

Key Point: If a patient with a history of cancer presents for follow-up examination and the cancer has not recurred, use the personal history Z code. If the cancer has recurred, code it as a new primary malignancy — the personal history code no longer applies once the disease is active again.

Coding Neoplasms of Uncertain and Unspecified Behavior

Uncertain behavior (D37–D48) is assigned when the pathologist has examined the tissue and cannot definitively classify it as benign or malignant. This is a pathological determination — the tissue is ambiguous under microscopic examination.

Unspecified behavior (D49) is assigned when the documentation does not state the behavior of the neoplasm. This is a documentation issue, not a pathological one. The coder should query the provider for clarification whenever possible rather than defaulting to D49.

Neither uncertain nor unspecified behavior codes have primary/secondary columns because those concepts apply only to malignant neoplasms. A tumor must be confirmed as malignant before you can classify it as primary or secondary.

Neoplasm Coding Decision Framework

Step 1 — Identify the behavior. Is the neoplasm malignant, benign, in situ, uncertain, or unspecified? This determines which column of the Neoplasm Table (or which code range) to use. Always base the behavior on pathology results, not clinical suspicion.

Step 2 — Identify the anatomical site. Locate the site in the Neoplasm Table. Be as specific as the documentation allows. “Lung” is less specific than “upper lobe of right lung.”

Step 3 — For malignant neoplasms, determine primary vs. secondary. If the cancer originated at this site → primary (C00–C76, C80). If the cancer spread to this site from elsewhere → secondary (C77–C79).

Step 4 — Determine sequencing based on encounter purpose. Treatment directed at primary → primary code first. Treatment directed at secondary → secondary code first. Chemo/radiation/immunotherapy session → Z51 first, then neoplasm. Follow-up with no active disease → Z85 history code.

Step 5 — Assign all additional codes. Include codes for secondary sites, treatment complications, anemia (D63.0), and any other coexisting conditions documented. This is where understanding combination codes helps you avoid over-coding conditions that are already captured in a single code.

Connections to Other Coding Topics

Neoplasm coding intersects with several other ICD-10 concepts. The medical terminology guide covers roots like “onco-” (tumor), “-oma” (tumor/neoplasm), “carcin/o” (cancer), and “sarc/o” (connective tissue cancer) that appear throughout neoplasm documentation. Understanding ICD-10 sequencing rules is essential because neoplasm coding depends more heavily on encounter-based sequencing than almost any other topic. And the diabetes coding guide provides a useful comparison — both neoplasms and diabetes require coding the underlying condition plus its manifestations.

🧪 Test Yourself: Neoplasm Coding

5 quick questions drawn from this guide. Click an answer to check it — explanations appear as you go.

1. The Neoplasm Table columns classify a growth by:

The six behavior columns drive code selection once you confirm the histology from the record.

2. When a cancer has spread, the secondary (metastatic) site is:

Sequencing depends on the focus of care; when treatment targets the metastasis, the secondary site may be first-listed.

3. An encounter solely for chemotherapy administration is reported first with:

Z51.11 is sequenced first for a chemo-only encounter, followed by the neoplasm code.

4. “Carcinoma in situ” is classified as:

In-situ neoplasms (D00–D09) have not invaded surrounding tissue and are coded from the in-situ column.

5. A patient with no current cancer but a prior treated breast malignancy is coded with:

Once the malignancy is eradicated and no treatment is directed at it, use the personal-history Z code (Z85.3).

Frequently Asked Questions

What is the difference between a primary and secondary malignant neoplasm?

A primary malignant neoplasm is the original site where the cancer started. A secondary (metastatic) malignant neoplasm is a site where the cancer has spread from the primary. For example, if lung cancer spreads to the liver, the lung is the primary site (C34.-) and the liver is the secondary site (C78.7). Sequencing depends on which site is being treated during the encounter.

When do I use Z51.11 vs. sequencing the neoplasm code first?

Use Z51.11 (encounter for chemotherapy) as the first-listed code when the sole or primary purpose of the visit is to receive chemotherapy. If the visit is for surgical treatment of the neoplasm, or for evaluation and management of the cancer with chemotherapy as a secondary component, sequence the neoplasm code first.

How do I code a neoplasm when pathology results are pending?

When biopsy results are not yet available, do not assign a neoplasm code. Instead, code the signs and symptoms that prompted the biopsy — such as a mass, lump, or abnormal finding. Once pathology results are available, assign the appropriate neoplasm code based on the confirmed behavior and site.

What is the difference between uncertain behavior and unspecified behavior?

Uncertain behavior (D37–D48) means a pathologist has examined the tissue and determined that it cannot be classified as definitively benign or malignant. Unspecified behavior (D49) means the medical record does not document the behavior of the neoplasm. Uncertain is a clinical finding; unspecified is a documentation gap.

When does a neoplasm code change to a personal history code?

When the primary malignancy has been excised or eradicated, the patient has completed treatment, and there is no evidence of active disease, stop assigning the neoplasm code and assign the appropriate Z85.- personal history code instead. If the cancer later recurs, return to assigning the active neoplasm code.