Skip to content
Dx

ICD-10-CM 2027

ICD-10 code for pylorus stenosis

K31.1

Adult hypertrophic pyloric stenosis

From the official ICD-10-CM alphabetic index entry “Stenosis, stenotic (cicatricial) › pylorus (hypertrophic) (acquired)”. Page updated September 29, 2026.

About coding pylorus stenosis

The ICD-10-CM code for pylorus stenosis is K31.1 (Adult hypertrophic pyloric stenosis). The official index lists 5 more specific codes, so check the documentation for details such as type, cause, site or severity before settling on K31.1.

Within K31 (other diseases of stomach and duodenum), K31.1 is specifically for adult hypertrophic pyloric stenosis. Related codes cover acute dilatation of stomach (K31.0), Hourglass stricture and stenosis of stomach (K31.2), Pylorospasm, not elsewhere classified (K31.3), gastric diverticulum (K31.4), obstruction of duodenum (K31.5), fistula of stomach and duodenum (K31.6), polyp of stomach and duodenum (K31.7), other specified diseases of stomach and duodenum (K31.8) and 3 more.

Don't report K31.1 together with the conditions in its Excludes1 note: congenital pyloric stenosis (Q40.0).

As a secondary diagnosis it is a CC (complication or comorbidity), which can move an inpatient stay into the "with CC" MS-DRG of its family, unless the principal diagnosis excludes it.

More specific pylorus stenosis codes (official index)

  • adult K31.1 — Adult hypertrophic pyloric stenosis
  • congenital Q40.0 — Congenital hypertrophic pyloric stenosis
  • in childhood K31.B — Hypertrophic pyloric stenosis, in childhood
  • infantile K31.B — Hypertrophic pyloric stenosis, in childhood
  • pediatric (hypertrophic) K31.B — Hypertrophic pyloric stenosis, in childhood

Don't confuse with (Excludes1 for K31.1)

  • congenital pyloric stenosis (Q40.0)

Common questions about pylorus stenosis ICD-10 codes

What is the ICD-10 code for pylorus stenosis?

K31.1 — Adult hypertrophic pyloric stenosis. More specific codes apply when the documentation supports them: K31.1, Q40.0, K31.B, K31.B and others below.

What is the ICD-10 code for adult pylorus stenosis?

K31.1 — Adult hypertrophic pyloric stenosis.

What is the ICD-10 code for congenital pylorus stenosis?

Q40.0 — Congenital hypertrophic pyloric stenosis.

What is the ICD-10 code for infantile pylorus stenosis?

K31.B — Hypertrophic pyloric stenosis, in childhood.

What is the ICD-10 code for pediatric pylorus stenosis?

K31.B — Hypertrophic pyloric stenosis, in childhood.

Is K31.1 billable?

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

Can K31.1 be used as a principal diagnosis?

Yes. The Medicare Code Editor doesn't restrict K31.1 as a principal diagnosis.

Is K31.1 a CC or MCC?

K31.1 is a CC (complication or comorbidity) under MS-DRG v44.0, unless excluded by the principal diagnosis.