Ketogenesis is the process by which your liver converts fat into an alternative fuel called ketone bodies. It kicks in when glucose is scarce, typically after 12 to 24 hours of fasting or sustained carbohydrate restriction, and allows your brain, heart, and muscles to keep running on fat-derived energy instead of sugar.
How Ketogenesis Works in the Liver
The raw material for ketogenesis is fat. When your blood sugar drops and insulin falls, fat cells release stored fatty acids into the bloodstream. The liver takes up those fatty acids, breaks them down inside its mitochondria (the energy-producing compartments of each cell), and chops them into two-carbon units called acetyl-CoA. Under normal conditions, acetyl-CoA would enter the liver’s main energy cycle. But when carbohydrates are low, that cycle slows down, and acetyl-CoA piles up with nowhere to go.
The liver solves this backup by funneling acetyl-CoA into ketone production through a three-step enzyme chain. First, two acetyl-CoA molecules are joined together. Next, a second enzyme adds another chemical group, creating a larger intermediate molecule. Finally, a third enzyme clips that intermediate to release acetoacetate, the first ketone body. This middle step, the one that builds the intermediate, is the bottleneck of the entire process. It controls how fast your liver can produce ketones.
From acetoacetate, the liver can produce a second ketone body, beta-hydroxybutyrate, which is more stable and becomes the dominant ketone circulating in your blood during prolonged fasting. A third ketone, acetone, forms spontaneously in smaller amounts and is mostly exhaled through the lungs, which is why people in deep ketosis sometimes notice a fruity or nail-polish-remover smell on their breath.
The Three Ketone Bodies and What They Do
Your liver produces two ketone bodies directly: acetoacetate and beta-hydroxybutyrate. Acetone is a byproduct that forms when acetoacetate breaks down spontaneously. Each plays a different role.
- Beta-hydroxybutyrate is the workhorse. It circulates in the highest concentration, travels easily through the bloodstream, and is the primary fuel that tissues pull in and burn. It’s also the ketone measured by blood meters to assess ketosis.
- Acetoacetate is produced first and can either be converted to beta-hydroxybutyrate in the liver or used directly by tissues. Urine ketone strips detect this one.
- Acetone carries minimal energy value and is largely expelled through breathing. It’s more of a metabolic side effect than a useful fuel.
The liver itself cannot use the ketones it makes. It lacks the enzyme needed to convert them back into usable energy. Instead, it exports them into the bloodstream for other organs, especially the brain, which cannot burn fat directly but readily absorbs ketone bodies. During prolonged fasting, ketones can supply as much as 70% of the brain’s energy needs, and they do so more efficiently than glucose.
What Triggers Your Body to Start
The on-off switch for ketogenesis is largely controlled by two hormones: insulin and glucagon. Insulin, which rises after you eat carbohydrates, strongly suppresses ketone production. It does this primarily by preventing fat cells from releasing fatty acids, which cuts off the liver’s raw material supply. Glucagon, released when blood sugar is low, does the opposite: it signals the liver to ramp up fat processing.
What matters most is the ratio between these two hormones. When insulin is high relative to glucagon (after a carb-rich meal), ketogenesis is essentially shut off. When insulin drops and glucagon rises (during fasting, prolonged exercise, or very low carbohydrate intake), the gate opens. Fat floods out of storage, streams into the liver, and ketone production accelerates.
This is why ketogenesis is sometimes described as a fasting adaptation. For most of human history, it served as a survival mechanism, keeping the brain fueled during periods without food.
How Quickly Ketogenesis Begins
The timeline depends heavily on what you ate before you stopped eating. In studies where participants consumed a low-carbohydrate, higher-fat meal before beginning a fast, blood ketone levels reached the threshold for nutritional ketosis (0.5 mmol/L of beta-hydroxybutyrate) within about 12 hours. Ketone levels rose significantly between 4 and 8 hours, continued climbing between 8 and 12 hours, then plateaued.
When participants ate a high-carbohydrate meal before fasting, the picture looked very different. On average, they did not reach nutritional ketosis even after a full 24 hours. Other fasting studies using standard mixed diets have found that ketosis typically sets in somewhere between 20 and 28 hours. The practical takeaway: the fewer carbohydrates stored in your liver and muscles at the start, the faster you’ll begin producing ketones.
Nutritional Ketosis vs. Ketoacidosis
These two states involve the same molecules but are fundamentally different in scale and danger. Nutritional ketosis is a controlled, regulated process. Blood beta-hydroxybutyrate levels stay within a range of roughly 0.5 to 5.0 mmol/L, and your blood pH remains normal because insulin, even at low levels, keeps ketone production in check.
Diabetic ketoacidosis (DKA) is an emergency. It occurs almost exclusively in people with type 1 diabetes or, less commonly, type 2 diabetes when insulin is severely deficient. Without enough insulin, there is no brake on fat breakdown or ketone production. Ketones accumulate to dangerous levels, overwhelming the blood’s buffering system and pushing arterial pH below 7.3 (normal is around 7.4). Blood sugar simultaneously spikes above 250 mg/dL. The combination of acidic blood, dehydration, and electrolyte imbalance can be life-threatening.
In a person with normal insulin function, the body self-regulates. Rising ketone levels trigger just enough insulin release to prevent the runaway accumulation that causes acidosis. This is why healthy individuals on ketogenic diets or extended fasts do not develop DKA.
How Dietary Ketosis Is Achieved
A ketogenic diet forces the body into sustained ketogenesis by dramatically cutting carbohydrate intake, typically to fewer than 50 grams per day and sometimes as low as 20 grams. For reference, a single medium bagel contains more than 50 grams of carbohydrates. The remaining calories come primarily from fat (roughly 70 to 80 percent of total intake), with moderate protein.
By keeping carbohydrates this low, insulin stays suppressed, fatty acid release stays high, and the liver continuously produces ketones as a primary fuel source. Most people who follow a strict ketogenic diet will enter measurable nutritional ketosis within two to four days, though the transition period often comes with fatigue, headaches, and irritability as the body adjusts, a cluster of symptoms sometimes called “keto flu.” These typically resolve within a week as the brain and muscles become more efficient at using ketones.
Beyond weight loss, ketogenic diets have a long clinical history in treating drug-resistant epilepsy, particularly in children. Researchers are also studying ketosis in the context of neurodegenerative diseases, certain cancers, and metabolic syndrome, though the evidence in these areas is still developing.
Where Ketones Get Used
Nearly every tissue in your body can burn ketone bodies for energy, with a few notable exceptions. Red blood cells lack mitochondria entirely, so they depend exclusively on glucose. The liver, as mentioned, produces ketones but cannot use them. The brain is the most important consumer. Because fatty acids are too large to cross the blood-brain barrier, ketone bodies serve as the brain’s only significant alternative to glucose, supplying up to 70% of its energy during extended fasting.
The heart actually prefers ketones and fatty acids over glucose under normal conditions. Skeletal muscles use ketones readily during fasting but gradually shift back toward fatty acids as ketosis extends over days, leaving more ketones available for the brain. This prioritization is one of the more elegant features of the system: your body learns to redirect its limited ketone supply to the organ that needs it most.