How Many Carbs on a Keto Diet to Stay in Ketosis

Most people following a ketogenic diet eat fewer than 50 grams of carbohydrates per day, with many starting at 20 grams to reliably enter ketosis. That’s less than the amount in a single medium bagel. The exact number depends on which version of keto you follow, how active you are, and your individual metabolism.

The Standard Range: 20 to 50 Grams

The most widely cited target for a ketogenic diet is 20 to 50 grams of total carbohydrates per day. On a 2,000-calorie diet, that works out to roughly 5 to 10 percent of your daily calories coming from carbs, with 65 to 80 percent from fat and 10 to 25 percent from protein.

Starting at the lower end, around 20 grams, gives most people a reliable path into ketosis within a few days. Once you’re adapted, some people can creep up toward 50 grams and stay in ketosis, while others get knocked out well before that. The difference comes down to your activity level, muscle mass, and how sensitive your body is to carbohydrates.

Total Carbs vs. Net Carbs

You’ll see two different ways to count carbs in keto communities. Total carbs means everything on the nutrition label. Net carbs subtracts fiber (which your body can’t digest for energy) and some or all of the sugar alcohols. So a cup of cauliflower with 5 grams of total carbs and 2 grams of fiber would count as 3 grams of net carbs.

Sugar alcohols (like sorbitol, xylitol, maltitol, and erythritol) are trickier. The UCSF Diabetes Teaching Center recommends subtracting half the grams of sugar alcohol from the total carbohydrate count, since your body partially absorbs most of them. So if a protein bar lists 29 grams of total carbs and 18 grams of sugar alcohols, you’d subtract 9 grams and count it as 20 grams. Erythritol is the exception: it’s almost entirely excreted without being absorbed, so many people subtract it fully.

It’s worth noting that “net carbs” isn’t a regulated term. Harvard’s nutrition researchers have pointed out that it was largely invented by food manufacturers as a marketing strategy, and there’s debate even within the keto community about whether counting net carbs is reliable. If you’re not seeing results, switching to total carb counting and staying under 20 grams is a straightforward way to troubleshoot.

What 20 Grams Actually Looks Like

Twenty grams of carbs is a tight budget, but it’s more food than you might expect if you stick to the right vegetables. A medium stalk of broccoli has about 8 grams of total carbs. A serving of cauliflower (roughly one-sixth of a medium head) has about 5 grams. A cup of raw spinach has around 1 gram. So a day’s worth of vegetables could include a generous serving of broccoli, some cauliflower, a big handful of spinach, and a few tablespoons of onion or peppers before you hit 20 grams.

What eats through your budget fast: a single banana has about 27 grams, a slice of bread around 12 to 15 grams, and a cup of cooked rice close to 45 grams. Even “healthy” foods like sweet potatoes and most fruits will use up your entire carb allowance in one sitting. This is why most keto meal plans revolve around leafy greens, cruciferous vegetables, avocados, nuts, meats, fish, eggs, and cheese.

Clinical Keto vs. Weight-Loss Keto

The version of keto most people follow for weight loss is looser than what’s used in medical settings. Clinical ketogenic diets, originally developed to treat epilepsy, follow precise macronutrient ratios. The classic protocol uses a 4:1 ratio of fat to combined protein and carbohydrate, which means 90 percent of calories come from fat and only about 4 percent from carbs. A modified version uses a 3:1 ratio, with 87 percent fat and roughly 3 percent carbs. These protocols are medically supervised and far more restrictive than what most people need for weight management.

For general weight loss, the more flexible 20 to 50 gram range works for the vast majority of people. You don’t need to weigh every gram of butter or calculate precise ratios. The carb limit is the main lever that determines whether you enter ketosis.

Does Protein Knock You Out of Ketosis?

A common concern is that eating too much protein will raise blood sugar through a process called gluconeogenesis, where your liver converts amino acids into glucose. This fear is largely overblown. Gluconeogenesis happens all the time, including during ketosis, and it’s actually necessary for your body to function. Research suggests that eating extra protein does not meaningfully increase the rate of glucose production.

That said, everyone has a different threshold. If you want to find yours precisely, you can use a blood ketone meter. Start by keeping carbs below 20 grams for 7 to 10 days to establish solid ketosis (blood ketones above 0.5 mmol/L), then gradually increase your protein intake and test. The point where your ketones drop below 0.5 is your personal ceiling. Most people on keto do well with protein at 20 to 25 percent of total calories, which is considerably more than the clinical protocols allow.

Variations That Allow More Carbs

Not every ketogenic approach keeps carbs uniformly low. Two popular variations build in controlled carb increases:

  • Targeted keto adds extra carbs around high-intensity workouts, typically 15 to 30 grams of fast-digesting carbs 30 minutes before training. The idea is that exercise burns through the glucose quickly, so you return to ketosis without a prolonged interruption.
  • Cyclical keto alternates between 5 low-carb days and 2 higher-carb days. The high-carb days replenish muscle glycogen, which can benefit people doing heavy strength training or endurance sports. On high-carb days, intake might reach 150 grams or more.

Both of these variations are designed for people with significant exercise demands. If you’re sedentary or moderately active, standard keto at 20 to 50 grams per day is the simpler and more effective approach.

Finding Your Personal Carb Threshold

The 20 to 50 gram range is a guideline, not a universal rule. Your personal threshold depends on several factors: how much you exercise, your insulin sensitivity, your body composition, and even your stress and sleep levels. Someone who runs 30 miles a week can often tolerate more carbs and stay in ketosis than someone who works a desk job.

The most practical approach is to start strict, at 20 grams of total carbs per day, for the first two to four weeks. This virtually guarantees you’ll enter ketosis and gives you a baseline. From there, you can experiment by adding 5 grams per day each week and monitoring how you feel, whether your energy stays steady, and whether your weight trend continues. If you want objective data, a blood ketone meter gives you a definitive answer. Urine strips work in the early weeks but become less reliable as your body adapts to using ketones more efficiently.