This keto carrot cake recipe uses almond flour, freshly grated carrots, walnuts and warm spices, finished with a tangy cream cheese frosting. Each of 12 slices has about 7.7 g of carbohydrate and 3 g of fiber before sweetener, calculated from USDA data. A classic carrot cake slice of the same weight has about 41 g. It makes a good Easter or birthday dessert.
Before you go keto: If you take an SGLT2 inhibitor such as empagliflozin, dapagliflozin or canagliflozin, a very low-carb or ketogenic diet can raise your risk of ketoacidosis, sometimes with blood sugar lower than you would expect. The Jardiance prescribing information lists a ketogenic diet and reduced calorie intake among the conditions that can trigger it. Cutting carbs while on insulin or a sulfonylurea can also cause lows. Talk with your care team first. Learn more about euglycemic DKA and the keto diet for diabetics.
Keto Carrot Cake Ingredients
Makes one 9-inch round cake, cut into 12 slices.
Cake
- 2 1/2 cups (250 g) blanched almond flour
- 1/2 cup granulated erythritol, allulose or a blend
- 2 teaspoons baking powder
- 2 teaspoons ground cinnamon, 1/4 teaspoon nutmeg and 1/4 teaspoon ground ginger
- 1/4 teaspoon salt
- 4 large eggs, at room temperature
- 1/2 cup (108 g) light olive oil or avocado oil
- 1 teaspoon vanilla extract
- 1 1/2 cups (165 g) finely grated carrots
- 1/2 cup (58 g) chopped walnuts or pecans, plus more for the top
Cream Cheese Frosting
- 8 ounces (227 g) full-fat cream cheese, softened
- 2 tablespoons (28 g) butter, softened
- 1/3 to 1/2 cup powdered erythritol or allulose, to taste
- 1 teaspoon vanilla extract
How to Make It
- Heat the oven to 350°F. Grease a 9-inch round pan and line the bottom with parchment.
- Whisk the almond flour, sweetener, baking powder, spices and salt in a large bowl, breaking up any lumps.
- In another bowl, whisk the eggs, oil and vanilla. Stir into the dry ingredients until smooth.
- Fold in the carrots and walnuts. Grate the carrots finely so they soften fully during baking.
- Spread the batter in the pan and bake for 35 to 45 minutes, until the center springs back and a toothpick comes out clean. Tent with foil after 25 minutes if the top browns quickly, especially with allulose.
- Cool in the pan for 15 minutes, then turn out and cool completely before frosting.
- Beat the cream cheese and butter until smooth, then beat in the powdered sweetener and vanilla. Spread over the top and sides and sprinkle with chopped nuts.
The batter contains raw eggs, so don’t taste it before baking. The CDC lists raw eggs and raw batter among riskier foods.
Carbs and Nutrition Per Slice
Totals come from USDA FoodData Central SR Legacy entries. SR Legacy has no almond flour entry, so blanched almonds stand in for it. The sweetener isn’t included; see the comparison below.
| Ingredient (USDA FDC ID) | Carbs (g) | Fiber (g) | Sat. fat (g) |
|---|---|---|---|
| Blanched almonds as flour, 250 g (170568) | 46.7 | 24.8 | 9.9 |
| Carrots, raw, 165 g (170393) | 15.8 | 4.6 | 0.1 |
| Walnuts, 58 g (170187) | 8.0 | 3.9 | 3.6 |
| Eggs, olive oil, spices, baking powder, vanilla, salt | 9.0 | 2.9 | 21.2 |
| Frosting: cream cheese, butter, vanilla | 13.1 | 0 | 60.0 |
| Whole cake | 92.6 | 36.2 | 94.8 |
| Per slice (divide by 12) | 7.7 | 3.0 | 7.9 |
Each slice weighs about 88 g and has about 8.6 g of protein, 206 mg of sodium and 350 calories. Subtracting fiber gives about 4.7 g, but “net carbs” and “keto” aren’t FDA-defined label terms. Our net carbs vs total carbs guide explains why people respond differently.
How It Compares With a Classic Carrot Cake
We also calculated a traditional recipe from USDA data: flour, 2 cups of sugar, vegetable oil, eggs, 3 cups of carrots, walnuts and raisins, with a frosting made from cream cheese, butter and 3 cups of powdered sugar. Scaled to the same 88 g slice:
| Per 88 g slice | Keto carrot cake | Classic carrot cake |
|---|---|---|
| Carbohydrate (g) | 7.7 | 41.3 |
| Total sugars (g) | 2.6 | 31.8 |
| Fiber (g) | 3.0 | 1.2 |
| Saturated fat (g) | 7.9 | 5.1 |
| Calories | 350 | 338 |
The keto version cuts carbs by more than 80%, but calories are about the same and saturated fat is higher. One slice supplies about 40% of the FDA Daily Value of 20 g for saturated fat, mostly from the cream cheese frosting. Cutting the cake into 16 thinner slices, or frosting only the top, brings that down.
Carrots, Raisins and Pineapple
Carrots are what make it a carrot cake, and they add surprisingly few carbs. The 1 1/2 cups in this recipe supply about 1.3 g of carbohydrate per slice. Our guide to carrots for diabetes covers them in more detail.
Many classic recipes also add raisins or crushed pineapple, and those carry more sugar. By USDA data, 1/4 cup of dark raisins adds about 28.6 g of carbohydrate to the whole cake (about 2.4 g per slice), and 1/2 cup of crushed pineapple packed in juice adds about 19.5 g (about 1.6 g per slice). We suggest leaving both out and adding extra nuts, cinnamon or a little orange zest for flavor.
Choosing a Sweetener for Keto Baking
Sugar substitutes aren’t interchangeable. They differ in sweetness, bulk, browning and how your gut handles them. Most can be used by people with diabetes and don’t raise blood sugar much on their own, but the other ingredients in a dessert can, and sugar alcohols can still raise blood sugar somewhat.
| Sweetener | What it is | How it bakes | Digestion and safety notes |
|---|---|---|---|
| Erythritol | Sugar alcohol | Bulk like sugar; crisp crumb; can leave a cooling aftertaste | Usually better tolerated than other sugar alcohols; 2023 study found an association with cardiovascular events |
| Allulose | Rare sugar | Moist, soft crumb; browns faster than sugar | FDA allows it to be left out of total and added sugars; counted at 0.4 calories per gram |
| Monk fruit extract | Fruit extract (luo han guo) | Heat stable; very concentrated, so often blended with erythritol | 100 to 250 times sweeter than sugar, per FDA |
| Stevia (steviol glycosides) | Plant extract | No bulk on its own; can taste bitter in large amounts | 200 to 400 times sweeter than sugar; high-purity extracts reviewed by FDA |
| Xylitol | Sugar alcohol | Bulk similar to sugar; holds moisture | Can cause gas or diarrhea in larger amounts; poisonous to dogs |
Erythritol
Erythritol is the most common keto baking sweetener. A review of sugar alcohol tolerance in the International Journal of Dentistry notes that erythritol normally avoids the digestive reactions seen with other sugar alcohols. A 2023 Nature Medicine study linked higher blood erythritol levels with a higher risk of major cardiovascular events such as heart attack or stroke. It was mainly observational, so it shows an association, not proof that erythritol causes harm. Our erythritol and diabetes guide covers it in depth.
Allulose
Allulose behaves most like sugar in a cake, keeping it tender. The FDA lets manufacturers leave it out of the total and added sugars lines and uses 0.4 calories per gram for it, so read the total carbohydrate line too. It browns quickly, so tent the cake with foil. See allulose and diabetes.
Monk Fruit and Stevia
Both are high-intensity sweeteners. The FDA says monk fruit extract is reported to be 100 to 250 times sweeter than sugar and high-purity stevia extracts 200 to 400 times sweeter. Because so little is needed, baking blends usually pair them with erythritol or allulose for bulk. Learn more about monk fruit and stevia.
Xylitol
Xylitol has bulk much like sugar, but like other sugar alcohols it can cause gas or diarrhea, especially if you’re not used to it. It’s also poisonous to dogs, so keep xylitol-sweetened cake out of their reach. Our xylitol guide and sugar alcohols and diabetes article explain more.
Nut-Free Swap and Allergy Notes
Almonds, walnuts and pecans are tree nuts, one of the major food allergens listed by the FDA. For a nut-free cake, use the same weight of sunflower seed flour and leave out the walnuts or use toasted pumpkin seeds. Using USDA values, the sunflower seed flour adds only about 0.3 g of carbohydrate per slice. It can turn green where it meets baking powder; the color is harmless. Eggs and milk remain in the recipe.
Storing Keto Carrot Cake
Because of the cream cheese frosting, keep the cake covered in the refrigerator and don’t leave it out for more than 2 hours. The CDC advises keeping your refrigerator at 40°F or below. Slices freeze well wrapped individually; thaw them in the fridge.
Fitting Cake Into a Diabetes Meal Plan
If you use insulin, the carb count per slice can help you apply your own insulin-to-carb ratio, which your care team sets. Checking your blood sugar about two hours after eating shows how a dessert affects you. For more celebration ideas, see our guides to birthday cakes for diabetics, sugar-free Easter candy and low-glycemic desserts. Our guide to cream cheese and diabetes covers the frosting’s main ingredient.
The Bottom Line
This keto carrot cake has about 7.7 g of carbohydrate per slice before sweetener, based on USDA data, compared with about 41 g in a classic slice of the same weight. Calories are similar and saturated fat is higher, so keep slices thin. Choose a sweetener that suits your taste and digestion, keep xylitol away from dogs, and if you take an SGLT2 inhibitor, insulin or a sulfonylurea, talk with your care team before cutting carbs this low.