ICD-10-CM 2027 diagnosis code
Q40.0Congenital hypertrophic pyloric stenosis
Q40.0 is a valid, billable ICD-10-CM code for congenital hypertrophic pyloric stenosis. It can be reported on claims for dates of service from October 1, 2026 – September 30, 2027.
Code unchanged since ICD-10-CM took effect on October 1, 2015. Source: official FY2027 ICD-10-CM release from CDC/NCHS and CMS. Page updated September 29, 2026. About our data
About Q40.0
Q40.0 is the ICD-10-CM diagnosis code for congenital hypertrophic pyloric stenosis. It belongs to category Q40 (other congenital malformations of upper alimentary tract), block Q38-Q45 (other congenital malformations of the digestive system) and chapter 17 (congenital malformations, deformations, chromosomal abnormalities, and genetic disorders). It is billable, so it can be reported on its own for dates of service from October 1, 2026 through September 30, 2027.
Within Q40 (other congenital malformations of upper alimentary tract), Q40.0 is specifically for congenital hypertrophic pyloric stenosis. Related codes cover congenital hiatus hernia (Q40.1), other specified congenital malformations of stomach (Q40.2), congenital malformation of stomach, unspecified (Q40.3), other specified congenital malformations of upper alimentary tract (Q40.8) and congenital malformation of upper alimentary tract, unspecified (Q40.9).
It is not a CC or MCC, so as a secondary diagnosis it doesn't change the MS-DRG severity level.
In MS-DRG v44.0, it is part of the grouping logic for DRG 393 (Other Digestive System Diagnoses with MCC, relative weight 1.5881), DRG 394 (Other Digestive System Diagnoses with CC, relative weight 0.9228) and DRG 395 (Other Digestive System Diagnoses without CC/MCC, relative weight 0.6382), in MDC 06 (Diseases and Disorders of the Digestive System), as a principal or secondary diagnosis. The DRG a claim lands in depends on the principal diagnosis, procedures and any CC/MCC secondary diagnoses.
It is exempt from present-on-admission (POA) reporting, so no POA indicator is required.
It has been part of ICD-10-CM since the code set took effect on October 1, 2015 and hasn't changed since.
Before ICD-10, this condition was coded in ICD-9-CM as 750.5 (congenital hypertrophic pyloric stenosis).
Coding notes
- Congenital constriction
- Congenital hypertrophy
- Congenital spasm
- Congenital stenosis
- Congenital stricture
Notes that apply from higher levels
Instructions written at a parent level also apply to Q40.0.
Broader instructions also apply from Chapter 17: Congenital malformations, deformations, chromosomal abnormalities, and genetic disorders.
Alphabetic index entries
10 entriesTerms in the official ICD-10-CM index that lead to Q40.0.
- Achalasia (cardia) (esophagus) › pylorus
- Constriction › pylorus (adult hypertrophic) › congenital
- Constriction › pylorus (adult hypertrophic) › newborn
- Hypertrophy, hypertrophic › pylorus (adult) (muscle) (sphincter) › congenital
- Obstruction, obstructed, obstructive › pylorus › congenital
- Pylorospasm (reflex) NEC › congenital
- Pylorospasm (reflex) NEC › newborn
- Spasm (s), spastic, spasticity › pylorus NEC › congenital
- Stenosis, stenotic (cicatricial) › pylorus (hypertrophic) (acquired) › congenital
- Stricture › pylorus (hypertrophic) › congenital
Codes whose notes reference Q40.0
MS-DRG v44.0 grouping
All DRGs →Inpatient MS-DRGs this diagnosis can group to, as the principal or a secondary diagnosis, depending on the rest of the claim.
MDC 06 · Diseases and Disorders of the Digestive System
ICD-9-CM equivalent
Converter →- 750.5Congenital hypertrophic pyloric stenosisexact
From the CMS 2018 General Equivalence Mappings (GEMs), the final GEMs release.
Code history
- 2016
- 2017
- 2018
- 2019
- 2020
- 2021
- 2022
- 2023
- 2024
- 2025
- 2026
- 2027
- FY2016 (effective 10/1/2015): Added (first year of ICD-10-CM)
- No changes since FY2016.
Common questions about Q40.0
Is Q40.0 billable?
- Yes. Q40.0 is a billable/specific ICD-10-CM code valid for FY2027 (October 1, 2026 – September 30, 2027).
Can Q40.0 be used as a principal diagnosis?
- Yes. The Medicare Code Editor doesn't restrict Q40.0 as a principal diagnosis.
Is Q40.0 a CC or MCC?
- No. Q40.0 is neither a CC nor an MCC under MS-DRG v44.0.
What DRG does Q40.0 group to?
- Q40.0 is used in the MS-DRG v44.0 logic for MS-DRG 393 (Other Digestive System Diagnoses with MCC), MS-DRG 394 (Other Digestive System Diagnoses with CC) and MS-DRG 395 (Other Digestive System Diagnoses without CC/MCC). Which one applies depends on whether it is the principal diagnosis and on the rest of the claim.
What is the ICD-9 code for Q40.0?
- The CMS General Equivalence Mappings map Q40.0 to ICD-9-CM 750.5.