2024 ICD-10-CM Diagnosis Code Z86.31

Personal history of diabetic foot ulcer

ICD-10-CM Code:
Z86.31
ICD-10 Code for:
Personal history of diabetic foot ulcer
Is Billable?
Yes - Valid for Submission
Code Navigator:

Code Classification

  • Factors influencing health status and contact with health services
    (Z00–Z99)
    • Persons with potential health hazards related to family and personal history and certain conditions influencing health status
      (Z77-Z99)
      • Personal history of certain other diseases
        (Z86)

Z86.31 is a billable diagnosis code used to specify a medical diagnosis of personal history of diabetic foot ulcer. The code is valid during the current fiscal year for the submission of HIPAA-covered transactions from October 01, 2023 through September 30, 2024. The code is exempt from present on admission (POA) reporting for inpatient admissions to general acute care hospitals.

This code describes a circumstance which influences the patient's health status but not a current illness or injury. The code is unacceptable as a principal diagnosis.

Approximate Synonyms

The following clinical terms are approximate synonyms or lay terms that might be used to identify the correct diagnosis code:

  • H/O: Admission in last year for diabetes foot problem
  • History of diabetic foot ulcer

Clinical Classification

Tabular List of Diseases and Injuries

The following annotation back-references are applicable to this diagnosis code. The Tabular List of Diseases and Injuries is a list of ICD-10-CM codes, organized "head to toe" into chapters and sections with coding notes and guidance for inclusions, exclusions, descriptions and more.


Type 2 Excludes

Type 2 Excludes
A type 2 excludes note represents "Not included here". An excludes2 note indicates that the condition excluded is not part of the condition represented by the code, but a patient may have both conditions at the same time. When an Excludes2 note appears under a code, it is acceptable to use both the code and the excluded code together, when appropriate.

Index to Diseases and Injuries References

The following annotation back-references for this diagnosis code are found in the injuries and diseases index. The Index to Diseases and Injuries is an alphabetical listing of medical terms, with each term mapped to one or more ICD-10-CM code(s).

Code Edits

The Medicare Code Editor (MCE) detects and reports errors in the coding of claims data. The following ICD-10-CM Code Edits are applicable to this code:

  • Unacceptable principal diagnosis - There are selected codes that describe a circumstance which influences an individual's health status but not a current illness or injury, or codes that are not specific manifestations but may be due to an underlying cause. These codes are considered unacceptable as a principal diagnosis.

Present on Admission (POA)

Z86.31 is exempt from POA reporting - The Present on Admission (POA) indicator is used for diagnosis codes included in claims involving inpatient admissions to general acute care hospitals. POA indicators must be reported to CMS on each claim to facilitate the grouping of diagnoses codes into the proper Diagnostic Related Groups (DRG). CMS publishes a listing of specific diagnosis codes that are exempt from the POA reporting requirement. Review other POA exempt codes here.

CMS POA Indicator Options and Definitions

POA IndicatorReason for CodeCMS will pay the CC/MCC DRG?
YDiagnosis was present at time of inpatient admission.YES
NDiagnosis was not present at time of inpatient admission.NO
UDocumentation insufficient to determine if the condition was present at the time of inpatient admission.NO
WClinically undetermined - unable to clinically determine whether the condition was present at the time of inpatient admission.YES
1Unreported/Not used - Exempt from POA reporting. NO

Convert Z86.31 to ICD-9-CM

  • ICD-9-CM Code: V12.29 - Hx-endocr/meta/immun dis
    Approximate Flag - The approximate mapping means there is not an exact match between the ICD-10 and ICD-9 codes and the mapped code is not a precise representation of the original code.

Patient Education


Diabetic Foot

What is diabetes?

Diabetes is a disease in which your blood glucose, or blood sugar, levels are too high. Glucose comes from foods you eat. The cells of your body need glucose for energy. A hormone called insulin helps the glucose get into your cells.

With type 1 diabetes, your body doesn't make insulin. With type 2 diabetes, your body doesn't make or use insulin well. Without enough insulin, glucose can't get into your cells as quickly as usual. The glucose builds up in your blood and causes high blood sugar levels.

How does diabetes cause foot problems?

Foot problems are common in people with diabetes. They can happen over time when high blood sugar damages the nerves and blood vessels in the feet. The nerve damage, called diabetic neuropathy, can cause numbness, tingling, pain, or a loss of feeling in your feet.

If you can't feel pain, you may not know when you have a cut, blister, or ulcer (open sore) on your foot. A wound like that could get infected. The infection may not heal well because the damaged blood vessels can cause poor blood flow in your feet.

Having an infection and poor blood flow can lead to gangrene. That means the muscle, skin, and other tissues start to die. If you have gangrene or a foot ulcer that does not get better with treatment, you may need an amputation. This is a surgery to cut off your damaged toe, foot, or part of your leg. It may prevent a bad infection from spreading and could save your life.

But there's a lot you can do to prevent a foot wound from becoming a major health problem.

How can I protect my feet if I have diabetes?

The best way to protect your feet is by controlling your blood sugar levels every day. This will help keep nerve and blood vessel damage from getting worse. The next step is to keep the skin of your feet healthy.

Good foot care for people with diabetes includes:

  • Checking your feet every day. Look for cuts, redness, and other changes in the skin and toenails, including warts or other spots that your shoes could rub. Make sure to check the bottoms of your feet too.
  • Washing your feet every day. Use warm water and soap. Don't soak your feet because that can dry out your skin. After you dry your feet, you can use talcum powder or cornstarch between your toes. They soak up moisture that can cause infection. If you use lotion, don't apply it between your toes.
  • Asking your doctor how to remove corns and calluses safely. Thick skin on your feet can rub and lead to sores. But removing it the wrong way could damage your skin. So you don't want to cut the skin or use medicated pads or liquid removers.
  • Trimming your toenails straight across with a clipper. If it's hard for you to trim your own toenails, or if they're thick or curve into the skin, have a podiatrist (foot doctor) do it for you.
  • Always wearing well-fitting shoes and socks or slippers to protect your feet when walking. You don't want to walk barefoot, even indoors. And be sure your shoes are smooth inside. A seam or pebble could rub your skin raw.
  • Protecting your feet from heat and cold. Use sunscreen on exposed skin and don't walk barefoot at the beach. In cold weather, wear warm socks instead of warming your feet near a heater or fireplace.
  • Keeping the blood flowing in your feet. Put your feet up when you're sitting. Wiggle your toes and circle your feet throughout the day. Don't wear tight socks. And get plenty of activity that's not too hard on the feet, such as walking.
  • Getting your feet checked at your health care visits. Even if you haven't noticed a problem, it's good to have your health care provider look at your feet.

When should I see my health care provider about diabetic foot problems?

Serious foot problems can develop quickly. See your health care provider right away if you notice:

  • A cut, blister, or bruise on your feet that doesn't start to heal in a few days
  • Red, warm, or painful skin on your feet
  • A callus with dried blood inside
  • A foot infection that becomes black and smells bad that could be gangrene

Remember, controlling your blood sugar and caring for your feet every day are the best steps you can take to prevent serious diabetic foot problems.

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.