Spinach is one of the most keto-friendly vegetables you can eat. A full cup of raw spinach contains roughly 0.4 grams of net carbs, making it almost negligible against a typical daily limit of 20 grams. You’d have to eat an unrealistic amount of spinach to come close to threatening ketosis.
Net Carbs in Raw and Cooked Spinach
Raw spinach has 3.6 grams of total carbohydrates per 100 grams (about 3.5 ounces), but 2.2 grams of that is fiber, which doesn’t raise blood sugar or count toward your net carb budget. That leaves just 1.4 grams of net carbs per 100 grams. Since a cup of raw spinach weighs only about 30 grams, a single cup delivers well under one gram of net carbs.
Cooked spinach is denser because the leaves wilt down dramatically. One cup of boiled spinach contains about 6.75 grams of total carbs and 4.32 grams of fiber, putting net carbs at roughly 2.4 grams per cup. That’s still very low. A generous cooked-spinach side dish uses only about 12% of a standard 20-gram daily carb allowance, leaving plenty of room for other foods throughout the day.
Spinach also has so little carbohydrate that it doesn’t even carry a glycemic index value. Diabetes Canada groups it with foods that have virtually no measurable impact on blood sugar.
Why Spinach Is Especially Useful on Keto
Beyond its low carb count, spinach supplies two electrolytes that keto dieters tend to lose faster than usual: magnesium and potassium. One cup of raw spinach provides about 24 mg of magnesium and 167 mg of potassium. Those numbers aren’t huge on their own, but spinach is easy to add in large quantities to salads, smoothies, and scrambles, so the totals stack up quickly. Keeping these minerals topped off helps avoid the headaches, fatigue, and muscle cramps that often show up during the first week or two of a ketogenic diet.
Spinach is also rich in vitamin K1, which supports blood clotting and bone health. Here’s where the higher fat intake of a keto diet actually works in your favor. Vitamin K1 in spinach is locked inside the plant’s cell membranes and is poorly absorbed on its own. A study published in the British Journal of Nutrition found that eating spinach with butter improved vitamin K absorption more than three-fold compared to eating spinach without added fat. On a keto diet, you’re naturally pairing vegetables with fats like olive oil, cheese, or butter, which makes the nutrients in spinach more available to your body.
Raw vs. Cooked: Which Is Better for Keto?
Both work well, and the choice mostly comes down to how you want to use it. Raw spinach is great when you need high-volume food with almost zero carb impact. A big handful tossed into a salad or blended into a shake barely registers on your daily count. Cooked spinach is more practical when you want to eat a meaningful portion as a side dish, since it shrinks to a fraction of its raw volume. The slightly higher net carbs per cup of cooked spinach simply reflect the fact that you’re eating more leaves.
One thing to keep in mind: cooking spinach concentrates its oxalates, compounds that can contribute to kidney stones in people who are prone to them. If you have a history of calcium oxalate stones, eating calcium-rich foods alongside spinach can help. Pairing spinach with cheese, for example, allows the calcium to bind with oxalates in your digestive tract before they reach your kidneys. That pairing happens to be a natural fit on keto anyway.
How Much Spinach You Can Eat on Keto
There’s no strict limit, but the math is reassuring. If you ate 300 grams of raw spinach in a day (a very large salad), you’d still only consume about 4.2 grams of net carbs from it. Most people eat far less than that. Even two cups of cooked spinach, which represents a substantial amount of the raw leaves, comes in under 5 grams of net carbs.
Practically speaking, spinach is one of the few vegetables you can eat freely on keto without weighing or measuring portions. It pairs easily with eggs, cream-based sauces, bacon, olive oil, and cheese. Sautéed spinach with garlic and butter is a classic keto side that takes minutes. Creamed spinach made with heavy cream fits squarely within keto macros. Raw spinach works as a base for salads where higher-carb lettuces might add up faster.
If you’re tracking carbs carefully, count spinach at roughly 1 gram of net carbs per cup raw or 2.4 grams per cup cooked. At those numbers, spinach is one of the lowest-carb foods available, keto or otherwise.