Overview

Diabetic ketoacidosis is a serious complication of diabetes.

The condition develops when the body can't produce enough insulin. Insulin plays a key role in helping sugar — a major source of energy for muscles and other tissues — enter cells in the body.

Without enough insulin, the body begins to break down fat as fuel. This causes a buildup of acids in the bloodstream called ketones. If it's left untreated, the buildup can lead to diabetic ketoacidosis.

If you have diabetes or you're at risk of diabetes, learn the warning signs of diabetic ketoacidosis and when to seek emergency care.

Symptoms

Diabetic ketoacidosis symptoms often come on quickly, sometimes within 24 hours. For some, these symptoms may be the first sign of having diabetes. Symptoms might include:

  • Being very thirsty
  • Urinating often
  • Feeling a need to throw up and throwing up
  • Having stomach pain
  • Being weak or tired
  • Being short of breath
  • Having fruity-scented breath
  • Being confused

More-certain signs of diabetic ketoacidosis — which can show up in home blood and urine test kits — include:

  • High blood sugar level
  • High ketone levels in urine

When to see a doctor

If you feel ill or stressed or you've had a recent illness or injury, check your blood sugar level often. You might also try a urine ketone test kit you can get at a drugstore.

Contact your health care provider right away if:

  • You're throwing up and can't keep down food or liquid
  • Your blood sugar level is higher than your target range and doesn't respond to home treatment
  • Your urine ketone level is moderate or high

Seek emergency care if:

  • Your blood sugar level is higher than 300 milligrams per deciliter (mg/dL), or 16.7 millimoles per liter (mmol/L) for more than one test.
  • You have ketones in your urine and can't reach your health care provider for advice.
  • You have many symptoms of diabetic ketoacidosis. These include excessive thirst, frequent urination, nausea and vomiting, stomach pain, weakness or fatigue, shortness of breath, fruity-scented breath, and confusion.

Remember, untreated diabetic ketoacidosis can lead to death.

From Mayo Clinic to your inbox

Sign up for free, and stay up to date on research advancements, health tips and current health topics, like COVID-19, plus expertise on managing health.

To provide you with the most relevant and helpful information, and understand which information is beneficial, we may combine your email and website usage information with other information we have about you. If you are a Mayo Clinic patient, this could include protected health information. If we combine this information with your protected health information, we will treat all of that information as protected health information and will only use or disclose that information as set forth in our notice of privacy practices. You may opt-out of email communications at any time by clicking on the unsubscribe link in the e-mail.

Causes

Sugar is a main source of energy for the cells that make up muscles and other tissues. Insulin helps sugar enter the cells in the body.

Without enough insulin, the body can't use sugar to make the energy it needs. This causes the release of hormones that break down fat for the body to use as fuel. This also produces acids known as ketones. Ketones build up in the blood and eventually spill over into the urine.

Diabetic ketoacidosis usually happens after:

  • An illness. An infection or other illness can cause the body to make higher levels of certain hormones, such as adrenaline or cortisol. These hormones work against the effects of insulin and sometimes cause diabetic ketoacidosis. Pneumonia and urinary tract infections are common illnesses that can lead to diabetic ketoacidosis.
  • A problem with insulin therapy. Missed insulin treatments can leave too little insulin in the body. Not enough insulin therapy or an insulin pump that doesn't work right also can leave too little insulin in the body. Any of these problems can lead to diabetic ketoacidosis.

Other things that can lead to diabetic ketoacidosis include:

  • Physical or emotional trauma
  • Heart attack or stroke
  • Pancreatitis
  • Pregnancy
  • Alcohol or drug misuse, particularly cocaine
  • Certain medicines, such as corticosteroids and some diuretics

Risk factors

The risk of diabetic ketoacidosis is highest if you:

  • Have type 1 diabetes
  • Often miss insulin doses

Sometimes, diabetic ketoacidosis can occur with type 2 diabetes. In some cases, diabetic ketoacidosis may be the first sign of having diabetes.

Complications

Diabetic ketoacidosis is treated with fluids, electrolytes — such as sodium, potassium and chloride — and insulin. Perhaps surprisingly, the most common complications of diabetic ketoacidosis are related to this lifesaving treatment.

Possible complications of the treatments

Treatment complications include:

  • Low blood sugar, also known as hypoglycemia. Insulin allows sugar to enter cells. This causes the blood sugar level to drop. If the blood sugar level drops too quickly, the drop can lead to low blood sugar.
  • Low potassium, also known as hypokalemia. The fluids and insulin used to treat diabetic ketoacidosis can cause the potassium level to drop too low. A low potassium level can affect the heart, muscles and nerves. To avoid this, potassium and other minerals are usually given with fluid replacement as part of the treatment of diabetic ketoacidosis.
  • Swelling in the brain, also known as cerebral edema. Adjusting the blood sugar level too quickly can cause the brain to swell. This appears to be more common in children, especially those with newly diagnosed diabetes.

Untreated, diabetic ketoacidosis can lead to loss of consciousness and, eventually, death.

Prevention

There are many ways to prevent diabetic ketoacidosis and other diabetes complications.

  • Manage your diabetes. Make healthy eating and physical activity part of your daily routine. Take diabetes medicines or insulin as directed.
  • Monitor your blood sugar level. You might need to check and record your blood sugar level at least 3 to 4 times a day, or more often if you're ill or stressed. Careful monitoring is the only way to make sure that your blood sugar level stays within your target range.
  • Adjust your insulin dosage as needed. Talk to your health care provider or diabetes educator about how to make your insulin dosage work for you. Consider factors such as your blood sugar level, what you eat, how active you are, and whether you're ill. If your blood sugar level begins to rise, follow your diabetes treatment plan to return your blood sugar level to your target range.
  • Check your ketone level. When you're ill or stressed, test your urine for excess ketones with a urine ketones test kit. You can buy test kits at a drugstore. If your ketone level is moderate or high, contact your health care provider right away or seek emergency care. If you have low levels of ketones, you may need to take more insulin.
  • Be prepared to act quickly. If you think you have diabetic ketoacidosis because your blood sugar is high and you have too many ketones in your urine, seek emergency care.

Diabetes complications are scary. But don't let fear keep you from taking good care of yourself. Follow your diabetes treatment plan carefully. Ask your diabetes treatment team for help when you need it.

Oct. 06, 2022
  1. DKA (ketoacidosis) and ketones. American Diabetes Association. https://diabetes.org/diabetes/dka-ketoacidosis-ketones. Accessed Sept. 17, 2022.
  2. Diabetic ketoacidosis (DKA). Merck Manual Professional Version. https://www.merckmanuals.com/professional/endocrine-and-metabolic-disorders/diabetes-mellitus-and-disorders-of-carbohydrate-metabolism/diabetic-ketoacidosis-dka?query=Diabetic ketoacidosis (DKA). Accessed Sept. 17, 2022.
  3. Hirsch IB, et al. Diabetic ketoacidosis and hyperosmolar hyperglycemic state in adults: Clinical features, evaluation, and diagnosis. https://www.uptodate.com/contents/search. Accessed Sept. 17, 2022.
  4. Hirsch IB, et al. Diabetic ketoacidosis and hyperosmolar hyperglycemic state in adults: Treatment. https://www.uptodate.com/contents/search. Accessed Sept. 17, 2022.
  5. Ferri FF. Diabetic ketoacidosis. In: Ferri's Clinical Advisor 2023. Elsevier; 2023. https://www.clinicalkey.com. Accessed Sept. 17, 2022.
  6. Evans K. Diabetic ketoacidosis: Update on management. Clinical Medicine. 2019; doi:10.7861/clinmed.2019-0284.