A ketogenic diet is generally safe for months at a time, but staying in ketosis for years introduces real risks that most short-term studies don’t capture. The concerns aren’t hypothetical: kidney stones, nutrient deficiencies, reduced bone density, and shifts in gut bacteria all show up in people who maintain strict keto beyond a year or two. Whether those risks outweigh the benefits depends on why you’re doing keto and how carefully you manage it.
What Happens to Your Body After Years on Keto
Most keto research covers 6 to 12 months. When you look at studies tracking people for two years or longer, the picture changes. A meta-analysis of patients on ketogenic diets found that keto did not significantly improve blood sugar control or weight loss compared to other diets over two years. The early advantages that make keto feel so effective, rapid weight loss and blood sugar drops, tend to level off as your body adapts and as long-term adherence becomes harder.
One large observational study published in The Lancet Public Health found that people in the lowest carbohydrate intake group had a modestly elevated risk of death from all causes, with a hazard ratio of 1.2 compared to moderate carbohydrate eaters. That’s not a dramatic increase, but it’s not reassuring either, and it suggests that very low carb intake sustained over decades may carry a small but real cost.
Kidney Stones Become More Likely
Kidney stone risk is one of the best-documented long-term side effects of keto. A meta-analysis found a pooled kidney stone incidence of 5.9% among people on a ketogenic diet followed for a median of about four years. For context, the general population develops kidney stones at a rate below 0.3% per year. In children treated with keto for epilepsy, the numbers are even higher: up to 25% over six years of continuous use.
The stones are most commonly uric acid stones, followed by calcium oxalate or mixed types. When you first enter ketosis, your uric acid levels spike by 25% to 50%, peaking around two to four weeks in. This happens because ketone bodies and uric acid compete for the same transporters in your kidneys. Your body eventually adapts, and uric acid levels typically return to normal by about eight weeks. But if you’re already prone to kidney stones or have elevated uric acid, this pattern can cause problems, especially with repeated cycling in and out of ketosis.
Nutrient Gaps Are Hard to Close
Keto restricts or eliminates most fruits, many vegetables, whole grains, and dairy in some versions of the diet. That creates predictable holes in your nutrition. Research on long-term keto patients found that the diet consistently failed to provide adequate folate, calcium, and magnesium based on standard dietary reference intakes. The limited quantities of fruits, vegetables, enriched grains, and dairy are the main drivers of these deficiencies.
What’s more striking is that supplementation only partially solved the problem. Even after patients started taking supplements, their intake of calcium, phosphorus, and magnesium remained inadequate in the majority of cases. This matters because calcium and magnesium deficiencies compound over time, contributing to weakened bones and other issues that may not show symptoms for years. If you’re staying on keto long term, basic multivitamins alone probably aren’t enough. You’d need targeted supplementation of calcium, vitamin D, B vitamins, and magnesium, and ideally periodic blood work to check levels.
Bone Density May Decline
The nutrient gaps described above have a downstream effect on your skeleton. Studies in children on long-term ketogenic diets for epilepsy found that bone mineral content declined after 15 months compared to healthy controls. A separate study of children aged 3 to 17 found lower bone density scores after periods ranging from six months to over six years on keto.
Most of this research comes from pediatric epilepsy patients, so it’s not a perfect comparison to healthy adults choosing keto for weight management. But the mechanism makes biological sense: chronic shortfalls in calcium, magnesium, and phosphorus reduce the raw materials your body needs to maintain bone. Adults who are postmenopausal or already at risk for osteoporosis should weigh this carefully.
Your Gut Bacteria Change in Significant Ways
An eight-week inpatient study using detailed stool analysis found that a ketogenic diet caused marked shifts in gut microbial communities, both in structure and function. One of the most consistent findings is a depletion of bifidobacteria, a group of beneficial bacteria linked to immune health and gut barrier integrity. The ketone body your liver produces during ketosis (beta-hydroxybutyrate) directly inhibits bifidobacterial growth.
This isn’t the same as the gut changes caused by a generic high-fat diet. Researchers ran controlled experiments comparing keto to high-fat, non-ketogenic diets and confirmed that ketosis itself drives the bifidobacterial depletion. The long-term consequences of reduced microbial diversity aren’t fully mapped out, but lower diversity is consistently associated with poorer metabolic and immune health in broader research.
Liver Fat Can Improve, at Least Initially
One area where keto shows genuine promise is fatty liver disease. A pilot study from Duke University found that patients with non-alcoholic fatty liver disease who followed a ketogenic diet showed significant improvements in liver fat accumulation, inflammation, and early-stage scarring on follow-up biopsies. Four out of five patients had measurable histologic improvement.
This makes physiological sense: when you drastically cut carbohydrates, your liver shifts from storing fat to burning it for ketone production. For people with significant liver fat, this can be a meaningful therapeutic benefit. However, the study was small, and it’s unclear whether these improvements hold over many years or whether the diet’s effects on cholesterol could eventually work against liver health in certain individuals.
Who Benefits Most, and Who Should Be Cautious
Keto’s risk profile depends heavily on context. For people with drug-resistant epilepsy, the diet has decades of clinical use behind it and the benefits often justify the side effects with proper medical monitoring. For people with type 2 diabetes, keto can produce impressive short-term results in blood sugar and medication reduction, but over two years, those advantages don’t appear to outpace other well-structured diets.
For otherwise healthy people using keto for weight management, the practical question is whether strict ketosis for years is worth the tradeoffs. The kidney stone risk is real. The nutrient deficiencies require active management. The bone density concerns, while drawn mostly from pediatric data, align with what you’d expect from chronic mineral shortfalls. And the gut microbiome changes raise questions that don’t have clear answers yet.
A middle path that many clinicians suggest is using keto in defined periods, for several months to achieve a specific metabolic goal, then transitioning to a less restrictive low-carb or Mediterranean-style pattern. This approach captures most of keto’s benefits while avoiding the compounding risks that emerge with multi-year use. If you do stay on keto long term, regular blood work tracking kidney function, uric acid, vitamin D, calcium, and lipids becomes important rather than optional.

