Peanuts aren’t strictly banned on keto, but many keto followers limit or avoid them for several overlapping reasons: they’re higher in net carbs than most other nuts, they’re technically a legume, and they’re easy to overeat. At 4 grams of net carbs per one-ounce serving, peanuts carry roughly double to quadruple the carb load of popular keto-friendly alternatives like pecans and Brazil nuts.
The Carb Count Compared to Other Nuts
The core issue is math. On a standard keto diet capping carbs at 20 to 50 grams per day, every gram counts. Here’s how peanuts stack up against common alternatives per one-ounce (28-gram) serving:
- Pecans: ~1 gram net carbs
- Brazil nuts: 1 gram net carbs
- Macadamia nuts: 2 grams net carbs
- Walnuts: 2 grams net carbs
- Hazelnuts: 2 grams net carbs
- Almonds: 3 grams net carbs
- Pine nuts: 3 grams net carbs
- Peanuts: 4 grams net carbs
Four grams may not sound like much in isolation. But nobody eats exactly one ounce of peanuts. A handful or two at a snack break can easily reach two or three ounces, putting you at 8 to 12 grams of net carbs from a single snack. That’s potentially a quarter to half of your daily carb budget. With pecans or macadamias, the same portion costs you far less.
Peanuts Are a Legume, Not a Nut
Despite the name, peanuts are botanically a legume, more closely related to beans and lentils than to almonds or walnuts. This matters to keto followers because most legumes (black beans, chickpeas, lentils) are high in carbs and explicitly off-limits on the diet. Peanuts are the lowest-carb member of the legume family, which is why they sit in a gray zone rather than being outright banned. But stricter keto and paleo frameworks exclude all legumes as a category, and peanuts get swept up in that rule.
They’re Too Easy to Overeat
Peanuts and peanut butter are what food scientists call hyper-palatable: the combination of fat, salt, and a slightly sweet roasted flavor makes it hard to stop at a measured portion. A standard serving of peanut butter is two tablespoons (32 grams), which is genuinely small once you see it on a spoon. Most people eat well beyond that without thinking about it.
This matters on keto because overconsumption creates a double problem. You blow past your carb target, and you take in a large number of calories that can stall weight loss. Many keto coaches specifically flag peanut butter as a common culprit when someone hits a weight loss plateau.
Anti-Nutrients in Legumes
Like other legumes, peanuts contain compounds called phytates and lectins. Phytic acid binds to minerals like iron, zinc, magnesium, and calcium as it passes through your gut, reducing how much your body absorbs from that meal. Lectins can similarly interfere with the absorption of calcium, iron, phosphorus, and zinc. These compounds are present in many healthy foods (whole grains, seeds, other nuts), so they’re not unique to peanuts. But the combination of being a legume with higher anti-nutrient levels gives keto purists another reason to choose tree nuts instead.
This concern is most relevant if peanuts are a daily staple rather than an occasional snack. Eating them alongside mineral-rich foods at every meal could meaningfully reduce your nutrient absorption over time.
Aflatoxin Contamination
Peanuts grow underground in warm, humid soil, which makes them susceptible to contamination by certain molds that produce toxins called aflatoxins. Long-term exposure to aflatoxins is associated with an increased risk of liver cancer. This is a well-documented concern: the FDA actively tests peanuts and peanut butter sold in the U.S., and no outbreak of aflatoxin-related illness has been reported domestically. In practice, buying major commercial brands and discarding any nuts that look moldy, discolored, or shriveled keeps your risk extremely low.
Still, some keto followers prefer to sidestep the issue entirely by choosing tree nuts like macadamias or pecans, which carry far less aflatoxin risk because they grow above ground.
Blood Sugar Isn’t the Real Problem
One thing peanuts actually have going for them: they barely move your blood sugar. Peanuts have a glycemic index of just 18, which is very low, and a glycemic load of 1 per serving. So the concern with peanuts on keto isn’t about blood sugar spikes. It’s about total carbohydrate accumulation eating into your daily limit, especially when portions creep upward.
Better Nut Choices for Keto
If you want a crunchy, fatty snack that fits keto more comfortably, pecans and Brazil nuts are the top choices at just 1 gram of net carbs per ounce. Macadamia nuts and walnuts come in at 2 grams and deliver a high percentage of their calories from fat, which is exactly the macronutrient profile keto prioritizes. Even almonds, at 3 grams of net carbs, give you a full gram of savings over peanuts per serving.
For a peanut butter substitute, look for macadamia nut butter or almond butter with no added sugar. They offer a similar texture and richness with fewer carbs per tablespoon. Just watch the labels: many commercial nut butters add sugar or honey, which defeats the purpose entirely.
If you genuinely enjoy peanuts and want to keep them in your rotation, they can fit within a keto framework. The key is weighing or measuring your portions rather than eating from the bag, and accounting for those 4 grams of net carbs per ounce in your daily total. For most people, the issue isn’t that peanuts are incompatible with ketosis. It’s that better options exist, and peanuts are unusually easy to overdo.

