Skip to content
ResearchFastingMetabolic HealthKetoKetonesWeight Loss

How Your Body Switches from Sugar to Ketones When You Fast

After 12 to 36 hours of fasting, your body typically switches from burning sugar to burning fat and making ketone bodies. This is called the metabolic switch. A 2018 review by Anton and colleagues describes what the switch sets in motion, and this article goes through how much of it has been shown in humans.

Published: March 9, 202610 min

What happens in the body when you fast?

Think of the body as a hybrid car. Most of the time it runs on sugar from your food. But when the tank is running low, typically after 12 to 36 hours without food, it switches to its backup fuel: fat. The liver's store of sugar (called glycogen) is used up, and the body starts to burn fat and make some small fuel molecules called ketone bodies. That changeover is known as the metabolic switch.

In 2018, Anton and colleagues from the University of Florida and the US National Institute on Aging published a review in the journal Obesity that pulls together the research on exactly this changeover. Their point: the switch is the key to understanding why intermittent fasting has so many possible health benefits.

Intermittent fasting is an umbrella term for several ways of fasting: every other day (abbreviated ADF), 5:2 (normal eating five days, very few calories two days) and time-restricted eating, for example 16:8, where you fast for 16 hours and eat within 8 hours. What they all have in common is that they regularly switch the body into fat-burning.

In short: Typically somewhere between 12 and 36 hours into a fast, the liver's sugar store is empty, and the body switches to burning fat and making ketone bodies. It is an old mechanism the body inherited from a time when food was not always within reach. In animal studies the switch calms inflammation and starts a clear-out in the cells, and it gives the brain an alternative fuel. Intermittent fasting is simply a modern way to use that old strategy.

From sugar to ketones: an old survival tool

The metabolic switch is not a modern invention. It is a system our ancestors depended on. During times without food, the body automatically moved to burning fat and making ketones, a fuel that keeps us alive and that, in animal studies, protects brain cells and other organs. The researchers describe how the switch sets off a series of helpful things:

  • Fat is released: the body goes from storing fat to burning it for energy.
  • Ketone bodies form: especially one called BHB, which the brain and muscles can use as clean fuel.
  • The muscles: in humans, some studies suggest that people on intermittent fasting lose a smaller share of lean mass, which is mostly muscle, than on an ordinary diet where you eat a little less all the time. The researchers stress that this needs more study.
  • The cells clear out: in animal studies, fasting appears to start the body's own clean-up (called autophagy), where the cells break down and reuse their worn-out parts. In humans this is hard to measure directly.

More than just eating less

An important point in the review is that intermittent fasting is not only about fewer calories. The switch itself sets off some helpful processes that eating a little less all day does not do in the same way:

  • Better blood-sugar control: the cells get better at taking up and using sugar, so the body does not have to make as much insulin.
  • Less inflammation: ketones appear to calm the low, ongoing inflammation in the body that is linked to many chronic diseases. This is best documented in animal studies.
  • The brain: in cell and animal studies, BHB appears to switch on BDNF, a substance that works like fertilizer for brain cells and helps memory and learning. In humans, it has not been shown that fasting measurably improves memory or attention, as our article on fasting and the brain explains.
  • Slower aging: fasting turns down the body's "build and grow" state, and in animal studies that seems to slow some of the changes that come with age.

What controls the switch in the body?

You do not need to know all the molecules involved, but two of them are easy to grasp with an everyday image:

  • The body's "low-fuel light" (AMPK): an enzyme that switches on when the cells are low on energy. It turns up fat burning and the clear-out in the cells.
  • The body's "build and grow" button (mTOR): it is on when we eat and off when we fast. When it switches off, the cells get the chance to repair and recycle instead of building new.

Together they move the body from "store and grow" to "burn and clear out". That is the heart of what fasting does.

The metabolic switch over time The body's fuel changes during a fast. Sugar use falls once the liver's store is used up, typically after 12 to 36 hours, and at the same time ketone production rises. The figure shows a switch at hour 12. Eating Running on sugar Switching to fat More ketones Ketosis High Low 0 12 18 24 36 Hours since the last meal Sugar use Ketone production
The body first runs on sugar. When the liver's sugar store is empty, the body switches to fat and ketones. The figure shows the switch at hour 12, but it typically happens between 12 and 36 hours after the last meal, depending on how full the store is. Exercise speeds up the switch.

When does the switch happen?

According to the researchers, the metabolic switch usually happens after 12 to 36 hours of fasting, depending on how full the liver's sugar store is and how active you are. Exercise can speed it up quite a bit, because physical activity empties the sugar store faster.

Different ways to fast

Four ways to fast

MethodHow it worksHow often
Every other dayAlternating days of normal eating and days of fasting or very few caloriesOver the longer term
5:2Normal eating five days, very few calories two days a weekOver the longer term
16:8Eat within 8 hours, fast the other 16 hoursDaily
20:4Eat within 4 hours, fast the other 20 hoursDaily (more demanding)
The four methods differ in how often and how long you fast. What they have in common is that they regularly switch on the metabolic switch.

What to keep in mind

Many of the studies behind this were done in animals (mice and rats), and there is still a lack of large, long-term trials in humans. People also respond differently to fasting, and researchers do not yet know which method is best for which goal. So this is a well-described but still young field.

What does this mean in practice?

The point is that fasting is not about starving yourself, but about using the body's ability to change fuel. Here is how to do it in practice:

  • Let the night count: the fast starts after dinner, so sleep takes care of a large part of it.
  • Get moving: a walk or other exercise during the fast speeds up the switch.
  • The main thing is to stick with it: whether you choose 16:8, 5:2 or every other day, it is the repetition that gives the results.

If you want to start, begin gently with a 14-hour fast, for example from 7 pm to 9 am the next morning, and build up gradually to 16:8.

Before you start: if you are being treated for diabetes, your dose may need adjusting first, and some groups should fast only after talking it through with their doctor.

Who is this for?

Most healthy adults can reach the metabolic switch with fasting or keto. But some groups should be extra careful:

  • If you have type 1 diabetes: there is a risk of a dangerous condition called ketoacidosis, where ketone and acid levels in the blood rise out of control. Long fasts are not advised without specialist supervision.
  • If you take medication for diabetes (insulin, sulfonylureas, which are tablets that make the pancreas release more insulin, or other blood-sugar-lowering tablets): fasting can lower blood sugar too much, so the dose needs to be adjusted by your doctor.
  • If you take an SGLT2 inhibitor (such as dapagliflozin, empagliflozin): the combination with fasting and ketosis can cause a dangerous state with normal blood sugar but high ketones (euglycemic ketoacidosis). Talk to your doctor before you extend your fasting windows.
  • If you have bipolar disorder: In a small study without a control group (International Journal of Neuropsychopharmacology, 2000), 20 people with bipolar disorder on lithium fasted during Ramadan, when people neither eat nor drink during daylight hours. Of these, 45% relapsed, most of them into mania, and the relapses were not related to their blood lithium level. The researchers point instead to the way Ramadan changes the daily rhythm. Fast only with your psychiatrist's agreement.
  • Lithium (a mood-stabilizing medication for bipolar disorder): Your kidneys get rid of lithium along with salt, so the salt loss in the first weeks of keto or fasting can change your lithium level. Start only with your psychiatrist's agreement, and have the level checked.
  • Signs of mania: If you sleep much less than usual without feeling tired, have unusually high energy, or your thoughts race during your first months of keto or fasting, contact your doctor or psychiatrist the same day. This is called hypomania, or mania in its more severe form. It applies even if you have never had bipolar disorder.
  • SSRI or SNRI antidepressants can cause too little sodium (salt) in the blood, especially in older people and people with low body weight, and the salt loss during fasting and at the start of keto pulls the same way. Headache and nausea can be signs of it, so have your sodium checked, and contact your doctor the same day if you become confused.
  • Blood pressure or diuretic medication: Fasting lowers blood pressure, and extra salt or diuretics can cause dizziness and shifted blood salts. Your doctor needs to adjust the dose.
  • If you are pregnant or breastfeeding: long fasts are not advised, because the need for energy and sugar is higher for both mother and baby.
  • If you have or have had an eating disorder: fasting can reawaken old patterns. Seek help from a professional.
  • If you are under 18: fast only after talking it through with your doctor, because your body and brain are still growing.
  • If you have kidney or liver disease: the changed load should be assessed by your doctor.
  • If you are untrained or have low body weight: long fasts can cause muscle loss and fatigue. Start with shorter windows of 12 to 14 hours.

For healthy adults with normal metabolism, 16:8 and other mild forms of fasting are usually safe. Start gradually, and contact your doctor if you feel dizzy, have palpitations or notice marked fatigue.

Related Reading

The metabolic switch affects several systems in the body. These articles dig into the mechanisms fasting sets off:

Intermittent FastingMetabolic SwitchBHBAutophagyFat OxidationMuscle PreservationBDNFInsulin Sensitivity16:8Alternate Day FastingAMPKmTOR
Keto Assistant

Hi! I'm your keto assistant

Ask me about keto diet, fasting, recipes or health. You can also upload a food image and I'll assess whether it's keto-friendly.