Skip to main content

K40.41 ICD-10-CM Code: Unilateral inguinal hernia, with gangrene, recurrent

Billing Status: YES. This is a valid, specific, and billable ICD-10-CM reference.

Coding at a Glance

Tabular directives
10 inclusion terms

Inpatient Payment Groups (MS-DRG)

Potential MS-DRG participation — not a DRG assignment.

MS-DRGs this diagnosis helps define, as principal or secondary, per the CMS ICD-10-CM/PCS MS-DRG Definitions Manual v44, Appendix B.

  • MS-DRG 393 — OTHER DIGESTIVE SYSTEM DIAGNOSES WITH MCC (MDC 06)
  • MS-DRG 394 — OTHER DIGESTIVE SYSTEM DIAGNOSES WITH CC (MDC 06)
  • MS-DRG 395 — OTHER DIGESTIVE SYSTEM DIAGNOSES WITHOUT CC/MCC (MDC 06)

A diagnosis appearing in a group's logic does not by itself determine the DRG assigned to a stay; the grouper uses the full claim.

Coding instructions

Official Tabular Instructional Notes: the inclusion, exclusion and sequencing notes published for K40.41 in the official ICD-10-CM tabular list, quoted as published.

Source: CMS/CDC — ICD-10-CM Tabular ListRelease: FY2027Effective: October 1, 2026

Trace:FY2027 changesChange historyRelease, file and checksum

Notes without a marker are published on K40.41 itself; “inherited from” names the category or block whose note applies here.

Includes

Conditions the official ICD-10-CM tabular list includes under this code.

  • bubonocele inherited from K40
  • direct inguinal hernia inherited from K40
  • double inguinal hernia inherited from K40
  • indirect inguinal hernia inherited from K40
  • inguinal hernia NOS inherited from K40
  • oblique inguinal hernia inherited from K40
  • scrotal hernia inherited from K40
  • acquired hernia inherited from K40-K46
  • congenital [except diaphragmatic or hiatus] hernia inherited from K40-K46
  • recurrent hernia inherited from K40-K46

Coder workflow for K40.41

MedCoder structured workflow — derived from this code’s own official record

Before you code K40.41

  1. K40.41’s title joins a condition with an associated condition or complication. Confirm each component is documented. Where the classification presumes the link through the “with” convention, only a provider statement that the conditions are unrelated defeats it. A combination code is assigned only when it fully identifies the documented conditions; a required second code for the stage, type or manifestation is still reported when the notes ask for it (Guidelines I.B.9, I.A.15).

    Guide: Combination codes →

Documentation check

The provider’s diagnostic statement
Codes are assigned from the provider’s documented diagnosis, not from clinical criteria, test values or a medication list (Guidelines I.A.19).
The associated condition or complication
Whether the associated condition the title names is documented; the “with” convention presumes some links, and a provider statement that the conditions are unrelated defeats it (Guidelines I.A.15).

Coding decision scenarios

Pattern scenarios for this code’s structure — decision rules, not clinical cases

Documentation: Only one of the components this code’s title joins is documented.

Coding question: Is K40.41 supported?

Path: Review the code for the documented component on its own.

Reason: A combination code is assigned only when it fully identifies the documented conditions; otherwise the documented component takes its own code (Guidelines I.B.9).

Every row is derived from this code’s own record — its title, tabular notes, 7th-character family and same-category siblings — with fixed MedCoder wording; nothing is inferred about a patient. The official notes and guideline text are in the sections each row links to, and they control.

Code Overview

Unilateral inguinal hernia, with gangrene, recurrent is a billable ICD-10-CM diagnosis code (K40.41).

MedCoder summary Summary composed by MedCoder from this code's official ICD-10-CM record. The tabular instructional notes themselves appear verbatim below.

Indexed Clinical Terms (2)

Official source data — entries quoted as published, in the Index’s own lookup phrasing

Clinical term phrases from the official ICD-10-CM Index to Diseases and Injuries that map to this code. These are alphabetic-index entries shown as the Index writes them — lookup phrasing, not necessarily the wording of a final diagnosis.

Official Coding Guidelines

No excerpt in the ICD-10-CM Official Guidelines names this code specifically. Its chapter carries only this chapter-wide note:

Chapter 11: Diseases of the Digestive System (K00-K95)

Reserved for future guideline expansion

Verify Before Coding

  • MCC as a secondary diagnosis (FY2027). Can raise the stay's MS-DRG severity tier.

From the code registry, the Medicare Code Editor, and the MS-DRG Definitions Manual. Check it against a full claim in Claim Check.

Relationships & Classification

MedCoder structured relationships — computed from published CMS and AHRQ datasets

Other codes that name K40.41 or its code family, from the CMS ICD-10-CM tabular instructional notes. Tabular-note edges are stored at the code family level that carries each note.

Referenced by 1 Excludes2 note: K56.7 — Ileus, unspecified (via K40.-).

These codes’ tabular lists name this diagnosis as distinct — both may be reported when both are documented.

MS-DRG Grouper Relationships (FY2027)

Potential MS-DRG participation — not a DRG assignment.

FY2027 MS-DRG: MCC — Major Complication or Comorbidity. Reported as a secondary diagnosis, this code raises the stay's MS-DRG severity tier — except when the principal diagnosis is one of 18 clinically related codes on its CMS exclusion list.

Named in the grouper logic of 3 MS-DRGs: DRG 393 (MDC 06), DRG 394 (MDC 06), DRG 395 (MDC 06).

From the CMS MS-DRG Definitions Manual (Appendices B and C). Actual DRG assignment depends on the complete claim.

Clinical classification (AHRQ CCSR):DIG010 — Abdominal hernia (default); CIR028 — Gangrene.

Clinical Classifications Software Refined (CCSR) for ICD-10-CM Diagnoses. Healthcare Cost and Utilization Project (HCUP), Agency for Healthcare Research and Quality.

Related Codes

Same clinical process (MS-DRG)

Acts as MCC — raises the severity of other admissions. CMS groups these diagnoses into one MS-DRG principal-diagnosis exclusion process — a CC/MCC on this list never raises severity when the principal diagnosis is also on it.

K31.89 — Other diseases of stomach and duodenum, K31.9 — Disease of stomach and duodenum, unspecified, K40.00 — Bilateral inguinal hernia, with obstruction, without gangrene, not specified as recurrent, K40.01 — Bilateral inguinal hernia, with obstruction, without gangrene, recurrent, K40.10 — Bilateral inguinal hernia, with gangrene, not specified as recurrent, K40.11 — Bilateral inguinal hernia, with gangrene, recurrent, K40.20 — Bilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent, K40.21 — Bilateral inguinal hernia, without obstruction or gangrene, recurrent, K40.30 — Unilateral inguinal hernia, with obstruction, without gangrene, not specified as recurrent, K40.31 — Unilateral inguinal hernia, with obstruction, without gangrene, recurrent, K40.40 — Unilateral inguinal hernia, with gangrene, not specified as recurrent, K40.90 — Unilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent, K40.91 — Unilateral inguinal hernia, without obstruction or gangrene, recurrent, K45.0 — Other specified abdominal hernia with obstruction, without gangrene, K45.8 — Other specified abdominal hernia without obstruction or gangrene, K46.0 — Unspecified abdominal hernia with obstruction, without gangrene, K92.81 — Gastrointestinal mucositis (ulcerative)

Same clinical category (CCSR)

AHRQ's Clinical Classifications Software groups these diagnoses under the same clinical categories (Abdominal hernia, Gangrene).

J85.0 — Gangrene and necrosis of lung, K40.00 — Bilateral inguinal hernia, with obstruction, without gangrene, not specified as recurrent, K40.01 — Bilateral inguinal hernia, with obstruction, without gangrene, recurrent, K40.10 — Bilateral inguinal hernia, with gangrene, not specified as recurrent, K40.11 — Bilateral inguinal hernia, with gangrene, recurrent, K40.20 — Bilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent, K40.21 — Bilateral inguinal hernia, without obstruction or gangrene, recurrent, K40.30 — Unilateral inguinal hernia, with obstruction, without gangrene, not specified as recurrent, K40.31 — Unilateral inguinal hernia, with obstruction, without gangrene, recurrent, K40.40 — Unilateral inguinal hernia, with gangrene, not specified as recurrent, K40.90 — Unilateral inguinal hernia, without obstruction or gangrene, not specified as recurrent, K40.91 — Unilateral inguinal hernia, without obstruction or gangrene, recurrent, K41.00 — Bilateral femoral hernia, with obstruction, without gangrene, not specified as recurrent, K41.01 — Bilateral femoral hernia, with obstruction, without gangrene, recurrent, K41.10 — Bilateral femoral hernia, with gangrene, not specified as recurrent, K41.11 — Bilateral femoral hernia, with gangrene, recurrent, K41.20 — Bilateral femoral hernia, without obstruction or gangrene, not specified as recurrent, K41.21 — Bilateral femoral hernia, without obstruction or gangrene, recurrent, K41.30 — Unilateral femoral hernia, with obstruction, without gangrene, not specified as recurrent, K41.31 — Unilateral femoral hernia, with obstruction, without gangrene, recurrent, +64 more

Same Index main term, other category

The ICD-10-CM Index to Diseases and Injuries files this code under the main term “Hernia, hernial”; these codes share that main term but sit in a different category of the Tabular List.

G93.5 — Compression of brain (foramen magnum), J98.4 — Other disorders of lung (lung), J98.59 — Other diseases of mediastinum, not elsewhere classified (mediastinum), K41.00 — Bilateral femoral hernia, with obstruction, without gangrene, not specified as recurrent (femoral, bilateral, with, obstruction), K41.01 — Bilateral femoral hernia, with obstruction, without gangrene, recurrent (femoral, bilateral, with, obstruction, recurrent), K41.10 — Bilateral femoral hernia, with gangrene, not specified as recurrent (femoral, bilateral, with, gangrene), K41.11 — Bilateral femoral hernia, with gangrene, recurrent (femoral, bilateral, with, gangrene, recurrent), K41.20 — Bilateral femoral hernia, without obstruction or gangrene, not specified as recurrent (femoral, bilateral), K41.21 — Bilateral femoral hernia, without obstruction or gangrene, recurrent (femoral, bilateral, recurrent), K41.30 — Unilateral femoral hernia, with obstruction, without gangrene, not specified as recurrent (femoral, with, obstruction), K41.31 — Unilateral femoral hernia, with obstruction, without gangrene, recurrent (femoral, with, obstruction, recurrent), K41.40 — Unilateral femoral hernia, with gangrene, not specified as recurrent (femoral, with, gangrene), K41.41 — Unilateral femoral hernia, with gangrene, recurrent (femoral, with, gangrene, recurrent), K41.90 — Unilateral femoral hernia, without obstruction or gangrene, not specified as recurrent (femoral), K41.91 — Unilateral femoral hernia, without obstruction or gangrene, recurrent (femoral, recurrent), K42.0 — Umbilical hernia with obstruction, without gangrene (umbilicus, umbilical, with, obstruction), K42.1 — Umbilical hernia with gangrene (umbilicus, umbilical, with, gangrene), K42.9 — Umbilical hernia without obstruction or gangrene (umbilicus, umbilical), K43.0 — Incisional hernia with obstruction, without gangrene (incisional, with, obstruction), K43.1 — Incisional hernia with gangrene (incisional, with, gangrene), +30 more

Contextual Map

Every relationship of K40.41 in one view: hierarchy, official tabular instructions in both directions, clinical classification, risk adjustment, MS-DRG participation, index terms and change history — each edge carrying the CMS source it derives from.

Run K40.41 with this related code in Claim Check

Hierarchy

Referenced by Excludes2 notes

  • K56.7 — Ileus, unspecified[Excludes2](via K40.-): “intestinal obstruction with hernia (K40-K46)”— CMS ICD-10-CM tabular instructional notes · icd10cm-fy2026

Clinical classification (CCSR)

MS-DRG Grouper

MDC crossing

  • MDC 06 — Diseases and Disorders of the Digestive System[MDC crossing]: “Diseases and Disorders of the Digestive System — the grouper's crossing between diagnoses and procedures: a principal diagnosis sets the MDC, and same-MDC procedures move the stay to its surgical DRGs. 5,748 same-MDC procedures group here; browse them on the MDC page.”— CMS MS-DRG Definitions Manual · FY2027

Index entries

  • Hernia, hernial (acquired) (recurrent), inguinal (direct) (external) (funicular) (indirect) (internal) (oblique) (scrotal) (sliding), unilateral, with, gangrene (and obstruction), recurrent[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026
  • Hernia, hernial (acquired) (recurrent), inguinal (direct) (external) (funicular) (indirect) (internal) (oblique) (scrotal) (sliding), with, gangrene (and obstruction), recurrent[Index term]— CMS ICD-10-CM Index to Diseases and Injuries · icd10cm-fy2026

Nearest codes (18)

Change history

  • FY2016 — In the code set at ICD-10-CM adoption [Change history]— CMS release files (code change ledger) · icd10cm-fy2016

Sources for this page

Codes, titles, notes, index terms and mappings on this page are transcribed from the datasets below. Relationships MedCoder computed and text MedCoder wrote are labelled where they appear.

Code, title, tabular notes and index terms Official source data
CMS/CDC ICD-10-CM FY2027 tabular list, index and tables, effective October 1, 2026 Release, file and checksum · Publisher’s page
Coding guidelines Official source data
ICD-10-CM Official Guidelines for Coding and Reporting (FY2027), quoted by section Release, file and checksum · Publisher’s page
Claim edits Official source data
CMS Definitions of Medicare Code Edits — v44.0 (October 2026) Release, file and checksum · Publisher’s page
Inpatient payment groups Official source data
CMS MS-DRG Definitions Manual (incl. Appendix B diagnosis index, Appendix C CC/MCC list, Appendix E procedure index) and IPPS Final Rule tables — v44 Release, file and checksum · Publisher’s page
Change history and date-of-service validity Official source data
CMS ICD-10-CM release addenda, ingested release by release into the change ledger Release, file and checksum · Publisher’s page
Comparisons, relationships and the contextual map MedCoder structured relationship
Computed by MedCoder from the tabular notes and tables above; every derived relationship is marked as derived where it appears
Summary and FAQ answers MedCoder explanation
Written by MedCoder to explain the sources above: drafted with AI assistance, checked by a person against the release files, and labelled as MedCoder text where it appears. Not official text.

Labels on this page: Official source data · MedCoder structured relationship · MedCoder explanation. How to read the labels · All data sources and release dates

Cite this page

Reference this page in a research guide, syllabus or article. The release is included because code content changes each year.

MedCoder.ai. "K40.41 — Unilateral inguinal hernia, with gangrene, recurrent." ICD-10-CM FY2027. https://medcoder.ai/icd10/code/k40.41-unilateral-inguinal-hernia-with-gangrene-recurrent

Change history

  • FY2016 — October 1, 2015
    In the code set at ICD-10-CM adoption
    Unilateral inguinal hernia, with gangrene, recurrent

No changes since FY2016 — additions, deletions, description changes and billable-status changes are tracked through FY2027, and none are recorded for this code. Note changes are tracked from FY2027 only.

Nearest Codes in This Family

Official ICD-10-CM classifications closest to K40.41 in its code family, with their registry titles.

View all codes in the K40 family