2024 ICD-10-CM Diagnosis Code K27

Peptic ulcer, site unspecified

ICD-10-CM Code:
K27
ICD-10 Code for:
Peptic ulcer, site unspecified
Is Billable?
Not Valid for Submission
Code Navigator:

Code Classification

  • Diseases of the digestive system
    (K00–K95)
    • Diseases of esophagus, stomach and duodenum
      (K20-K31)
      • Peptic ulcer, site unspecified
        (K27)

K27 is a non-specific and non-billable diagnosis code code, consider using a code with a higher level of specificity for a diagnosis of peptic ulcer, site unspecified. The code is not specific and is NOT valid for the year 2024 for the submission of HIPAA-covered transactions. Category or Header define the heading of a category of codes that may be further subdivided by the use of 4th, 5th, 6th or 7th characters.

Unspecified diagnosis codes like K27 are acceptable when clinical information is unknown or not available about a particular condition. Although a more specific code is preferable, unspecified codes should be used when such codes most accurately reflect what is known about a patient's condition. Specific diagnosis codes should not be used if not supported by the patient's medical record.

Specific Coding Applicable to Peptic ulcer, site unspecified

Non-specific codes like K27 require more digits to indicate the appropriate level of specificity. Consider using any of the following ICD-10-CM codes with a higher level of specificity when coding for peptic ulcer, site unspecified:

  • Use K27.0 for Acute peptic ulcer, site unspecified, with hemorrhage - BILLABLE CODE

  • Use K27.1 for Acute peptic ulcer, site unspecified, with perforation - BILLABLE CODE

  • Use K27.2 for Acute peptic ulcer, site unspecified, with both hemorrhage and perforation - BILLABLE CODE

  • Use K27.3 for Acute peptic ulcer, site unspecified, without hemorrhage or perforation - BILLABLE CODE

  • Use K27.4 for Chronic or unspecified peptic ulcer, site unspecified, with hemorrhage - BILLABLE CODE

  • Use K27.5 for Chronic or unspecified peptic ulcer, site unspecified, with perforation - BILLABLE CODE

  • Use K27.6 for Chronic or unspecified peptic ulcer, site unspecified, with both hemorrhage and perforation - BILLABLE CODE

  • Use K27.7 for Chronic peptic ulcer, site unspecified, without hemorrhage or perforation - BILLABLE CODE

  • Use K27.9 for Peptic ulcer, site unspecified, unspecified as acute or chronic, without hemorrhage or perforation - BILLABLE CODE

Patient Education


Peptic Ulcer

A peptic ulcer is a sore in the lining of your stomach or your duodenum, the first part of your small intestine. A burning stomach pain is the most common symptom. The pain:

  • Starts between meals or during the night
  • Briefly stops if you eat or take antacids
  • Lasts for minutes to hours
  • Comes and goes for several days or weeks

Peptic ulcers happen when the acids that help you digest food damage the walls of the stomach or duodenum. The most common cause is infection with a bacterium called Helicobacter pylori. Another cause is the long-term use of nonsteroidal anti-inflammatory medicines (NSAIDs) such as aspirin and ibuprofen. Stress and spicy foods do not cause ulcers, but can make them worse.

To see if you have an H. pylori infection, your doctor will test your blood, breath, or stool. Your doctor also may look inside your stomach and duodenum by doing an endoscopy or x-ray.

Peptic ulcers will get worse if not treated. Treatment may include medicines to reduce stomach acids or antibiotics to kill H. pylori. Antacids and milk can't heal peptic ulcers. Not smoking and avoiding alcohol can help. You may need surgery if your ulcers don't heal.

NIH: National Institute of Diabetes and Digestive and Kidney Diseases


[Learn More in MedlinePlus]

Code History

  • FY 2024 - No Change, effective from 10/1/2023 through 9/30/2024
  • FY 2023 - No Change, effective from 10/1/2022 through 9/30/2023
  • FY 2022 - No Change, effective from 10/1/2021 through 9/30/2022
  • FY 2021 - No Change, effective from 10/1/2020 through 9/30/2021
  • FY 2020 - No Change, effective from 10/1/2019 through 9/30/2020
  • FY 2019 - No Change, effective from 10/1/2018 through 9/30/2019
  • FY 2018 - No Change, effective from 10/1/2017 through 9/30/2018
  • FY 2017 - No Change, effective from 10/1/2016 through 9/30/2017
  • FY 2016 - New Code, effective from 10/1/2015 through 9/30/2016. This was the first year ICD-10-CM was implemented into the HIPAA code set.