Skip navigation

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

URL of this page:

Ketones in Urine

What is a Ketones in Urine Test?

A ketones in urine test measures ketone levels in your urine. Normally, the cells in your body use glucose (sugar) from your blood for energy. If your cells can't get enough glucose, your body breaks down fat for energy instead. This produces an acid called ketones, which can build up in your blood and urine.

Having some ketones in your urine is normal. But high ketone levels in urine may be a sign that your body is too acidic. This condition is called ketoacidosis. The most common type of ketoacidosis is a complication of diabetes called diabetic ketoacidosis (DKA). Diabetic ketoacidosis is a medical emergency that often develops quickly and can even be life-threatening.

If you have diabetes, a ketones in urine test can help find high ketone levels early so you can get treatment right away. Home tests are available if your health care provider recommends frequent testing.

Other names: ketones urine test, ketone test, urine ketones, ketone bodies

What is it used for?

A ketones in urine test is often used to help monitor people who are more likely to develop high levels of ketones. Your risk increases if you have a medical condition, diet, or exercise habits that cause your body to use fat for energy instead of glucose, such as:

Why do I need a ketones in urine test?

Your health care provider may order a ketones in urine test if you have diabetes or other conditions that increase your risk for developing high ketone levels. You may also need this test if you have symptoms of ketoacidosis, including:

  • Nausea or vomiting
  • Pain in your abdomen (belly)
  • Confusion
  • Trouble breathing
  • Feeling very tired or sleepy

What happens during a ketones in urine test?

A ketones in urine test can be done in the home or in a lab. If you go to a lab for your test, a health care professional will give you a cleansing wipe, a small container, and instructions for how to use the "clean catch" method to collect your urine sample. It's important to follow these instructions so that germs from your skin don't get into the sample:

  1. Wash your hands with soap and water and dry them.
  2. Open the container without touching the inside.
  3. Clean your genital area with the cleansing wipe:
    • For a penis, wipe the entire head (end) of the penis. If you have a foreskin, pull it back first.
    • For a vagina, separate the labia (the folds of skin around the vagina) and wipe the inner sides from front to back.
  4. Urinate into the toilet for a few seconds and then stop the flow. Start urinating again, this time into the container. Don't let the container touch your body.
  5. Collect at least an ounce or two of urine into the container. The container should have markings to show how much urine is needed.
  6. Finish urinating into the toilet.
  7. Put the cap on the container and return it as instructed.

If you have hemorrhoids that bleed or are having your menstrual period, tell your provider before your test.

If you do the test at home, follow the instructions that are in your test kit. Your kit will include a package of test strips. You will either hold a test strip in your urine stream or dip it into a cup of urine that you collect with the clean-catch method. It's important to follow the test instructions exactly. Talk with your provider if you have any questions about how you should test for ketones in urine.

Will I need to do anything to prepare for the test?

You may have to fast (not eat or drink) for a certain period of time before taking a ketones in urine test. Ask your provider if you need to fast or do any other type of preparation before your test.

Are there any risks to the test?

There is no known risk to having a ketones in urine test.

What do the results mean?

Your test results may be a specific number or listed as a "small," "moderate," or "large" amount of ketones. Normal results can vary depending on your diet, activity level, and other factors.

Because high ketone levels can cause serious health problems , be sure to talk with your provider about what is normal for you and what your results mean.

Learn more about laboratory tests, reference ranges, and understanding results.

Is there anything else I need to know about a ketones in urine test?

Ketone test kits are available at most pharmacies without a prescription. If you are planning to test for ketones at home, ask your provider which kit would be best for you. At-home urine tests are easy to do and can provide accurate results as long as you carefully follow all instructions.

Some people use at-home kits to test for ketones if they are on a ketogenic or "keto" diet to try to lose weight. On a keto diet you eat mainly foods with little or no carbohydrates. This makes your body use fat instead of glucose for energy, which may increase your ketone levels. A keto diet may not be right for people with certain conditions. Talk with your provider before going on a keto diet to see if it is right for you.


  1. American Diabetes Association [Internet]. Arlington (VA): American Diabetes Association; c1995-2022. Diabetes & DKA (Ketoacidosis); [cited 2022 Feb 26]; [about 5 screens]. Available from:
  2. Hinkle J, Cheever K. Brunner & Suddarth's Handbook of Laboratory and Diagnostic Tests. 2nd Ed, Kindle. Philadelphia: Wolters Kluwer Health, Lippincott Williams & Wilkins; c2014. Ketones: Urine; p. 351.
  3. Ghimire P, Dhamoon A. Ketoacidosis. StatPearls Publishing [Internet]. Treasure Island (FL): [last update 2021 Aug 11; cited 2022 Feb 26]; [about 8 screens]. Available from:
  4. Joslin Diabetes Center [Internet]. Boston: Joslin Diabetes Center, Harvard Medical School; c2022. Ketone Testing; [cited 2022 Feb 26]; [about 6 screens]. Available from:
  5. Masood W, Annamaraju P, Uppaluri KR. Ketogenic Diet. StatPearls Publishing [Internet]. Treasure Island (FL): [last update 2021 Nov 26; cited 2022 Feb 26]; [about 6 screens]. Available from:
  6. Merck Manual Consumer Version [Internet]. Kenilworth (NJ): Merck & Co., Inc.; c2022. Urinalysis and Urine Culture; [reviewed 2020 May; cited 2022 Feb 18]; [about 3 screens]. Available from:
  7. National Institute of Diabetes and Digestive and Kidney Diseases [Internet]. Bethesda (MD): U.S. Department of Health and Human Services; Managing Diabetes; [reviewed 2016 Dec; cited 2022 Feb 26]; [about 9 screens]. Available from: A. Ketogenic Diet for Obesity: Friend or Foe? Int J Environ Res Public Health [Internet]. 2014 Feb 19 [cited 2019 Feb 1]; 11(2): 2092-2107. Available from:
  8. Saint Francis Health System [Internet]. Tulsa (OK): Saint Francis Health System; c2010. Patient Information: Collecting a Clean Catch Urine Sample; [cited 2022 Feb 26]; [about 1 screen]. Available from:
  9. Scribd [Internet]. Scribd; c2018. Ketosis: What is ketosis? [updated 2017 Mar 21;[ cited 2019 Feb 1]; [about 2 screens]. Available from:
  10.[Internet]. OneCare Media; 2022. Urinalysis; [modified 2022 Jan 21; cited 2022 Feb 26]; [about 12 screens]. Available from:
  11. The Johns Hopkins Lupus Center [Internet]. Johns Hopkins Medicine; c2022. Urinalysis; [cited 2022 Feb 26]; [about 10 screens]. Available from:
  12. UF Health: University of Florida Health [Internet]. Gainesville (FL): University of Florida; c2022. Ketones urine test: Overview; [updated 2019 Sep 29; cited 2022 Feb 26]; [about 3 screens]. Available from:
  13. University of Rochester Medical Center [Internet]. Rochester (NY): University of Rochester Medical Center; c2022. Health Encyclopedia: Ketone Bodies (Urine); [cited 2022 Feb 26]; [about 4 screens]. Available from:

The information on this site should not be used as a substitute for professional medical care or advice. Contact a health care provider if you have questions about your health.