Skip to content
Dx

ICD-10-CM 2027

ICD-10 code for inguinal hernia

K40.90

Unilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent

✓ Billable / specific

From the official ICD-10-CM alphabetic index entry “Hernia, hernial (acquired) (recurrent) › inguinal (direct) (external) (funicular) (indirect) (internal) (oblique) (scrotal) (sliding)”. Page updated September 29, 2026.

About coding inguinal hernia

The ICD-10-CM code for inguinal hernia is K40.90 (Unilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent). The official index lists 26 more specific codes, so check the documentation for details such as type, cause, site or severity before settling on K40.90.

Within K40.9 (unilateral inguinal hernia, without obstruction or gangrene), K40.90 is specifically for unilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent. Related codes cover recurrent (K40.91).

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 inguinal hernia codes (official index)

  • with
  • gangrene (and obstruction) K40.40 — Unilateral inguinal hernia, with gangrene, not specified as recurrent
  • not specified as recurrent K40.40 — Unilateral inguinal hernia, with gangrene, not specified as recurrent
  • recurrent K40.41 — Unilateral inguinal hernia, with gangrene, recurrent
  • obstruction K40.30 — Unilateral inguinal hernia, with obstruction, without gangrene, not specified as recurrent
  • not specified as recurrent K40.30 — Unilateral inguinal hernia, with obstruction, without gangrene, not specified as recurrent
  • recurrent K40.31 — Unilateral inguinal hernia, with obstruction, without gangrene, recurrent
  • not specified as recurrent K40.90 — Unilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent
  • recurrent K40.91 — Unilateral inguinal hernia, without obstruction or gangrene, recurrent
  • bilateral K40.20 — Bilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent
  • with
  • gangrene (and obstruction) K40.10 — Bilateral inguinal hernia, with gangrene, not specified as recurrent
  • not specified as recurrent K40.10 — Bilateral inguinal hernia, with gangrene, not specified as recurrent
  • recurrent K40.11 — Bilateral inguinal hernia, with gangrene, recurrent
  • obstruction K40.00 — Bilateral inguinal hernia, with obstruction, without gangrene, not specified as recurrent
  • not specified as recurrent K40.00 — Bilateral inguinal hernia, with obstruction, without gangrene, not specified as recurrent
  • recurrent K40.01 — Bilateral inguinal hernia, with obstruction, without gangrene, recurrent
  • not specified as recurrent K40.20 — Bilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent
  • recurrent K40.21 — Bilateral inguinal hernia, without obstruction or gangrene, recurrent
  • unilateral K40.90 — Unilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent
  • with
  • gangrene (and obstruction) K40.40 — Unilateral inguinal hernia, with gangrene, not specified as recurrent
  • not specified as recurrent K40.40 — Unilateral inguinal hernia, with gangrene, not specified as recurrent
  • recurrent K40.41 — Unilateral inguinal hernia, with gangrene, recurrent
  • obstruction K40.30 — Unilateral inguinal hernia, with obstruction, without gangrene, not specified as recurrent
  • not specified as recurrent K40.30 — Unilateral inguinal hernia, with obstruction, without gangrene, not specified as recurrent
  • recurrent K40.31 — Unilateral inguinal hernia, with obstruction, without gangrene, recurrent
  • not specified as recurrent K40.90 — Unilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent
  • recurrent K40.91 — Unilateral inguinal hernia, without obstruction or gangrene, recurrent

Common questions about inguinal hernia ICD-10 codes

What is the ICD-10 code for inguinal hernia?

K40.90 — Unilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent. More specific codes apply when the documentation supports them: K40.40, K40.40, K40.41, K40.30 and others below.

What is the ICD-10 code for recurrent inguinal hernia?

K40.91 — Unilateral inguinal hernia, without obstruction or gangrene, recurrent.

What is the ICD-10 code for bilateral inguinal hernia?

K40.20 — Bilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent.

What is the ICD-10 code for unilateral inguinal hernia?

K40.90 — Unilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent.

Is K40.90 billable?

Yes. K40.90 is a billable/specific ICD-10-CM code valid for FY2027 (October 1, 2026 – September 30, 2027).

Can K40.90 be used as a principal diagnosis?

Yes. The Medicare Code Editor doesn't restrict K40.90 as a principal diagnosis.

Is K40.90 a CC or MCC?

No. K40.90 is neither a CC nor an MCC under MS-DRG v44.0.