ICD-10-CM 2027
ICD-10 code for hemorrhoids
From the official ICD-10-CM alphabetic index entry “Hemorrhoids (bleeding) (without mention of degree)”. Page updated September 29, 2026.
About coding hemorrhoids
The ICD-10-CM code for hemorrhoids is K64.9 (Unspecified hemorrhoids). The official index lists 16 more specific codes, so check the documentation for details such as type, cause, site or severity before settling on K64.9.
Within K64, choose K64.9 (Unspecified hemorrhoids) only when documentation doesn't support a more specific option: first degree hemorrhoids (K64.0), second degree hemorrhoids (K64.1), third degree hemorrhoids (K64.2), fourth degree hemorrhoids (K64.3), residual hemorrhoidal skin tags (K64.4), perianal venous thrombosis (K64.5) and other hemorrhoids (K64.8).
It is not a CC or MCC, so as a secondary diagnosis it doesn't change the MS-DRG severity level.
In MS-DRG v44.0, it is part of the grouping logic for DRG 393 (Other Digestive System Diagnoses with MCC, relative weight 1.5881), DRG 394 (Other Digestive System Diagnoses with CC, relative weight 0.9228) and DRG 395 (Other Digestive System Diagnoses without CC/MCC, relative weight 0.6382), in MDC 06 (Diseases and Disorders of the Digestive System), as a principal or secondary diagnosis. The DRG a claim lands in depends on the principal diagnosis, procedures and any CC/MCC secondary diagnoses.
More specific hemorrhoids codes (official index)
- 1st degree (grade/stage I) (without prolapse outside of anal canal) K64.0 — First degree hemorrhoids
- 2nd degree (grade/stage II) (that prolapse with straining but retract spontaneously) K64.1 — Second degree hemorrhoids
- 3rd degree (grade/stage III) (that prolapse with straining and require manual replacement back inside anal canal) K64.2 — Third degree hemorrhoids
- 4th degree (grade/stage IV) (with prolapsed tissue that cannot be manually replaced) K64.3 — Fourth degree hemorrhoids
- complicating
- pregnancy O22.4 — Hemorrhoids in pregnancy
- puerperium O87.2 — Hemorrhoids in the puerperium
- external K64.4 — Residual hemorrhoidal skin tags
- with
- thrombosis K64.5 — Perianal venous thrombosis
- internal (without mention of degree) K64.8 — Other hemorrhoids
- prolapsed K64.8 — Other hemorrhoids
- skin tags
- anus K64.4 — Residual hemorrhoidal skin tags
- residual K64.4 — Residual hemorrhoidal skin tags
- specified NEC K64.8 — Other hemorrhoids
- strangulated K64.8 — Other hemorrhoids
- thrombosed K64.5 — Perianal venous thrombosis
- ulcerated K64.8 — Other hemorrhoids
Common questions about hemorrhoids ICD-10 codes
What is the ICD-10 code for hemorrhoids?
- K64.9 — Unspecified hemorrhoids. More specific codes apply when the documentation supports them: K64.0, K64.1, K64.2, K64.3 and others below.
What is the ICD-10 code for 1st degree hemorrhoids?
- K64.0 — First degree hemorrhoids.
What is the ICD-10 code for 2nd degree hemorrhoids?
- K64.1 — Second degree hemorrhoids.
What is the ICD-10 code for 3rd degree hemorrhoids?
- K64.2 — Third degree hemorrhoids.
What is the ICD-10 code for 4th degree hemorrhoids?
- K64.3 — Fourth degree hemorrhoids.
What is the ICD-10 code for external hemorrhoids?
- K64.4 — Residual hemorrhoidal skin tags.
What is the ICD-10 code for internal hemorrhoids?
- K64.8 — Other hemorrhoids.
Is K64.9 billable?
- Yes. K64.9 is a billable/specific ICD-10-CM code valid for FY2027 (October 1, 2026 – September 30, 2027).
Can K64.9 be used as a principal diagnosis?
- Yes. The Medicare Code Editor doesn't restrict K64.9 as a principal diagnosis.
Is K64.9 a CC or MCC?
- No. K64.9 is neither a CC nor an MCC under MS-DRG v44.0.