2026 ICD-10-CM Diagnosis Code K31.3Pylorospasm, not elsewhere classified

ICD-10-CM CodesK00–K95K20-K31K31

ICD-10-CM K31.3
CMSSource: CMS FY 2026 ICD-10-CM dataset · Effective Oct 1, 2025 – Sep 30, 2026

K31.3 is a billable ICD-10-CM diagnosis code for pylorospasm, not elsewhere classified. It is valid on HIPAA claims for fiscal year 2026 (October 1, 2025 through September 30, 2026) and groups to MS-DRG 391 through 392. Coders also document this condition as pylorospasm. In AHRQ's Clinical Classifications Software (CCSR), this diagnosis falls under Other specified and unspecified disorders of stomach and duodenum.

Code Identity

ICD-10-CM Code
K31.3
Billable Status
Yes — Valid for Submission
Code Describes
Pylorospasm, not elsewhere classified
Short Description
Pylorospasm, not elsewhere classified
Same as the full description in the CMS dataset.
Parent Code
Other diseases of stomach and duodenum

Code Classification

ChapterK00–K95Diseases of the digestive system
SectionK20-K31Diseases of esophagus, stomach and duodenum
CategoryK31Other diseases of stomach and duodenum
This CodeK31.3Pylorospasm, not elsewhere classified

Approximate SynonymsGuidance

Alternate terms and clinical phrases that map to this code.

  • Pylorospasm

Tabular List NotesGuidance

Coding notes and annotation back-references applicable to this code.

Type 1 Excludes

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

Index to Diseases and InjuriesGuidance

Alphabetical index entries that point to this code.

External Cause of Injuries IndexGuidance

References for this code in the External Cause of Injuries Index.

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

Clinical ClassificationClinical

AHRQ’s CCSR groups this code into broader clinical categories.

CCSR DIG008
Other specified and unspecified disorders of stomach and duodenum
Default principal diagnosis: inpatient Yes · outpatient Yes

Clinical InformationClinical

  • Pylorospasm

    involuntary spasms of the pylorus.

Patient EducationClinical

Stomach Disorders

Your stomach is an organ between your esophagus and small intestine. It is where digestion of protein begins. The stomach has three tasks. It stores swallowed food. It mixes the food with stomach acids. Then it sends the mixture on to the small intestine.

Read the full article at MedlinePlus

Courtesy of MedlinePlus, a service of the U.S. National Library of Medicine.

Convert K31.3 to ICD-9-CMHistory

The closest ICD-9-CM equivalents under the General Equivalence Mappings.

ICD-9-CM
537.81 Pylorospasm
Exact Match The mapping is direct, with no qualifiers.

Code HistoryHistory

FY 2016AddedAdded to the ICD-10-CM code setEffective October 1, 2015, the first year of ICD-10-CM.
FY 2017–2025No changes
FY 2026CurrentCurrent code set, no changesEffective October 1, 2025 through September 30, 2026.

Questions About K31.3Overview

Is K31.3 (Other diseases of stomach and duodenum) a billable code?

Yes. This is a billable ICD-10-CM code, specific enough to report pylorospasm, not elsewhere classified on HIPAA-covered claims from October 1, 2025 through September 30, 2026.

What MS-DRG does K31.3 group to?

When pylorospasm, not elsewhere classified is the principal diagnosis on an inpatient stay, it groups to MS-DRG 391, 392, with relative weights from 0.7796 to 1.2683 depending on complications. Higher weights mean higher Medicare reimbursement.

What is the ICD-9 equivalent of K31.3?

Under the General Equivalence Mappings, pylorospasm, not elsewhere classified converts to ICD-9-CM 537.81 (pylorospasm). The mapping is a direct match.

Footnotes

[1] Not chronic - A diagnosis code that does not fit the criteria for chronic condition (duration, ongoing medical treatment, and limitations) is considered not chronic. Some codes designated as not chronic are acute conditions. Other diagnosis codes that indicate a possible chronic condition, but for which the duration of the illness is not specified in the code description (i.e., we do not know the condition has lasted 12 months or longer) also are considered not chronic.