Intermittent fasting and the ketogenic (keto) diet both lower insulin and shift the body toward using more fat for fuel, but they get there differently: fasting limits when you eat, while keto limits what you eat, mainly carbohydrates. This page compares how each works, what the evidence suggests, their practical pros and cons, what to consider for different goals, and what to know before combining them.
For weight loss, studies generally find that both work about as well as other approaches that reduce calories. The best choice is usually the one you can follow safely and consistently.
Table of Contents
How Each Works
Intermittent fasting
- Eating is limited to certain hours or days, creating longer periods with low insulin
- The liver's glycogen stores run down during the fast and ketone levels may rise modestly, especially on longer fasts
- Eating periods can include any foods, although food quality still matters
- The metabolic shift comes and goes: more pronounced during fasts, reversed after meals
Ketogenic diet
- Carbohydrates are cut very low (often around 20-50 g per day), keeping insulin lower throughout the day
- After an adjustment period, the body relies mainly on fat and ketones for fuel
- Meal timing can vary; the food pattern is what stays constant
- The aim is ongoing nutritional ketosis (blood ketones commonly above about 0.5 mmol/L)
Evidence Base for Each
Intermittent fasting evidence
- Weight loss: many trials show intermittent fasting produces weight loss similar to standard calorie reduction
- Blood sugar and insulin: some trials show improvements, often in line with the amount of weight lost
- Fatty liver: early studies are encouraging, again largely linked to weight loss
- Autophagy, brain health and longevity: mostly animal research; human evidence is limited
- Most human trials are small and last weeks to months
Ketogenic diet evidence
- Epilepsy: an established, medically supervised therapy for some people with drug-resistant epilepsy, particularly children
- Type 2 diabetes: studies show improvements in blood sugar, sometimes allowing medication reductions under medical supervision
- Weight loss: often faster at first, partly due to water loss; long-term results are broadly similar to other diets
- Migraine and mental health conditions: being studied; evidence is early
- LDL cholesterol can rise significantly in some people
Advantages of Fasting
- No food groups are off-limits
- Easier to fit around shared meals
- Usually less effect on high-intensity training, which relies on carbohydrates
- No need to track carbohydrates
- Simple rules that many people find easy to follow
- Flexible for travel and changing routines
Advantages of Keto
- Keeps insulin lower throughout the day, not just during fasting hours
- An established medical therapy for certain conditions, such as some forms of epilepsy
- No need to watch the clock
- Many people report reduced appetite once adapted
- Some people report steadier energy once adapted
Combining Them
Some people combine keto with time-restricted eating. Reasons people give include:
- Fasting often feels easier when already used to low-carb eating
- Starting a fast with less stored glycogen means ketones rise sooner
- Both approaches can reduce appetite for some people
There is little research on the combination, and it is not known to be better than either approach alone for most goals. It is also more demanding: the flexibility of fasting (eating any foods in the window) is lost, and it can be harder to meet nutritional needs in a short window on a restricted diet. For details, see our keto and fasting guide.
Medication Safety
If you take medication for diabetes, talk to your healthcare provider before starting keto, fasting or both. Insulin and sulfonylureas can cause dangerously low blood sugar when carbohydrate intake drops, and SGLT2 inhibitors combined with very low-carb diets or fasting have been linked to a serious condition called euglycemic ketoacidosis. Blood pressure medication may also need review. Keto and fasting are not suitable for people who are pregnant or breastfeeding, have a history of eating disorders, or have certain liver, kidney or pancreatic conditions.
Difficulties of Each
Fasting difficulties
- Hunger while adjusting
- Overeating during eating windows
- Working around social meals
- Disturbed sleep for some people early on
Keto difficulties
- “Keto flu” symptoms (headache, fatigue) while adapting, partly linked to fluid and sodium loss
- Cutting out many common foods, including most fruit, grains and legumes
- Harder to follow when eating out or traveling
- Reduced performance in high-intensity exercise, at least initially
- Possible rises in LDL cholesterol, constipation and difficulty getting enough fiber
- Long-term commitment when used as a medical therapy
By Goal
Weight loss (general)
Either can work if it helps you eat less overall. Keto often shows faster early weight loss, partly from water. Over the longer term, results tend to be similar, so the approach you can stick with matters most.
Type 2 diabetes
Both have been studied and both can improve blood sugar. Because both can interact with diabetes medications and cause low blood sugar, either should only be started with your healthcare provider's involvement. See fasting and diabetes.
Fatty liver
Weight loss is the main driver of improvement in fatty liver, and both approaches can help with that. Cutting sugary drinks and refined carbohydrates is helpful whichever you choose. See fasting and fatty liver.
Epilepsy / neurological conditions
Ketogenic diets are an established medical therapy for some types of epilepsy and must be run by a specialist team. Fasting is not an established treatment for these conditions.
Athletic performance
High-intensity and strength training rely on carbohydrates, so fasting with a normal diet is usually easier to combine with them. Some endurance athletes experiment with low-carb eating, with mixed results. The right choice depends on your sport.
Migraine
Keto has been studied for migraine, but the evidence is still limited. For some people, skipping meals is itself a migraine trigger. Discuss any change with your healthcare provider. See fasting and migraines.
Frequently Asked Questions
Can I do keto without fasting?
Yes. Many people on keto eat three meals a day. Staying in ketosis depends on carbohydrate intake, not meal timing.
Will fasting put me into ketosis?
A 16:8 fast on a normal diet usually produces only small rises in ketones. Longer fasts (around a day or more) produce higher levels. Combining keto with fasting tends to keep ketones highest, but higher ketone levels are not a goal in themselves for most people.
Is keto safer than fasting?
They have different risks. Keto calls for attention to fiber, micronutrients and cholesterol over the long term; fasting calls for attention to hydration, electrolytes and eating enough overall. Both can be risky for people with diabetes on medication and for some other groups. Talk to your healthcare provider if you have a medical condition.
What about cyclical keto?
This means following keto most days with planned higher-carbohydrate days. It is popular with some athletes but has not been studied much.
Can I be in ketosis without restricting carbs?
Only temporarily, for example during a longer fast or after prolonged exercise. Staying in ketosis requires ongoing carbohydrate restriction or continued fasting.
Which is better for women’s hormones?
Research is limited. Some women notice cycle changes with either approach, especially stricter versions. Gentler fasting schedules are often easier to tolerate. If your periods change, ease off and talk to your healthcare provider. See our fasting guide for women.
The Bottom Line
Intermittent fasting and keto both lower insulin and increase fat burning, by different routes. Fasting is more flexible; keto keeps insulin lower throughout the day but restricts many foods. For weight loss, long-term results are broadly similar, so the best option is the one you can follow safely. Keto has a specific, medically supervised role in some forms of epilepsy. Combining the two is more demanding and has not been shown to be better. If you have diabetes or take medication, talk to your healthcare provider before starting either.