My son has declared this the best gluten free carrot cake recipe ever and not only the best gluten free cake, but the best carrot cake ever. If anyone should know it's him. As someone who doesn't like chocolate, carrot cake has always been his go-to dessert at bakeries and he always chooses that for his birthday cake. So you can believe if he says it's the best it is because he has done the research.
We absolutely love everything carrot cake at our house, like this carrot cake coffee cake and this small batch of carrot cake cupcakes, which is perfect for an everyday treat.
Why You'll Love This Recipe
- I've made this recipe dozens of times, so I'd consider it foolproof.
- It's gluten free and dairy free.
- It can be made into a layer cake, a sheet cake or cupcakes.
- Gluten Free 1-to-1 Flour Blend - for almost all of my recipes, I use Bob's Red Mill 1-to-1 Gluten Free Flour Blend. I have found it to be the most versatile gluten free flour. It works particularly well in cakes and muffins. You can use your own favorite flour blend but keep in mind this recipe was developed with BRM, so your final product may be slightly different. For best results, weigh your flour since all gluten free blends are different.
- Baking Powder & Baking Soda - We are using a little of both kinds of leaveners for this cake. The batter is quite heavy and can use the extra lift to keep the cake light and fluffy.
- Spices - I personally adore cinnamon, ginger, and nutmeg in my carrot cake. I have never been a fan of cloves, which many people use. If you're in a pinch, you could substitute 1 ¾ teaspoon apple pie spice or pumpkin spice in place of mixing the spices yourself.
- Oil - Part of the moisture of this cake comes from the fact that it uses oil instead of butter. Don't substitute here. Any light tasting cooking oil will work - I usually stick to olive oil or melted coconut oil. There are a couple of reasons to stick with oil - oil is 100% fat, where butter is only 80% fat and the remainder is water and oil is liquid at room temperature and even when chilled. Since this cake must be stored in the refrigerator due to the cream cheese frosting, you will want it to be edible while cold.
- Light Brown Sugar - This is another ingredient that is contributing to the moist nature of the cake. In addition, it's also giving a nice caramel flavor. Don't substitute for white sugar. If you're in a pinch you can use dark brown sugar instead of light brown.
- Eggs - Eggs are the piece that hold the batter together. I have not tried this recipe without eggs (vegan) and I don't suggest it. If you need an egg free recipe, I suggest looking for one specifically made for that diet to avoid disappointment here.
- Applesauce - Some recipes call for milk or sour cream, I prefer to use applesauce in this cake. It adds to the moistness of the cake and the apple and carrot flavor blend together so well.
- Vanilla - Just a hint of vanilla to sweeten the flavor.
- Carrots - The all important ingredient which makes it a carrot cake. Shred them yourself on the day you make the cake. They will be much fresher than store bought shreds. For ease, you can throw baby carrots directly into your food processor and chop them finely.
- Nuts - Totally optional. I used walnuts, but pecans would also be delicious. If you're nut free, you can eliminate them with no other changes needed in the recipe.
Some people like coconut or raisins in their carrot cakes. I don't add those to mine, but you can easily add raisins or coconut - just reduce the amount of nuts used. You want to have no more than 1 cup of combined mix-ins.
How to make a gluten free carrot cake from scratch
To achieve a moist and fluffy carrot cake, you will want to make sure to follow the mixing instructions carefully. Having your ingredients at room temperature is also critical to a good outcome. An electric mixer will work best to incorporate enough air into your batter.
Make sure to grease your cake pans and line them with parchment paper. For reference, please see my post on how to grease a cake pan.
STEP 1: Combine the oil and brown sugar in the bowl of an electric mixer. Beat on medium speed for 2 minutes.
STEP 2: Add the vanilla and mix for 30 seconds. Then add the eggs, one at a time, mixing for 60 seconds between each addition.
STEP 3: Turn the mixer to the lowest setting and slowly add the combined dry ingredients, alternating with the applesauce. Mix only until just combined.
STEP 4: Add the chopped nuts and carrots to the batter. Fold together with a spatula until they are evenly mixed in. It should only take a few strokes.
STEP 5: Add batter to your prepared cake pans and bake.
How do you make dairy free cream cheese frosting?
The dairy free cream cheese frosting recipe below is one of my favorites. It's a simple matter of using vegan cream cheese and butter in the recipe. If you've done much cooking with vegan substitutes, you'll know that they don't all work the same. For cream cheese, I love to use Miyoko's brand. Its very stiff just like blocks of dairy cream cheese. But, you can also use the type in a tub like violife or kite hill.
If you're looking for an easy substitute, you can also use Pillsbury brand cream cheese frosting from the grocery store. It is both gluten free and dairy free.
What size cake will this recipe make?
The cake pictured here was made in three 6-inch cake pans.
This recipe would also work as two 8-inch or 9-inch layers, a single bundt cake, 24 cupcakes or a 9x13 sheet cake.
How do you store leftover cake?
Because of the cream cheese icing, this cake needs to be stored in the refrigerator. I store mine loosely covered with plastic wrap for up to 5 days (if it lasts that long).
Gluten free cake may take a smidge longer to bake than a regular cake, but it is not significant.
This cake in a 6-inch size takes about 30 minutes to bake. If you go to an 8-inch or 9-inch size, it may 25-30 minutes. The best way to make sure your cake is done and not overly dry is to check it with the poke method. When you think the cake is mostly done, gently poke the top of the cake near the center with your finger. If the top springs right back, the cake is done. If it leaves a small indentation then you need to cook a few minutes more. Check every 2 minutes afterwards.
You can prepare the cake ahead of time with no problems. If you want to work ahead, you have the following options depending on how far in advance you need to make the cake:
- Just a day ahead - Make the layers. Once cooled, wrap them tightly in plastic wrap and store at room temperature overnight.
- Farther in advance - Make the layers. Once cooled, wrap them tightly in plastic wrap and then place them in a freezer bag. Store in the freezer (without frosting) for up to 3 months. Thaw the cake overnight in the refrigerator before icing.
You can also make the frosting a day in advance. Store in an airtight container in the refrigerator. Whip for about 1-2 minutes with your mixer to fluff it up before using.
First, oil will provide a moister cake outcome than butter. And because carrot cake has to be refrigerated, oil is still liquid when chilled which makes for a better experience eating the cake straight from the refrigerator.
More great carrot recipes:
If you try this recipe, please leave a 🌟🌟🌟🌟🌟 star rating and let me know how you liked it in the comments below.
Gluten Free Dairy Free Carrot Cake
For the cake
- 2 Cup Gluten Free 1-to-1 Flour Blend I use Bob's Red Mill
- 2 teaspoon Baking Powder
- ½ teaspoon Baking Soda
- 1 teaspoon Cinnamon
- ½ teaspoon Ginger
- ¼ teaspoon Nutmeg
- ½ teaspoon Salt
- ½ Cup Olive Oil or any light vegetable oil
- 1 Cup Light Brown Sugar lightly packed
- 1 teaspoon Vanilla
- 3 Eggs room temperature
- ½ Cup Unsweetened Applesauce room temperature
- 2 Cup Carrots shredded
- 1 ½ Cup Walnuts finely chopped and divided
For the frosting
- 8 ounces Vegan Cream Cheese room temperature
- ½ Cup Vegan Butter room temperature
- 4 Cup Powdered Sugar sifted
- 1 teaspoon Vanilla
For the cake
- Preheat the oven to 350 degrees. Grease your cake pan and line the bottom with parchment paper.
- Combine flour, baking powder, baking soda, cinnamon, ginger, nutmeg, and salt in a large bowl. Stir together and then set aside.2 Cup Gluten Free 1-to-1 Flour Blend, 2 teaspoon Baking Powder, ½ teaspoon Baking Soda, 1 teaspoon Cinnamon, ½ teaspoon Ginger, ¼ teaspoon Nutmeg, ½ teaspoon Salt
- In the bowl of an electric mixer, combine the oil and sugar. Beat on medium high speed for 2 minutes. Scrape down the bowl.½ Cup Olive Oil, 1 Cup Light Brown Sugar
- Add the vanilla and mix 30 seconds more. Then add the eggs one at a time, mixing for about 60 seconds between each addition. Scrape down the bowl.1 teaspoon Vanilla, 3 Eggs
- Turn the mixer to the lowest setting. Add half of the flour mixture. Then add half of the applesauce. Add the remaining flour and then the remaining applesauce. Mix just until the dry ingredients are incorporated. Remove the bowl from the stand and scrape down the bowl, gently folding in any remaining bits of flour.½ Cup Unsweetened Applesauce
- Add the carrots and ¾C of the walnuts. Fold together by hand until just incorporated. This should only take a few strokes.2 Cup Carrots, 1 ½ Cup Walnuts
- Divide the batter evenly between your cake pans.
- For 6-inch pans, bake in the preheated oven for 30 minutes (8-inch pans for 25-30 minutes). Check for doneness by gently poking the top of the cake. If it springs right back it's ready, if it leaves an indention then cook for 2 minutes more and check again.
- Remove from oven and cool in the pan for 10 minutes. Turn out onto a wire rack to cool completely before frosting.
For the frosting
- Add the cream cheese to the bowl of an electric mixer. Beat on medium speed for 2-3 minutes until it is smooth.8 ounces Vegan Cream Cheese
- Add the room temperature butter. Beat another 2 minutes until they are well combined.½ Cup Vegan Butter
- Add your vanilla. Turn the mixer to the lowest setting and slowly add in the powdered sugar. Once it has all been combined into the cream mixture, scrape down your bowl. Then turn your mixer to medium high speed and beat for about 5 minutes until it is smooth and fluffy.4 Cup Powdered Sugar, 1 teaspoon Vanilla
- Use immediately to top cake. If you want to use a piping bag, then refrigerate the icing about 30 minutes before adding to your piping bag.
To assembly the cake
- Level your cakes using a sharp knife to cut off the dome top.
- Place a dab of frosting on the middle of your plate. Place the first cake layer on the plate. Top with ¼ of the frosting. Spread the frosting over the layer. Add the next cake layer on top of the frosting and add another ¼ of the frosting on top. Add the third cake layer to the top. Please cake in the refrigerator for 20-30 minutes to chill the frosting.
- Remove the cake from the refrigerator and add another ¼ of the frosting to the top of the cake. Working from the top down, coat the sides and the top in an even layer of frosting. Smooth the surface with a bench scraper. Place the cake back into the refrigerator for 30 minutes (this will be your crumb coat).
- Remove the cake from the refrigerator. Apply the remaining frosting. Swirl it over the whole cake or decorate to your taste.
- Chill at least 30 minutes prior to serving to set the frosting.
Tiffany is the recipe developer, stylist and food photographer behind Well Fed Baker. As a lifelong baker who had to go gluten free and dairy free in 2016, Tiffany strives to share allergen friendly recipes that never feel like they are free from anything.
I’m baking it now. My friend’s daughter made it and I had to have the recipe. I’m using almond flour. I hope I get the same results!
Hi Raquel, I'm glad you liked the cake. I am not sure using almond flour will work since it's not a direct substitute for 1-to-1 flour. I hope will come back and tell me how it turns out!
This cake was absolutely delicious! My whole family raved about it and sent me to the computer to print out the recipe for them! Thank you so much!
I'm so glad you like it. This is my family's favorite cake 🙂