Keto & Gluten-Free Carrot Cake

A scrumptious gluten-free carrot cake full of flavour and never dry topped with a silky cream cheese frosting to die for! Made with almond and coconut flours and absolutely zero sugar!

A slice of gluten-free carrot cake with sugar free cream cheese frosting

While I don’t necessarily do well following any type of diet or way of eating I do try and cut the sugar whenever I can. Lately I have been turning to keto recipes because for me I feel much better when I eat higher fat and lower carb. For me I feel this way of eating gives me more energy and I feel full longer so I end up eating less.

So while I wouldn’t say I am a hard-core keto eater I have been turning to this way of eating more often and love the fact that it is so easy these days to replace the sugar in my favourite treats. Like this carrot cake. Carrot cake is my absolute favourite cake on earth!

The combo of all the fall spices and the creamy cream cheese frosting that a good carrot cake is known for – a combination as good as peanut butter and jelly or grilled cheese and ketchup!

A carrot cake decorated with fall leaves on a cake pedestal

Can you have carrots on a keto diet?

Surprisingly yes! Carrots get a bit of a bad wrap because they are a veggie that is higher in sugar than the green leafy vegetables but carrots are loaded with fibre. The keto diet is based on net carbs which are calculated by taking the total amount of carbohydrates and subtracting the fibre and sugar alcohols. Because carrots are so high in fibre when you subtract the fibre from the total carbs carrots come out as keto-approved veggie.

Now they are still higher than the green leafy, celery and the like but eaten in moderation they are just fine on a keto diet.

Plus this keto carrot cake recipe only uses 1 cup of shredded carrots for the whole cake which works out to only 7.8 carbs from the carrots for the whole cake!

Ingredients for a gluten free carrot cake.

Ingredients & substitutions

  • Eggs – works as a binding agent to hold the cake together and add moisture to the cake.
  • Unsweetened coconut milk but you can also substitute with almond milk or dairy as you wish.
  • Safflower oil that reads high oleic on the label or high oleic sunflower oil is both good keto-approved oils because they are very neutral in taste and have a similar fat profile to avocado or olive oil. Or if you prefer you can also replace the oil with this recipe with light flavoured olive oil.
  • Vanilla
  • Salt – salt amplifies the flavour in most foods.
  • Powdered stevia blend – Presidents Choice makes a great blend or there are many on the market. Pyure and Swerve at two other great brands that can be found in most organic food aisles.
  • Coconut flour – is made solely from coconuts and has a low glycemic index. Be careful to measure accurately by levelling off the measuring cup. This flour is quite dense so also be sure to spoon the coconut flour into the measuring cup vs scooping it out from the bag. Scooping will cause the flour to become more packed than spooning into the cup and will result in a larger measurement than required.
  • Almond flour – Made entirely from almonds. Look for fine-grind almond flour where possible.
  • Baking powder – the agent that helps the cake rise.
  • Ground cinnamon
  • Ground nutmeg – I prefer to finely grate a whole nut on the fine grate of a cheese grater so that the nutmeg is as fresh as possible.
  • Orange zest – One large orange will do.
  • Ground ginger
  • Chopped pecans – Lightly pan-roasted to bring out a soft buttery flavour. You can also use chopped walnuts or no nuts at all if you prefer.
  • Carrots – shredded finely.

We will talk about the Carrot Cake Frosting a little later… hold tight!

How to make gluten-free carrot cake

A bowl of eggs and milk mixture

In a large bowl add the eggs, milk, oil, orange zest and vanilla and whisk until combined.

A bowl with a wire sieve overtop filled with flour and spices

Place a large fine-mesh sieve over top of the bowl and then add the dry ingredients which are everything listed above but the carrots. Use a spoon to coax the dry ingredients through the sieve into the egg mixture. This helps to break up any larger lumps and to evenly distribute the ingredients into the liquid. My grandma taught me this trick! I use this method for my Grandma’s gingersnaps as well. Mix until just combined.

A pan with chopped pecans being pan-roasted

In a small pan add the chopped pecans over medium heat and toast till they are slightly browned or roasted. Toss them around a few times to make sure they are toasted evenly. Do not overdo it.

A bowl of carrot cake batter

Fold in the nuts and carrots. Don’t overmix or the cake may become heavier once baked.

Two caked pans filled with carrot cake batter

Lightly grease two cake pans and flour with gluten-free flour or rice flour if you have some or line the pans with parchment paper instead to avoid sticking. Pour the batter evenly into both cake pans and use a spatula to level the top of the batter out flat.

Bake at 350ºF for 25-30 minutes or until a toothpick inserted into the centre comes out clean.

To unfrosted carrot cakes cooling on a wire rack

Remove from the oven and let cool in the pan for 10 minutes then carefully turn the cake pans over to release the cakes onto a cooling rack. Let the cakes cool completely.

carrot cake cream cheese frosting ingredients & Substitutions

  • Cream cheese – Softened to room temperature. Regular full-fat cream cheese works best because lower-fat types contain a higher water content and do not work as well.
  • Butter – Softened to room temperature. Unsalted butter is always used in baking because baking recipes are much more delicate and unsalted butter allows bakers to control the salt by adding it as only necessary.
  • Powdered stevia – I like to use the Swerve brand. It works so well you can’t tell the difference between it and regular icing sugar one bit.
  • Vanilla – because vanilla is always needed in baking… I dare you to find a baking recipe that doesn’t include vanilla. Except maybe pastry but then vanilla is in the filing!
Overhead pic of a carrot cake that is gluten free with a slice cut out decorated with fall leaves.

how to make keto carrot cake frosting

  1. Add the cream cheese, butter and vanilla to a large bowl and whip on high with a hand-mixer until it becomes smooth and creamy.
  2. Gradually add in the powdered stevia continuing to mix until well combined and smooth.

Once the cakes are completely cool it is time to assemble this soon to be devoured homemade carrot cake!


  1. Place one of the cakes top side down on a cake pedestal or flat plate.
  2. Spread about a 1/2″ layer of the carrot cake frosting over the top of this bottom later.
  3. Add the second cake top side down on top of the frosting.
  4. Frost the top and sides of the cake with the remaining frosting
Two slices of a keto carrot cake recipe made with keto carrot cake frosting

Carrot cake decorating ideas

There are lots of ideas for how to decorate a carrot cake. Here are some of my favourites.

  • Add chopped pecans or walnuts to the top either in the centre of the cake in a small mound-like I show in this recipe. Or along the edge of the top and/or bottom of the cake.
  • Add shredded coconut in the same fashion described for the nut above or you could also add shredded coconut all over the cake to be part of the icing itself. Just evenly sprinkle over the top. And for the sides add a small amount to the palm of your hand and gently press along the side of the cake evenly into the frosting.
  • I used some fall leaves from the trees in the backyard to decorate this cake but gave them a quick rinse first and then made sure they were well dried. by leaving them out overnight before using them.
  • If you are feeling very artistic you may even want to make some additional cream cheese frosting and colour some green and some orange. Then use a piping bag pipe baby carrots along the edge or a few in the centre of the cake to look decorative.

I am no cake decorator so you will never see me attempt this but if you are a crafty or brave soul have at her and then send me a pic so I can see your lovely design!

A piece of keto carrot cake on a plate with a fork

How to store carrot cake

Because this cake is covered in cream cheese frosting it can’t really sit out on the counter like other cakes. It will be ok on the counter for about 2 hours but after that, you will need to put it back in the fridge.

There are two ways to store this cake in the fridge.

  1. You can cover the cake with foil. But first, insert a few toothpicks over the top of the cake and possibly the sides if needed to push to keep the foil from getting stuck to the icing. I use foil because the toothpicks seem to break through the plastic wrap and then you will have a sticky icing mess. And trust me you don’t want one bit of this frosting to be sacrificed!
  2. Place the cake in the fridge uncovered but instead add two slices of bread to the exposed cake. Attached these two slices of bread to the cake with toothpicks. The bread will dry out before the cake will. You can use this trick with other cakes you leave on the counter too.
A carrot cake frosted with keto cream cheese frosting and decorated with fall leaves

Can you make this cake into a sheet cake instead?

Sure, can! Just pour the batter into a 9″ X 11″ sheet pan and bake for 20-25 minutes or again until a toothpick comes out clean. Wait until it has cooled completely and then frost and decorate as you like.

A piece of keto carrot cake on a plate with a fork

Keto & Gluten-Free Carrot Cake

Alisa Infanti | The Delicious Spoon
A gluten-free carrot cake full of flavour and never dry topped with a silky cream cheese frosting to die for! Made with zero sugar!
5 from 5 votes
Prep Time 30 minutes
Cook Time 25 minutes
Resting Time 1 hour
Total Time 1 hour 55 minutes
Course Dessert
Cuisine American
Servings 10 slices
Calories 434 kcal


  • Oven
  • 8" Round Cake Pans (2)
  • Large Mixing Bowl
  • Hand Mixer
  • Measuring Cups
  • Measuring Spoons
  • whisk
  • Large wire mesh sieve
  • Icing knife
  • Spatula or spoon


Keto & Gluten-Free Carrot Cake

  • 1/4 cup coconut milk
  • 1 cup safflower oil or olive oil
  • 3 eggs
  • 1 tsp vanilla
  • 1 3/4 cups almond flour
  • 1/4 cup coconut flour
  • 2 1/2 tbsp Stevia blend
  • 2 tsp baking powder
  • 1 1/2 tsp ground cinnamon
  • 1 tsp ground nutmeg
  • 1 tsp orange zest
  • 1/2 tsp salt
  • 1/4 tsp ground ginger
  • 1 cup carrots finely shredded
  • 1/4 cup pecans chopped and toasted (optional)

Keto Cream Cheese Frosting

  • 8 oz cream cheese softened
  • 1/2 cup unsalted butter softened
  • 1 1/4 cup Powdered Swerve or powdered stevia
  • 1 tsp vanilla


Carrot Cake

  • Preheat oven to 350F. Lightly grease two 8" cake pans. I like to dust with a little gluten-free flour or rice flour or you can line the pans with bottoms with parchment to reduce sticking.
  • In a large bowl whisk together the eggs, milk, vanilla and orange zest.
  • Place a large wire sieve over the bowl and add the almond flour, coconut flour, stevia, cinnamon, nutmeg, ginger, salt and baking powder. Using a spoon stir until all of the dry ingredients fall through the sieve into the egg mixture below.
  • Mix the dry ingredients into the wet ingredients just until blended. Fold in the carrots and pecans.
  • Evenly fill the cake pans with the batter and use a spoon or spatula to even out the batter in each pan. Baked for 25-30 minutes or until a toothpick inserted into the centre of each cake comes out clean.
  • Remove the cakes from the oven and let cool in the pan for 10 minutes. Then gently flip them over out of the pans on to a wire cooling rack to cool completely.

Cream Cheese Frosting

  • In a large bowl add the cream cheese, butter and vanilla.
  • Beat with a hand mixer on high until smooth.
  • Gradually add in the powdered stevia or Swerve and continue mixing until well blended and smooth.


  • Once the cakes are completely cooled place one of the cakes top side down on a cake pedestal or flat plate. Frost the top of this cake with about 1/2" of frosting.
  • Place the second cake top side down on top of this icing layer. Continue to frost the top and sides of the cake. Decorate as you wish and serve.


Serving: 1sliceCalories: 434kcalCarbohydrates: 5.6gProtein: 5gFat: 44.9gSaturated Fat: 12.9gPolyunsaturated Fat: 0.7gMonounsaturated Fat: 4.3gTrans Fat: 0gCholesterol: 102.4mgSodium: 320.7mgPotassium: 91mgFiber: 2.1gSugar: 1.8g


Store in the fridge for up to 5 days.
Sheet Pan Variation:
Pour batter into one 9″ X 11″ greased cake pan.  Bake at 350F for 20-25 minutes or until a toothpick inserted in the centre comes out clean.  Let cool completely, frost and serve.
Please Note:

The information shown is an estimate provided by an online nutrition calculator. It should not be considered a substitute for a professional nutritionist’s advice.

Share on Facebook Pin Recipe

Pin it for later!

Pinterest pins showing pieces of a gluten -free homemade carrot cake recipe from overhead

For the step-by-step version of this recipe, check out the How to Make Keto & Gluten-Free Carrot Cake Story.

Similar Posts


  1. 5 stars
    This carrot cake is delicious and I love how it’s gluten free and Keto! Loved the easy directions and the cream cheese frosting was my favorite and loved all the spices. Thank you!

  2. 5 stars
    I love carrot cake, but also like to keep my sugar intake down. Looking forward to trying this!

  3. 5 stars
    Oh! What a delight! I’m pretty sure carrot cake is in my top 3 favorites! This is a lovely recipes, perfect for those who enjoy a gluten-free way of eating. Mmm!

  4. 5 stars
    This looks so delicious and yummy! My family is going to love this recipe! I can’t wait to give this a try! My husband is going to love this!

  5. This looks delightful! I’m definitely in the same boat of even though I don’t follow a specific diet I like to cut sugar when I can and this is a lovely way to do so. ?

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating