Keto Vegetables: The Best and Worst, Ranked by Net Carbs

Is your meal keto?
Paste any meal and get the total net carbs, a clear verdict, and low-carb swaps in seconds.
Vegetables are where a lot of keto beginners get tripped up. Some are practically free, while others can quietly blow your entire carb budget in one serving. The difference comes down to net carbs. This guide ranks the best and worst vegetables for keto by their net carbohydrate content so you can fill your plate with confidence.
How to judge if a vegetable is keto (net carbs per serving)
The rule is simple: look at net carbs per serving, not just whether something is a vegetable. Net carbs are total carbohydrates minus fiber, since fiber is not digested into glucose. A general guideline:
- Under about 4 grams net carbs per serving: excellent keto vegetables, eat freely
- Around 4 to 8 grams: fine in moderate portions
- Above roughly 8 to 10 grams: starchy vegetables to limit or avoid
As a rule of thumb, vegetables that grow above ground (leafy greens, cruciferous veggies) tend to be lower in carbs, while those that grow below ground (potatoes, root vegetables) tend to be higher.
Best keto vegetables (under 4g net carbs) โ ranked table
These are your everyday staples. Values are approximate net carbs per 100 grams (about a heaping cup for leafy greens, less for denser vegetables).
- Spinach: about 1.4g net carbs
- Bok choy: about 1.2g
- Lettuce (romaine): about 1.2g
- Celery: about 1.4g
- Asparagus: about 2.0g
- Zucchini: about 2.1g
- Cucumber: about 2.2g
- Avocado: about 2.0g (technically a fruit, but a keto staple)
- Cauliflower: about 3.0g
- Broccoli: about 4.0g
- Green beans: about 3.6g
- Bell pepper (green): about 3.0g
You can build most keto meals around this group without worrying much about portions.
Moderate vegetables to watch portions on
These are keto-friendly in reasonable amounts but add up if you overdo them. Approximate net carbs per 100 grams:
- Brussels sprouts: about 5g
- Cabbage: about 3 to 5g
- Tomato: about 2.7g (small servings are fine; sauces concentrate carbs)
- Onion: about 7g (used as a flavoring, a little goes a long way)
- Carrot: about 7g
- Butternut squash: about 10g
- Beets: about 7g
Enjoy these, but measure your portions rather than piling them on.
Vegetables to avoid on keto (starchy, high-carb)
These starchy vegetables are difficult to fit into a keto day. Approximate net carbs per 100 grams:
- Potato: about 15g
- Sweet potato: about 17g
- Corn: about 19g
- Peas: about 9g
- Parsnips: about 13g
- Plantains: about 30g
A single medium potato can exceed an entire day's carb budget, so these are best saved for after keto or reserved for very small tastes.
Are tomatoes, onions, and peppers keto?
These three cause the most confusion because they behave like vegetables but carry more sugar than leafy greens.
- Tomatoes: yes, in moderation. A few slices or cherry tomatoes are fine, but tomato sauce and paste concentrate the sugars, so watch those.
- Onions: yes, as a flavoring. Onions are relatively high in carbs by weight, but the small amount used to season a dish rarely causes a problem.
- Peppers: yes. Green bell peppers are lowest, while red and yellow peppers are a little higher because they are riper and sweeter. All fit in normal portions.
How to hit your veggies without blowing your carbs
You do not have to choose between vegetables and ketosis. A few habits keep both intact:
- Build meals on leafy greens and cruciferous vegetables, then add smaller amounts of higher-carb ones for flavor
- Use onions, carrots, and tomatoes as accents rather than the base
- Cook with plenty of fat (olive oil, butter) so vegetables are satisfying
- Track net carbs for a week to learn where your usual portions land
Best low-carb veggie swaps (rice, pasta, mash)
Some of the best keto wins come from swapping starchy staples for vegetables:
- Cauliflower rice instead of white rice
- Zucchini noodles or spiralized cucumber instead of pasta
- Mashed cauliflower instead of mashed potatoes
- Spaghetti squash instead of spaghetti
- Lettuce wraps instead of tortillas or buns
- Roasted radishes instead of roasted potatoes
These swaps let you keep the shape and comfort of familiar meals while cutting the carbs dramatically.
The bottom line: green, leafy, and above-ground vegetables are almost always safe on keto, while root vegetables and starchy staples need caution. Keep the net-carb ranges in mind, lean on the best performers, and use smart swaps, and you can eat plenty of vegetables without leaving ketosis.
Frequently asked questions
What are the best vegetables to eat on keto?
Leafy greens (spinach, lettuce, bok choy), zucchini, cucumber, asparagus, cauliflower, and broccoli are among the best, all under about 4 grams of net carbs per serving. Above-ground vegetables are generally the safest choices.
Which vegetables should you avoid on keto?
Starchy vegetables like potatoes, sweet potatoes, corn, peas, and parsnips are hard to fit into a keto day, with roughly 9 to 19 grams of net carbs per 100 grams. A single potato can exceed a full day's carb budget.
Are carrots and onions keto?
Both are relatively high in carbs by weight but work fine in small amounts. Carrots are best in moderate portions, and onions are ideal as a flavoring rather than a main ingredient. Measure them rather than eating large servings.
How do I count net carbs in vegetables?
Take the total carbohydrates and subtract the fiber, since fiber is not digested into glucose. The result is net carbs, which is what most people on keto track. Check a reliable nutrition source for per-serving values.
Related guides
Net Carbs vs Total Carbs: What Actually Counts on Keto
Net carbs and total carbs are not the same, and knowing the difference helps you make smarter choices without overcomplicating your keto diet.
The Ultimate Keto Food List: What to Eat and Avoid
A clear, printable-style reference of the best keto-friendly foods and the ones to steer clear of, organized by category so shopping is simple.
Keto Alcohol Guide: The Best Low-Carb Drinks to Order
A practical guide to drinking on keto: which spirits, wines, and beers are lowest in carbs, what to mix, what to skip, and how alcohol affects ketosis and weight loss.

What should I eat today?
Turn the ingredients you like or already have into a keto breakfast, lunch & dinner โ net carbs counted.