ICD-10-CM 2027 diagnosis code
Q40Other congenital malformations of upper alimentary tract
Q40 is a header code, so it can't be reported by itself. Choose one of the 6 more specific codes beneath it.
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
Q40 is the ICD-10-CM diagnosis code for other congenital malformations of upper alimentary tract. It belongs to block Q38-Q45 (other congenital malformations of the digestive system) and chapter 17 (congenital malformations, deformations, chromosomal abnormalities, and genetic disorders). It is a header code, so it can't be reported by itself; one of its 6 subcodes must be used instead.
To report this condition, pick the subcode that matches the documentation: Q40.0 (stenosis), Q40.1 (hernia), Q40.2 (stomach), Q40.3 (unspecified), Q40.8 (tract) and Q40.9 (unspecified).
It has been part of ICD-10-CM since the code set took effect on October 1, 2015 and hasn't changed since.
Specific codes under Q40
- Q40.0Congenital hypertrophic pyloric stenosisBillable
- Q40.1Congenital hiatus herniaBillable
- Q40.2Other specified congenital malformations of stomachBillable
- Q40.3Congenital malformation of stomach, unspecifiedBillable
- Q40.8Other specified congenital malformations of upper alimentary tractBillable
- Q40.9Congenital malformation of upper alimentary tract, unspecifiedBillable
Notes that apply from higher levels
Instructions written at a parent level also apply to Q40.
Broader instructions also apply from Chapter 17: Congenital malformations, deformations, chromosomal abnormalities, and genetic disorders.
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
Is Q40 billable?
- No. Q40 is a header code. Report one of its more specific subcodes instead.