Skip to content
Dx

ICD-10-CM 2027

ICD-10 code for Pylorospasm NEC

K31.3

Pylorospasm, not elsewhere classified

✓ Billable / specific

From the official ICD-10-CM alphabetic index entry “Pylorospasm (reflex) NEC”. Page updated September 29, 2026.

About coding Pylorospasm NEC

The ICD-10-CM code for Pylorospasm NEC is K31.3 (Pylorospasm, not elsewhere classified). The official index lists 4 more specific codes, so check the documentation for details such as type, cause, site or severity before settling on K31.3.

Within K31 (other diseases of stomach and duodenum), K31.3 is specifically for Pylorospasm, not elsewhere classified. Related codes cover acute dilatation of stomach (K31.0), adult hypertrophic pyloric stenosis (K31.1), Hourglass stricture and stenosis of stomach (K31.2), 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.3 together with the conditions in its Excludes1 note: congenital or infantile pylorospasm (Q40.0), neurotic pylorospasm (F45.8) and psychogenic pylorospasm (F45.8).

It is not a CC or MCC, so as a secondary diagnosis it doesn't change the MS-DRG severity level.

More specific Pylorospasm NEC codes (official index)

  • congenital Q40.0 — Congenital hypertrophic pyloric stenosis
  • newborn Q40.0 — Congenital hypertrophic pyloric stenosis
  • neurotic F45.8 — Other somatoform disorders
  • psychogenic F45.8 — Other somatoform disorders

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

  • congenital or infantile pylorospasm (Q40.0)
  • neurotic pylorospasm (F45.8)
  • psychogenic pylorospasm (F45.8)

Common questions about Pylorospasm NEC ICD-10 codes

What is the ICD-10 code for Pylorospasm NEC?

K31.3 — Pylorospasm, not elsewhere classified. More specific codes apply when the documentation supports them: Q40.0, Q40.0, F45.8, F45.8.

What is the ICD-10 code for congenital pylorospasm nec?

Q40.0 — Congenital hypertrophic pyloric stenosis.

What is the ICD-10 code for newborn pylorospasm nec?

Q40.0 — Congenital hypertrophic pyloric stenosis.

What is the ICD-10 code for neurotic pylorospasm nec?

F45.8 — Other somatoform disorders.

What is the ICD-10 code for psychogenic pylorospasm nec?

F45.8 — Other somatoform disorders.

Is K31.3 billable?

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

Can K31.3 be used as a principal diagnosis?

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

Is K31.3 a CC or MCC?

No. K31.3 is neither a CC nor an MCC under MS-DRG v44.0.