K29 — Gastritis and Duodenitis: ICD-10 Code Explained Simply
Reviewed by the LabReadAI medical team
If your chart, discharge note or referral shows K29 in the diagnosis field, it refers to inflammation of the lining of the stomach and duodenum. Unlike the administrative Z codes, this is a real disease code: a doctor recorded a specific condition. Below we take the code apart, explain where it shows up, what it does and does not say about your health, and which steps make sense next.
What ICD-10 code K29 — gastritis and duodenitis — actually means
The official wording of K29 is «Gastritis and duodenitis». Element by element:
- K — the letter of ICD-10 Class XI: «Diseases of the digestive system», covering the oesophagus, stomach, intestines, liver, gallbladder and pancreas. It is a class of diseases, not of reasons for contact.
- K29 — a category inside block K20–K31 («Diseases of oesophagus, stomach and duodenum») that groups inflammatory but non-ulcerative damage to the lining. Ulcers have their own separate categories.
- The digit after the dot — the form of inflammation: K29.0 acute haemorrhagic gastritis; K29.1 other acute gastritis; K29.2 alcoholic gastritis; K29.3 chronic superficial gastritis; K29.4 chronic atrophic gastritis; K29.5 chronic gastritis, unspecified; K29.6 other gastritis; K29.7 gastritis, unspecified; K29.8 duodenitis; K29.9 gastroduodenitis, unspecified.
If the document shows plain K29 with no digit after the dot, the form simply was not specified during coding — usually a paperwork habit rather than a sign that the case is unusual.
In plain words: gastritis is inflammation of the stomach lining, duodenitis is inflammation of the duodenal lining, and gastroduodenitis is both at once. ICD-10 keeps them in one category because they often occur together and share causes.
Where you may have seen this code
K29 is assigned after a consultation or an investigation, so it appears in documents issued after contact with a doctor:
| Document | Why K29 is there |
|---|---|
| Referral to a gastroenterologist or for endoscopy | The physician records a working diagnosis that justifies the investigation |
| Outpatient visit record | The administrative record of the visit: the reason is stomach-related complaints |
| Discharge note after gastroscopy | The endoscopist described inflamed mucosa and the diagnosis was coded |
| Certificate for work or study | The code is stated when the certificate is issued because of an illness |
| Insurance claim | The clinic reports the service delivered; the code justifies payment |
An important nuance: a code on a referral is often provisional. It reflects what the doctor suspected from your complaints and may change after endoscopy — to a peptic ulcer code, or the other way round, to functional dyspepsia.
Is it dangerous or not
Plainly, without either extreme. Gastritis and duodenitis are not life-threatening in the vast majority of cases and are not cancer diagnoses. At the same time they are not «something everyone has»: the code stands for real inflammation that has a cause, and without addressing that cause it comes back.
What K29 does not tell you:
- how severe the inflammation is — only the endoscopy description shows that;
- what caused it — Helicobacter pylori, anti-inflammatory drugs, alcohol, an autoimmune process;
- whether the mucosal cells have changed — only a biopsy answers that.
What deserves calm but serious attention:
- Atrophic gastritis (K29.4) means a thinned lining and reduced acid production. It is a condition that is monitored: over time it can affect absorption of vitamin B12 and iron, and it belongs to the risk factors for which doctors plan endoscopic follow-up.
- Helicobacter pylori is the most common cause of chronic gastritis. It is a detectable and treatable infection.
- Red-flag symptoms that call for prompt medical review: vomiting blood or «coffee-ground» material, black tarry stools, severe abdominal pain, unexplained weight loss, difficulty swallowing, weakness and dizziness. They point not to gastritis itself but to a possible complication.
Seeing K29 in a document is a starting point, not a verdict: the condition is named, and the cause is what gets clarified next.
Neighbouring codes: K29 versus K25, K27, K21.0 and K30
Several neighbouring categories in block K20–K31 are easy to confuse — they all concern the upper abdomen, yet they mean different things:
| Code | Meaning | How it differs from K29 |
|---|---|---|
| K29 | Gastritis and duodenitis | Inflamed lining without a deep defect in the wall |
| K25 | Gastric ulcer | A deep defect of the stomach wall, not just surface inflammation |
| K27 | Peptic ulcer, site unspecified | An ulcer is present, but the documents do not state whether it is gastric or duodenal |
| K21.0 | Gastro-oesophageal reflux with oesophagitis | Inflammation of the oesophagus caused by reflux, not of the stomach itself |
| K30 | Dyspepsia | Symptoms are present, but no mucosal inflammation was found |
The practical point: K29 and K30 differ by whether visible inflammation exists, while K29 and K25/K27 differ by depth of damage. That is exactly why endoscopy remains the key investigation — these conditions cannot be told apart from symptoms alone.
Which examinations are usually ordered
The plan is set by your doctor, based on symptoms, age and history. It commonly includes:
- Gastroscopy (upper endoscopy) — direct inspection of the stomach and duodenal lining; the method that confirms or rules out the diagnosis.
- Mucosal biopsy during endoscopy — assessment of cell changes and detection of H. pylori.
- Helicobacter pylori testing — urea breath test, stool antigen test or serology; which one fits and how to prepare for it is decided by your doctor.
- Complete blood count — to avoid missing anaemia from prolonged inflammation or occult blood loss; unspecified iron-deficiency anaemia has its own code, D50.9.
- Blood chemistry, including liver and pancreatic markers, to separate stomach complaints from biliary and pancreatic ones.
- Abdominal ultrasound where indicated, to assess neighbouring organs.
If you have symptoms but no clarity about which specialist to see and what to describe, it helps to structure them first: character, duration, relation to meals and to medication. Sorting symptoms out does not replace a doctor, but it makes the consultation concrete and saves time. How gastritis arises and how it typically presents is a separate question worth clarifying.
What to do next
A sensible sequence once you see K29 in your documents:
- Check the form. Look for the digit after the dot:
K29.4(atrophic) andK29.8(duodenitis) are different situations with different follow-up. - Find the endoscopy report, if one exists. The substance is the description of the mucosa and the conclusion, not the code in the header.
- Establish the cause. The key question is whether Helicobacter pylori is present: how these tests work and what the results mean.
- Put your symptoms into a clear picture — when it hurts, whether it relates to meals, what makes it worse; use causes and symptoms of gastritis as a reference.
- Agree the plan with your doctor. Any treatment, stopping or replacing medication, eradication regimens and follow-up timing are medical decisions made in person, with your documents at hand.
- Do not delay with red-flag symptoms — vomiting blood, black stools, severe pain, weight loss. If you have no symptoms at all and found the code in an old chart, raise it at your next routine visit — like any suspicion that was not confirmed on follow-up.
The short version
K29 belongs to the digestive-diseases class and means gastritis and duodenitis: inflammation of the stomach and duodenal lining. It is a genuine diagnosis, but neither severe nor oncological; it names the condition, not its cause or its severity. Meaning comes from the subcategory digit, the endoscopy report and the Helicobacter pylori result. The decisions that follow belong to the doctor who sees you and your full record.
For informational purposes only
This article is for informational purposes only and does not constitute medical advice, diagnosis, or treatment. Please consult a healthcare professional for medical guidance.