Ketones in your urine are a sign that your body is burning fat for fuel instead of its usual go-to energy source: glucose. When glucose runs low or your cells can’t use it properly, the liver converts fat into molecules called ketones, and some of those ketones spill into your urine. A urine test can detect them, which is why this simple test matters for people with diabetes and for anyone following a very low-carb diet.
What Are Ketones In Your Urine?
Ketones are acids your liver makes when fat becomes a major energy source. Your body normally runs on glucose, a sugar it gets from the food you eat. When glucose isn’t available or can’t get into your cells, the liver switches to breaking down fat, and ketones are the byproduct of that process.
There are three main ketones your body produces: acetoacetate, beta-hydroxybutyrate, and acetone. Urine test strips mainly detect acetoacetate. That detail matters, because it means a urine test doesn’t capture the full picture of what’s happening in your blood. A blood ketone meter, which measures beta-hydroxybutyrate, is often more useful in medical settings.
Your kidneys filter ketones out of your blood and send them into your urine. So when ketones show up on a urine strip, it’s a signal that ketone levels in your blood have risen enough to spill over. Small amounts can be normal. Large amounts are a warning sign.
What Causes Ketones to Appear in Urine?
The cause comes down to one basic situation: your cells aren’t getting enough glucose, or they can’t use the glucose that’s there. Several very different circumstances can trigger this.
- Fasting or skipping meals. Going many hours without eating lowers glucose and pushes the body toward fat burning.
- Very low-carbohydrate diets. Eating few carbs on purpose can raise ketones as part of a planned diet.
- Strenuous exercise. Intense activity can deplete glucose stores and increase fat use.
- Uncontrolled diabetes. When insulin is too low or missing, glucose can’t enter cells even if there’s plenty in the blood. This is the most dangerous cause.
- Illness, infection, or severe stress. These raise stress hormones that work against insulin.
- Pregnancy. Some ketones can appear, especially with vomiting or poor intake, and this needs medical attention.
- Alcohol use. Heavy drinking can disrupt metabolism and, in some cases, cause a serious condition called alcoholic ketoacidosis.
The cause matters enormously. Ketones from a planned low-carb diet are usually not a medical emergency. Ketones from uncontrolled diabetes can be life-threatening. The number on the strip alone doesn’t tell you which situation you’re in.
When Are Ketones in Urine a Medical Emergency?
In people with diabetes, high ketones can signal diabetic ketoacidosis, often called DKA. This is a serious condition that can become life-threatening and needs emergency care. It happens most often in type 1 diabetes, but it can also occur in type 2 diabetes under certain conditions.
DKA develops when insulin is too low for too long. Without insulin, glucose builds up in the blood but can’t get into cells. The body turns to fat for fuel and produces ketones fast. The blood becomes acidic, which affects how organs work.
Warning signs to take seriously include:
- Thirst and frequent urination
- High blood sugar readings
- Nausea, vomiting, or stomach pain
- Fruity or acetone-like breath
- Confusion, drowsiness, or trouble staying awake
- Rapid breathing or shortness of breath
If you have diabetes and these symptoms appear alongside high ketones, seek emergency care right away. Do not wait to see if it improves on its own. DKA is treatable when caught early and dangerous when ignored.
One clarification worth knowing: not everyone with ketones in their urine is in danger. A person on a ketogenic diet may have moderate ketones and feel completely fine. The difference is context — blood sugar levels, symptoms, and whether you have diabetes.
How Is a Urine Ketone Test Done?
A urine ketone test is simple and can be done at home or in a clinic. You dip a test strip into a urine sample and wait for a color change. The strip changes color based on how much acetoacetate is present, and you compare it to a chart on the bottle.
Results usually come as negative, trace, small, moderate, or large. Some strips use a numerical scale instead. These categories are rough guides, not precise measurements. The strips can also give false readings in some situations, and they don’t detect beta-hydroxybutyrate, the ketone that rises first and highest in DKA.
Because of these limits, blood ketone testing is often preferred in medical settings, especially for people with type 1 diabetes who need to monitor for DKA. Blood meters measure beta-hydroxybutyrate directly and give a more current picture. If you have diabetes and your care team has recommended blood ketone testing, that guidance takes priority over urine strips.
Ketones From Dieting vs. Ketones From Diabetes
This is the distinction that trips people up most. Two people can have ketones in their urine for completely different reasons, with completely different meanings.
| Feature | Dietary ketosis | Diabetic ketoacidosis |
|---|---|---|
| Trigger | Low carb intake, on purpose | Too little insulin |
| Blood sugar | Usually normal | Often high |
| How you feel | Generally fine | Sick, nauseated, confused |
| Urgency | Usually not an emergency | Medical emergency |
In dietary ketosis, blood sugar stays in a normal range and the body handles the ketones without becoming dangerously acidic. In DKA, blood sugar is usually high and the blood becomes acidic. The symptoms are very different.
There is a less common condition called euglycemic DKA, where blood sugar is near normal but ketones are still dangerously high. It has been linked to certain diabetes medications in the SGLT2 inhibitor class. This is why symptoms and context matter as much as the numbers.
What Do Different Ketone Levels Mean?
Urine ketone strips report results in categories rather than exact amounts. The meaning of each category depends heavily on why you’re testing.
For a person with diabetes checking for DKA, even moderate or large ketones are a reason to act and contact a healthcare provider. Trace or small ketones may still warrant attention if blood sugar is high or symptoms are present. Clinical guidance for diabetes generally treats any more than a small amount of ketones, combined with high blood sugar, as a situation requiring prompt medical advice.
For a person on a low-carb diet, moderate ketones may simply reflect that the diet is working as intended. There’s no universal “good” number for dietary ketosis, and the evidence on ideal ketone ranges for health goals is not settled.
The key point: a urine ketone result is one piece of information. It means little without knowing your blood sugar, your symptoms, and your medical history. If you have diabetes and you’re unsure how to interpret a result, contact your care team rather than guessing.
Can Ketones in Urine Be Prevented?
Whether ketones can be prevented depends entirely on the cause. For diabetes-related ketones, prevention centers on managing insulin and blood sugar carefully.
General measures that clinicians often discuss with people who have diabetes include:
- Taking insulin as prescribed and never skipping doses
- Checking blood sugar more often during illness or stress
- Testing for ketones when blood sugar is high or when you feel unwell
- Staying hydrated, especially during illness
- Having a sick-day plan from your care team
Illness is a common trigger because infection and stress raise hormones that work against insulin. Even a cold or flu can push blood sugar up and ketones along with it. This is why sick-day planning matters for people with diabetes.
For diet-related ketones, there’s nothing to prevent — they’re the expected result of eating very few carbs. If you’re following a ketogenic diet, it’s worth discussing it with a healthcare provider, especially if you have diabetes, kidney disease, or take medications that affect blood sugar.
When Should You See a Doctor?
See a doctor if you have ketones in your urine and you’re not sure why, or if they appear alongside symptoms like nausea, vomiting, confusion, or rapid breathing. For people with diabetes, high ketones plus high blood sugar is a reason to seek care promptly.
If you don’t have diabetes and find ketones on a home test after fasting or dieting, they’re often not a concern on their own. But persistent ketones without an obvious cause, or ketones with unexplained weight loss, fatigue, or other symptoms, deserve a medical evaluation.
Pregnancy is a special case. Ketones during pregnancy, especially with vomiting or poor eating, should be discussed with a healthcare provider. Guidance for pregnant women differs from general advice, and no single home-testing rule applies to everyone.
Frequently Asked Questions
What does it mean if ketones are in your urine?
It means your body is burning fat for fuel instead of glucose, and some ketones have spilled into your urine. This can be harmless from dieting or fasting, or a warning sign in uncontrolled diabetes.
Are ketones in urine dangerous?
They can be dangerous in people with diabetes, where high ketones may signal diabetic ketoacidosis, a medical emergency. In people without diabetes following a low-carb diet, ketones are usually not dangerous on their own.
Can you have ketones in your urine without diabetes?
Yes. Fasting, very low-carb diets, strenuous exercise, illness, and heavy alcohol use can all raise urine ketones in people without diabetes. Persistent ketones without a clear cause should be checked by a doctor.
Should I go to the hospital if I have ketones in my urine?
Go to the hospital if you have diabetes and high ketones with symptoms like vomiting, confusion, fruity breath, or rapid breathing. If you feel well and don’t have diabetes, a routine check with your doctor is usually enough.

