The Surgical Margins of the Primary Site describe the final status of margins following the resection of the primary tumor. This data item is an important quality measure for pathology reporting, contributes to staging, and serves as a prognostic factor for recurrence risk.
This code is applied to all cases, whether or not a surgical resection of the primary tumor is performed. The pathology report documents whether there is microscopic or macroscopic involvement of cancer at the resection margins.
Coding Instructions
Assign the surgical margin code based on the final pathology report.
Codes 0–3 are hierarchical — if two codes describe the margin status, record the numerically higher code.
| Code | Definition | Explanation / Examples |
| 0 | No residual tumor; all margins negative | All margins are grossly and microscopically negative, “all margins clear” or “no tumor at inked margin.” |
| 1 | Margins involved NOS | Report states “margins involved” but does not specify whether microscopic or macroscopic. |
| 2 | Microscopic residual tumor | Tumor cells present at the margin by microscopy; “positive microscopic margins.” |
| 3 | Macroscopic residual tumor | Visible or gross tumor remains; “gross residual disease,” “tumor extends to resection edge.” |
| 7 | Margins cannot be assessed or determined | Example: “Margins indeterminate due to fragmentation” or specimen not intact. |
| 8 | No surgical resection of the primary site, or tumor diagnosed at autopsy | No specimen available for margin assessment. |
| 9 | No mention of surgical margins in the pathology report | Margin status not stated. |
Key Points
- Always use the final diagnosis section of the pathology report for margin information.
- Follow the hierarchy rule (use the higher code if multiple apply).
- Margin status helps determine:
- Residual disease
- Pathologic stage
- Prognostic indicators
- Quality of surgical and pathology reporting
In Practice
Accurate coding of surgical margins ensures the integrity of cancer registry data and supports clinical decision-making, research, and quality improvement efforts. This month’s Oncology Coding Break provides several case scenarios demonstrating accurate coding of Surgical Margins of the Primary Site.

