This keto carrot cake is soft, lightly spiced, and studded with walnuts, with a silky lemon cream cheese frosting that tastes like the real thing. The sweetness comes from keto-friendly sugar substitutes, so you get all the comfort without the carb crash. It is my go-to when I want dessert that still fits my plan.

Serve it chilled alongside a cup of hot coffee or a glass of unsweetened iced tea.
Keto Carrot Cake with Cream Cheese Frosting
You are going to want to cut a slice the second it cools. The crumb is tender, a little nutty, and full of cinnamon and ginger.
Coconut flour keeps the cake light without the usual sugar and flour. The frosting is tangy, smooth, and bright with lemon zest.
Honestly, my family could not tell the difference from a traditional carrot cake (and I was thrilled to hear it).
How to Make It
See the recipe card for quantities and full instructions.
Preheat your oven to 350°F (175°C) and grease two 8-inch round pans. Whisk the coconut flour, sugar substitute, cinnamon, ginger, and baking soda together in a bowl so there are no lumps.
Beat the softened butter with the eggs until creamy. Fold in the shredded carrot and chopped walnuts, then add the dry ingredients and mix just until combined.
Divide the batter between the pans and bake for 25 to 30 minutes, until a toothpick comes out clean. Let the cakes cool in the pans for 10 minutes, then turn them out onto a rack to cool completely.
For the frosting, beat the cream cheese and butter until fluffy. Add the sugar substitute, lemon juice, and zest, then beat until smooth and spreadable.
Frost the cooled layers, spreading the frosting right to the edges. Chill the cake for at least 30 minutes before slicing so it holds its shape.
The Trick to Fluffy, Tender Keto Cake
- Let the butter and cream cheese sit at room temperature so they whip smooth without lumps.
- Shred the carrots finely so the cake stays moist and the texture stays even.
- Do not overmix once the dry ingredients go in, since coconut flour can turn dense.
Pro Tips
- Pat the shredded carrots dry with a paper towel if they seem wet, to keep the batter from getting soggy.
- Toast the walnuts for 5 minutes at 350°F for a deeper, nuttier flavor.
- Use a powdered keto sweetener in the frosting if you want it extra smooth.
- Frost only fully cooled cakes, or the frosting will slide right off.
- Taste the frosting before spreading and add a little more lemon zest if you like it brighter.

What to Serve with Carrot Cake
- Fresh raspberries or blackberries
- Unsweetened whipped cream
- Hot coffee or chai tea
- Sliced almonds for garnish
- A small cheese board after dinner
Storage
- Keep the frosted cake covered in the fridge for up to 5 days.
- Freeze unfrosted layers wrapped tightly for up to 3 months, then thaw overnight in the fridge.

Ketogenic Carrot Cake with Cream Cheese Frosting
Ingredients
- 2 cups carrot, shredded
- 4 large eggs, large
- 1/2 cup butter, softened
- 1/4 cup coconut flour
- 1/4 cup Keto brown sugar substitute
- 2 teaspoons ground cinnamon
- 1 teaspoon ginger powder
- 1 teaspoon baking soda
- 1/2 cup walnuts, chopped
- 8 ounces cream cheese, softened
- 1/2 cup butter, softened
- 2 teaspoons Keto sugar substitute
- 1 teaspoon lemon juice
- 1 teaspoon lemon zest
Instructions
- Preheat the oven to 350°F (175°C) and grease two 8-inch round cake pans.
- Whisk the coconut flour, Keto brown sugar substitute, cinnamon, ginger powder, and baking soda in a bowl until no lumps remain.
- Beat the 1/2 cup softened butter with the eggs until light and creamy.
- Fold the shredded carrot and chopped walnuts into the wet mixture, then add the dry ingredients and mix until just combined.
- Divide the batter evenly between the pans and bake for 25 to 30 minutes, until a toothpick comes out clean.
- Cool the cakes in the pans for 10 minutes, then transfer to a wire rack to cool completely.
- Beat the 8 ounces softened cream cheese and the second 1/2 cup softened butter until fluffy.
- Add the Keto sugar substitute, lemon juice, and lemon zest, and beat until smooth.
- Frost the cooled cake layers, then chill for at least 30 minutes before slicing.
Notes
- Coconut flour absorbs a lot of moisture, so measure it level and do not substitute it one-for-one with other flours.
- Make sure the cake is completely cool before frosting to prevent melting.
