How Many Carbs Are Allowed on a Keto Diet?

Most people on a ketogenic diet aim for 20 to 50 grams of net carbs per day, which works out to roughly 5% to 10% of total daily calories. That’s less than the amount of carbs in a single medium bagel. The exact number within that range depends on your body, your activity level, and how strictly you want to maintain ketosis.

The 20 to 50 Gram Range

The standard ketogenic diet keeps carbs between 20 and 50 grams per day on a 2,000-calorie diet. The rest of your calories come primarily from fat (55% to 80% of total calories) and protein (10% to 35%). Starting at the lower end of that range, around 20 to 25 grams, gives most people the fastest path into ketosis. Once you’re consistently in ketosis, some people find they can edge closer to 50 grams without dropping out.

Why such a low number? Your body normally runs on glucose from carbohydrates, storing the excess as glycogen in your liver and muscles. When you cut carbs low enough, your body burns through those glycogen stores in about two to three days. Once they’re depleted, your body switches to breaking down fat into compounds called ketones for energy. This metabolic switch is the entire point of keto, and it won’t happen if you’re eating enough carbs to keep refilling those glycogen stores.

Net Carbs vs. Total Carbs

When keto resources say “20 to 50 grams,” they usually mean net carbs, not total carbs. The difference matters because fiber and certain sugar alcohols don’t raise blood sugar the same way other carbohydrates do.

For whole foods like vegetables, nuts, and seeds, the formula is simple: subtract the fiber from the total carbs. A cup of broccoli with 6 grams of total carbs and 2.4 grams of fiber has about 3.6 grams of net carbs.

For packaged foods, it gets a little trickier. You can generally subtract half the grams of sugar alcohols from the total carb count. So a protein bar listing 23 grams of total carbs, 9 grams of fiber, and 11 grams of sugar alcohols would come out to about 8.5 net carbs (subtract all the fiber, but only half the sugar alcohols). The exception is erythritol, which you can subtract entirely since it has virtually no effect on blood sugar.

Why Your Limit Might Differ From Someone Else’s

The carb threshold for staying in ketosis varies from person to person. Someone who exercises intensely and has significant muscle mass can often tolerate more carbs because their muscles are actively burning through glucose. A sedentary person with insulin resistance might need to stay closer to 20 grams to maintain the same level of ketosis.

This is why some keto approaches build in flexibility around exercise. A targeted ketogenic diet, for instance, allows extra carbs around high-intensity workouts, when your muscles can absorb and use them quickly without disrupting ketosis. If you’re mostly sedentary, sticking to the lower end of the range is a safer bet.

Hidden Carbs That Add Up Fast

One of the most common reasons people stall on keto is carbs sneaking in from sources they weren’t tracking. When your entire daily budget is 20 to 50 grams, a few tablespoons of the wrong seasoning can eat up a surprising chunk.

Spices and seasonings are a major culprit. A single tablespoon of garlic powder has 6 grams of carbs. Onion powder has 5.4 grams. Chili powder, paprika, and oregano each have 3 to 4 grams per tablespoon. Safer options include fresh herbs, black pepper, cinnamon, and ginger, all of which come in under a gram per teaspoon. For vinegar, white, cider, and wine vinegar have zero carbs, but balsamic vinegar packs 2 grams per tablespoon, and processed balsamic dressings can hit 9 to 12 grams in two tablespoons.

Protein sources aren’t always carb-free either. Deli meats, sausages, and hot dogs often contain added starch and sugar. Canned fish in sauce typically has hidden carbs as well. Even unprocessed proteins carry some: a 4-ounce serving of veal liver has 3.1 grams, oysters have 8 grams per 4 ounces, and mussels have 8.4 grams. Imitation crabmeat is one of the worst offenders at 12 to 15 grams per 4-ounce serving.

Dairy requires attention too. Whole milk yogurt, whether regular or Greek, contains 6 to 7 grams of naturally occurring sugar per serving. Heavy cream is much lower at 0.8 grams per two tablespoons, and butter has zero. Sour cream falls in between at about 1 gram per ounce.

Supplements and protein bars are another trap. Anything chewable, coated, or flavored tends to be loaded with carbs that don’t always register on a quick glance at the label. Protein bars in particular can pack significant hidden carbs even when marketed as low-carb, especially from sugar alcohols like maltitol that still partially affect blood sugar.

How to Find Your Personal Threshold

The most practical approach is to start at 20 grams of net carbs per day for the first two to four weeks. This is low enough that almost everyone will enter ketosis. You can confirm you’re in ketosis with urine test strips or a blood ketone meter, though urine strips become less reliable over time as your body gets more efficient at using ketones.

Once you’re consistently in ketosis and adapted to burning fat, you can experiment by adding 5 grams of net carbs per week and monitoring whether you stay in ketosis. Some people find they can comfortably maintain ketosis at 40 or even 50 grams. Others get knocked out above 25 or 30. The ceiling is individual, and the only way to find yours is to test it gradually.

Keep in mind that the type of carb matters as much as the quantity. Carbs from fibrous vegetables, nuts, and seeds are absorbed more slowly and have a smaller impact on blood sugar than the same number of carbs from bread or sugar. Spending your carb budget on nutrient-dense whole foods also means you’re getting vitamins, minerals, and fiber that a diet this restrictive can otherwise lack.