The Best Nuts for Keto: Lowest-Carb Nuts Ranked (and Which to Limit)
Medically reviewed by John Martinez, M.D. · Originally published April 21, 2023 · Updated October 31, 2026
The short answer: The lowest-carb nuts are pecans, Brazil nuts and macadamias, with about 1 to 1.5 grams of net carbs per ounce. Walnuts, hazelnuts, peanuts, almonds and pine nuts are close behind at 2 to 3 grams. The nuts highest in carbs are pistachios (about 5 grams), cashews (about 8 grams) and chestnuts (about 11 grams). Stick to about a handful, roughly 1 ounce (28 grams), at a time. Eat no more than 1 or 2 Brazil nuts a day, because they’re extremely high in selenium.
Nuts are one of the easiest snacks on a ketogenic or low-carb diet. They’re filling, they keep without a fridge, and they come with healthy fats, fiber and minerals. But the carbs vary a lot from one nut to another, and nuts are so easy to overeat that they’re one of the most common reasons people stall on keto. Here’s how they compare, using the US Department of Agriculture’s nutrient data.
Nuts ranked by net carbs
Net carbs are total carbohydrates minus fiber. Fiber isn’t digested into sugar, so most people on keto count net carbs. All numbers are for 1 ounce (28 grams) of plain, raw nuts, from USDA FoodData Central [1].
| Nut (1 oz / 28 g) | Net carbs | Total carbs | Fiber | Fat | Protein | Calories |
|---|---|---|---|---|---|---|
| Black walnuts | 0.8 g | 2.7 g | 1.9 g | 16.8 g | 6.8 g | 175 |
| Pecans (about 19 halves) | 1.2 g | 3.9 g | 2.7 g | 20.4 g | 2.6 g | 196 |
| Brazil nuts (about 6 nuts) | 1.2 g | 3.3 g | 2.1 g | 19.0 g | 4.1 g | 187 |
| Macadamia nuts (10 to 12 nuts) | 1.5 g | 3.9 g | 2.4 g | 21.5 g | 2.2 g | 204 |
| Walnuts, English (about 14 halves) | 2.0 g | 3.9 g | 1.9 g | 18.5 g | 4.3 g | 185 |
| Hazelnuts (about 21 nuts) | 2.0 g | 4.7 g | 2.7 g | 17.2 g | 4.3 g | 178 |
| Peanuts | 2.2 g | 4.6 g | 2.4 g | 13.9 g | 7.3 g | 161 |
| Almonds (about 23 nuts) | 2.6 g | 6.1 g | 3.5 g | 14.1 g | 6.0 g | 164 |
| Pine nuts | 2.7 g | 3.7 g | 1.0 g | 19.4 g | 3.9 g | 191 |
| Pistachios (about 49 nuts) | 4.7 g | 7.7 g | 3.0 g | 12.8 g | 5.7 g | 159 |
| Cashews | 7.6 g | 8.6 g | 0.9 g | 12.4 g | 5.2 g | 157 |
| Chestnuts, European | 10.6 g | 12.9 g | 2.3 g | 0.6 g | 0.7 g | 60 |
Using grams instead of ounces? Multiply the numbers in the table by about 3.5 to get the values per 100 grams. For example, pecans have about 4 grams of net carbs per 100 grams, and cashews about 27.
Roasted nuts have slightly more carbs per ounce than raw ones, because roasting removes water. In the USDA data the difference is up to about 1 gram per ounce (cashews go from 7.6 to 8.4 grams). Honey-roasted, glazed and flavored nuts can have much more because of added sugar, so check the label.
The best nuts for keto
Pecans
Pecans are tied for the lowest-carb nut you can easily buy, at about 1.2 grams of net carbs per ounce (about 19 halves). They’re mostly fat, much of it monounsaturated, the same kind of fat that’s in olive oil. They’re low in protein, so don’t count on them for that. Their mild, buttery taste makes them good in salads, in low-carb baking and on their own.
Brazil nuts (but only 1 or 2 a day)
Brazil nuts are just as low in carbs as pecans, about 1.2 grams of net carbs per ounce. The catch is selenium. Brazil nuts are the richest food source of this mineral by far. USDA data put an ounce of Brazil nuts (about 6 nuts) at roughly 540 micrograms of selenium [1]. The safe upper limit for adults is 400 micrograms a day from all sources [9].
Your body needs a small amount of selenium, and in a New Zealand trial, eating just 2 Brazil nuts a day for 12 weeks raised blood selenium as effectively as a 100 microgram supplement [8]. That study also showed how much the selenium content varies. Two nuts that were expected to provide about 100 micrograms actually provided 20 to 84 micrograms, depending on the batch [8].
Over time, too much selenium can cause brittle hair and nails, hair loss, a garlic smell on the breath, an upset stomach and fatigue [9]. So enjoy Brazil nuts, but make them a 1-or-2-a-day nut, not a handful-a-day nut, especially if you also take a multivitamin or a selenium supplement.
In a small trial in teenage girls with obesity, 3 to 5 Brazil nuts a day for 16 weeks lowered total cholesterol, triglycerides and oxidized LDL (“bad”) cholesterol compared with a placebo [7].

Macadamia nuts
Macadamias are the highest-fat nut, at about 21.5 grams of fat per ounce (10 to 12 nuts), with about 1.5 grams of net carbs. That makes them a favorite for strict keto, but they’re also the most calorie-dense: about 200 calories an ounce. Like pecans, they’re low in protein (about 2 grams an ounce).
Two small clinical trials found that macadamias improved cholesterol. In 17 men with high cholesterol, eating macadamias every day for 4 weeks lowered LDL cholesterol by about 5% and raised HDL (“good”) cholesterol by about 8% [5]. In a controlled feeding study of 25 adults with mildly high cholesterol, a diet including 1.5 ounces of macadamias a day for 5 weeks gave about 9% lower LDL cholesterol than a typical American diet [6].

Walnuts
Ordinary (English) walnuts have about 2 grams of net carbs per ounce (about 14 halves). They’re the best nut source of the plant omega-3 fat alpha-linolenic acid (ALA). In a trial of 194 healthy adults, eating about 1.5 ounces of walnuts a day for 8 weeks shifted gut bacteria toward species that make butyrate, a fatty acid that feeds the cells lining the colon [10]. If you can find black walnuts, they’re even lower in carbs, at under 1 gram of net carbs per ounce, with more protein, but their flavor is much stronger.

Hazelnuts
Hazelnuts have about 2 grams of net carbs per ounce (about 21 nuts) and are a good source of vitamin E. They pair well with dark chocolate. See Is dark chocolate keto? for how to choose one.
Almonds
Almonds are a little higher in carbs, about 2.6 grams of net carbs per ounce (about 23 almonds). But they’re one of the higher-protein nuts (6 grams an ounce), high in fiber and vitamin E, and the most versatile. Almond flour is a staple of low-carb baking (see the best keto flour substitutes), and unsweetened almond milk is one of the lowest-carb milks (see is almond milk keto?).

Nuts that are fine in moderation
- Peanuts are technically legumes, but nutritionally they behave like nuts. At about 2.2 grams of net carbs per ounce, plain peanuts fit keto well and have the most protein of any nut here (about 7 grams). Two tablespoons of plain peanut butter have about 5.5 grams of net carbs [1]. Choose one with no added sugar.
- Pine nuts have about 2.7 grams of net carbs per ounce. They’re usually used in small amounts, such as in pesto or on a salad, so they rarely cause problems.
Nuts high in carbs: which to limit on keto
- Pistachios: about 4.7 grams of net carbs per ounce (about 49 nuts). A handful fits most keto plans, but they’re easy to keep eating. Buying them in the shell slows you down.
- Cashews: about 7.6 grams of net carbs per ounce, the highest of the common snack nuts. Two ounces (about two handfuls) are about 15 grams of net carbs, most of a strict 20-gram day.
- Chestnuts: about 10.6 grams of net carbs per ounce. Chestnuts are starchy rather than fatty, so they’re closer to a potato than to other nuts. Avoid them on keto.
Mixed nuts usually contain cashews, so a handful of a mix often has more carbs than you’d think. If you like a mix, make your own from the low-carb nuts above.
How many nuts can you eat on keto?
The problem with nuts on keto usually isn’t the carbs. It’s the calories. Every nut in the table, except chestnuts, has 155 to 205 calories per ounce. A one-ounce serving is a small handful. It’s easy to eat three or four times that straight from the bag, which can add 500 to 800 calories without your noticing.
The good news is that, in research, nuts don’t cause weight gain when people eat them in place of other foods. A 2021 review of 86 randomized trials found no increase in body weight with nuts, and long-term studies of more than 500,000 people linked eating nuts to a slightly lower risk of becoming overweight [4]. A review of 15 trials in people with type 2 diabetes found the same thing: no change in weight [11].
Tips that help:
- Portion nuts into a small bowl or bag instead of eating from the container.
- Buy nuts in the shell (pistachios, walnuts, pecans), which slows you down.
- Choose plain, raw or dry-roasted nuts. Avoid honey-roasted, glazed or “trail mix” blends with dried fruit or chocolate.
- If your weight loss stalls on keto, nuts and nut butters are one of the first things to measure for a week.
Are nuts healthy?
The research on nuts is consistently good:
- Heart health and longevity. In a 2016 review of 20 long-term studies, each extra ounce of nuts a day was linked with about 21% lower risk of heart and blood vessel disease and about 22% lower risk of dying during the studies [2]. These are observational studies, so they show a link rather than proof, but the results were similar for tree nuts and peanuts.
- Cholesterol. A review of 61 controlled trials found that each daily serving of tree nuts lowered LDL cholesterol by about 5 mg/dL and triglycerides by about 2 mg/dL [3]. The amount of nuts mattered more than the type.
- Fiber and minerals. Nuts add fiber, magnesium and vitamin E, which can be hard to get enough of on a very low-carb diet. Fiber also helps with constipation on keto.
Who should be careful: anyone with a nut or peanut allergy (peanut and tree-nut allergies are different, and many people have one but not the other), and anyone taking selenium supplements who also eats Brazil nuts.
How to add nuts to a keto diet
- Toss pecans or walnuts on a salad.
- Snack on a measured handful of macadamias or almonds.
- Dip celery or cucumber in almond or peanut butter (no added sugar).
- Use almond flour or ground pecans for low-carb baking or as a “breading” for chicken or fish.
- Toast nuts in a dry pan and add them to roasted vegetables. See the best and worst low-carb vegetables for ideas.
New to keto? Start with The Ketogenic Diet Beginners Guide or the Keto Food Guide.
Frequently asked questions
What is the lowest-carb nut?
Pecans and Brazil nuts, at about 1.2 grams of net carbs per ounce, followed closely by macadamias (1.5 grams). Black walnuts are even lower (under 1 gram) but harder to find [1].
Are peanuts keto?
Yes. Plain peanuts have about 2.2 grams of net carbs per ounce, fewer than almonds [1]. Watch out for honey-roasted peanuts and for peanut butters with added sugar.
Are cashews keto?
Only in small amounts. At about 7.6 grams of net carbs per ounce, a single handful of cashews can use up a third or more of a strict keto day [1].
Are pistachios keto?
In moderation. Pistachios have about 4.7 grams of net carbs per ounce [1]. A measured handful fits most keto plans.
Can eating nuts kick you out of ketosis?
A normal serving of low-carb nuts won’t. Eating large amounts, especially of cashews, pistachios or mixed nuts, can add enough carbs to matter, and the extra calories can stall weight loss.
How many Brazil nuts can I eat a day?
One or two. An ounce of Brazil nuts (about 6) can contain more selenium than the safe daily upper limit for adults [1][9].
Do nuts make you gain weight?
Not when they replace other foods. Reviews of dozens of trials found no weight gain from eating nuts [4][11]. Weight gain happens when nuts are eaten on top of everything else, mostly because they’re so easy to overeat.
References
- US Department of Agriculture, Agricultural Research Service. FoodData Central (SR Legacy). fdc.nal.usda.gov. Foods used (FDC ID): almonds 170567; Brazil nuts, dried, unblanched 170569; cashews, raw 170162; chestnuts, European, raw, unpeeled 170574; hazelnuts 170581; macadamia nuts, raw 170178; peanuts, all types, raw 172430; pecans 170182; pine nuts, dried 170591; pistachios, raw 170184; walnuts, English 170187; walnuts, black, dried 170186; peanut butter, smooth, without salt 172470; roasted comparisons 170158, 170183, 170185, 170571, 170583.
- Aune D, Keum N, Giovannucci E, et al. Nut consumption and risk of cardiovascular disease, total cancer, all-cause and cause-specific mortality: a systematic review and dose-response meta-analysis of prospective studies. BMC Med. 2016;14(1):207. doi:10.1186/s12916-016-0730-3
- Del Gobbo LC, Falk MC, Feldman R, Lewis K, Mozaffarian D. Effects of tree nuts on blood lipids, apolipoproteins, and blood pressure: systematic review, meta-analysis, and dose-response of 61 controlled intervention trials. Am J Clin Nutr. 2015;102(6):1347–1356. doi:10.3945/ajcn.115.110965
- Nishi SK, Viguiliouk E, Blanco Mejia S, et al. Are fatty nuts a weighty concern? A systematic review and meta-analysis and dose-response meta-regression of prospective cohorts and randomized controlled trials. Obes Rev. 2021;22(11):e13330. doi:10.1111/obr.13330
- Garg ML, Blake RJ, Wills RB. Macadamia nut consumption lowers plasma total and LDL cholesterol levels in hypercholesterolemic men. J Nutr. 2003;133(4):1060–1063. doi:10.1093/jn/133.4.1060
- Griel AE, Cao Y, Bagshaw DD, Cifelli AM, Holub B, Kris-Etherton PM. A macadamia nut-rich diet reduces total and LDL-cholesterol in mildly hypercholesterolemic men and women. J Nutr. 2008;138(4):761–767. doi:10.1093/jn/138.4.761
- Maranhão PA, Kraemer-Aguiar LG, de Oliveira CL, et al. Brazil nuts intake improves lipid profile, oxidative stress and microvascular function in obese adolescents: a randomized controlled trial. Nutr Metab (Lond). 2011;8(1):32. doi:10.1186/1743-7075-8-32
- Thomson CD, Chisholm A, McLachlan SK, Campbell JM. Brazil nuts: an effective way to improve selenium status. Am J Clin Nutr. 2008;87(2):379–384. doi:10.1093/ajcn/87.2.379
- National Institutes of Health, Office of Dietary Supplements. Selenium: fact sheet for health professionals. ods.od.nih.gov/factsheets/Selenium-HealthProfessional
- Bamberger C, Rossmeier A, Lechner K, et al. A walnut-enriched diet affects gut microbiome in healthy Caucasian subjects: a randomized, controlled trial. Nutrients. 2018;10(2):244. doi:10.3390/nu10020244
- Fernández-Rodríguez R, Martínez-Vizcaíno V, Garrido-Miguel M, et al. Nut consumption, body weight, and adiposity in patients with type 2 diabetes: a systematic review and meta-analysis of randomized controlled trials. Nutr Rev. 2022;80(4):645–655. doi:10.1093/nutrit/nuab053
This article is for general education and isn’t a substitute for a visit with your own doctor.
Board-certified primary care sports medicine physician with 25+ years of clinical experience. Medical director for elite endurance events and former team physician with USA Triathlon. Every article is cited to primary sources.






