MCMedicalCodingSoftware
K31.3

K31.3: Pylorospasm, not elsewhere classified

Billable / specific codeICD-10-CM

K31.3 is a billable, specific ICD-10-CM code for pylorospasm, not elsewhere classified. It is valid for submission on a claim.

Check K31.3 with the rest of the claim: free scrubber

Excludes1: never code together

These conditions cannot occur together. Billing both on the same encounter is a denial.

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

Excludes2 inherited from the categories above K31.3

Not part of this code, but both may be coded when both are present.

Written on K31: Other diseases of stomach and duodenum

Risk adjustment

No CMS-HCC V28 category: this code does not change a RAF score.

Medicare coverage

K31.3 is named in 4 Medicare coverage policies: 4 listing it as supporting medical necessity. Which one applies depends on your Medicare contractor.

  • A56389Billing and Coding: Upper Gastrointestinal Endoscopy and Visualization
  • A56421Billing and Coding: CT of the Abdomen and Pelvis
  • A57063Billing and Coding: Diagnostic and Therapeutic Esophagogastroduodenoscopy
  • A57414Billing and Coding: Upper Gastrointestinal Endoscopy (Diagnostic and Therapeutic)

Alphabetic index entries that lead here

  • Pylorospasm NEC(reflex)
  • Spasm, spastic, spasticity›pylorus NEC
  • Obstruction, obstructed, obstructive›stomach NEC›due to pylorospasm

Code history

Unchanged in every release from FY2024 to FY2027.

Other codes under K31

ICD-10-CMFY2027· effective October 1, 2026

Loaded directly from the CMS/NCHS ICD-10-CM public-domain release: see data sources and our editorial policy. If this page disagrees with the CMS tabular list, this page is wrong. Reference information for professional coders; not medical or billing advice.