This gluten free carrot cake recipe has a delicate crumb and wonderfully warm flavors.
It's sure to wow guests - no one will notice that it's made with cassava flour instead of wheat flour!

Why you'll love this GF carrot cake
RICH, TENDER CRUMB: Warm flavors and a tender crumb make this cake irresistable! No one would guess it's gluten free. It's become a favorite for several friends and family who have tried it.
LAYERED TO IMPRESS: Serving a layered cake for a special occasion is a sure-fire way to impress anyone who comes to the table.
ADJUSTABLE: This cake is gluten free, but can easily be made nut free or dairy free!
Jump to:
Carrot cake ingredients
CASSAVA FLOUR: One of my go-tos for gluten free baking, since cassava flour makes a decent wheat flour substitute on its own. I like Otto's Cassava Flour!
COCONUT SUGAR or BROWN SUGAR: For this recipe, you can use either coconut or brown sugar. Up to you! The two are similar in taste, but brown sugar is a little more full-bodied.
EGGS: The binder for this recipe. For an egg-free alternative, make flax eggs.
MELTED BUTTER or OLIVE OIL: Butter helps enhance the warm flavors of this cake, but olive oil works just as well in a pinch! For a dairy free cake, be sure to use olive oil.
APPLESAUCE: I was able to cut down on some of the added fat of this cake using applesauce, while still keeping the cake moist. You won't taste any apple, but applesauce helps to boost the sweetness a bit, too!
GRATED CARROTS: You'll need about 4 medium-large carrots to create enough grated carrots for this recipe.
RAISINS & WALNUTS: These optional mix-ins are hard to beat! I use no sugar added raisins so I don't add a ton of unnecessary sweetness. One of my secret weapons when baking: I toast the nuts before mixing them into the batter. So much more flavor!
Along with those main ingredients, we'll use a blend of baking soda and gluten free baking powder as leaveners. Finally, cinnamon, nutmeg, allspice, and clove add the warm, spiced flavor we all love in a good carrot cake!
How to make gluten free carrot cake
I tested this cake recipe a few different ways to make sure it truly makes the BEST gluten free carrot cake. Here's what you've got to do!
1. Cream the butter and sugar - Lots of recipes out there don't call for creaming the butter and sugar for gluten free carrot cake. But I found it necessary for producing a light crumb and keeping the cake from being too dense.
2. Add the remaining wet ingredients - Once the butter and sugar have been mixed, add the eggs and applesauce. Blend again just until combined.
3. Combine the dry ingredients - With baking, you always want to combine the dry ingredients before adding to the wet ingredients. This prevents clumps of baking soda or spices that don't get evenly distributed.
Add the dry ingredients to the wet, stirring with a spatula until just combined. Fold in the shredded carrot, walnuts, and raisins.
4. Let the batter rest - Gluten free cakes don't have gluten to help with stability, and gluten free flours are often dry. Therefore, many gluten free baking recipes benefit from letting the batter rest for 15-30 minutes before baking.
I picked this tip up from a cookbook and utilize it whenever I can! Letting the batter rest allows the wet ingredients to permeate the dry ingredients and usually results in a better texture.
5. Bake in two cake pans - This recipe is meant to create two cakes for a layer cake. Don't try to make just one cake - it definitely won't bake through without drastically overcooking the edges.
Before frosting, be sure to let the cake cool completely!

How to make incredible cream cheese frosting
Making cream cheese buttercream frosting is easier than you think!
Start with room temperature cream cheese and butter: If the cream cheese or butter aren't soft and spreadable, the frosting will end up clumpy.
Usually, I take the cream cheese and butter out of the fridge the morning of, or at the very least before I start the cake.
Blend cream cheese and butter: Add both to the bowl of a stand mixer. Blend on medium until smooth. Add the vanilla and salt and turn the mixer on to combine.
Add the powdered sugar: Gradually add the powdered sugar, increasing the speed to high. Keep mixing for a few minutes until the frosting has increased in size and is nicely spreadable. It shouldn't be runny or soupy.


Substitions and variations
Gluten free flour instead of cassava flour - Try this with your favorite gluten free flour blend (my go-to is Bob's Red Mill Gluten Free 1 to 1 Baking Flour).
Cassava flour soaks up moisture pretty readily, so you may need to add more gluten free flour blend. Start with adding ½ cup additional flour.
Brown sugar instead of coconut sugar - Use light brown sugar in place of coconu sugar at a 1:1 ratio.
Nut free - For a nut free cake, simply omit the walnuts.
Egg free - Use flax eggs as a replacement. Make 1 "flax egg" by combining 1 tablespoon flaxseed meal with 2.5 tablespoons water. Let thicken for about 5 minutes. Use in place of 1 egg.
FAQs
Yes, you should be able to swap out the cassava flour for an all-purpose gluten free flour.
When I first created this recipe, I mainly used cassava flour for gluten free baking.
Why? For many recipes, it can be used on its own as a replacement. I'm not a big fan of using store-bought gluten free flour blends, because none of them are the same so they'll get different results.
As written, this carrot cake recipe uses ONLY cassava flour. However, you can substitute approximately 2 ½ cups of your favorite gluten free flour blend if you'd like.
However, all gluten free flour blends are different. I probably haven't tested your favorite brand, so I can't confirm it'll work out as well as cassava flour.
Seriously, if you haven't tried baking with cassava flour before, give it a try!
Easy - omit the walnuts as a mix-in or topping!
That's one of the reasons I love baking with cassava flour - it can often be used on its own or with arrowroot powder for gluten free baking, so most of my baked recipes are already nut free.
While this carrot cake is dairy free, the frosting is not. Here's a great dairy free frosting recipe from Cotter Crunch you can substitute in!

More gluten free cake recipes
- Homemade Gingerbread Marshmallows (Paleo, Gluten Free)
- Mocha Avocado Cream Pie
- Peanut Butter Chocolate Avocado Pudding Pie
- Gluten Free Apple Bundt Cake with Walnuts
Did you make this gluten free carrot cake? I'd love to hear what you think! Comment below or tag me on Instagram.
Print📖 Recipe
Gluten Free Carrot Cake Recipe with Cream Cheese Frosting
- Prep Time: 40 minutes
- Cook Time: 35 minutes
- Total Time: 1 hour 15 minutes
- Yield: 8 servings 1x
- Category: Dessert
- Method: Oven
- Cuisine: American
- Diet: Gluten Free
Description
Tender and full of flavor, this gluten free carrot cake is just as good as the traditional version! Feel free to use either pecans or walnuts in this recipe (or omit them entirely). Can't do cream cheese? Make a coconut cream frosting for a dairy free version!
Ingredients
For the Carrot Cake:
- 1 ½ cups coconut sugar
- ½ cup melted butter OR olive oil
- 4 eggs
- ⅓ cup unsweetened applesauce
- 2 teaspoons vanilla extract
- 2 cups cassava flour (spooned and leveled)
- 1 teaspoon baking soda
- 1 ½ teaspoons gluten free baking powder
- ½ teaspoon sea salt
- 2 teaspoons cinnamon
- ¼ teaspoon nutmeg
- ½ teaspoon allspice
- ¼ teaspoon ground cloves
- 2 cups freshly grated carrots
- ½ cup unsweetened raisins
- 1 cup chopped walnuts or pecans, divided
For the Cream Cheese Frosting:
- 8 oz full fat cream cheese
- ½ cup butter, room temperature
- 2 teaspoons vanilla extract
- ½ teaspoon salt
- 3 cups confectioner's sugar
Instructions
- Line a baking sheet with parchment paper and preheat the oven to 350 degrees F. Spread the walnuts out on the baking sheet, then bake for 10 minutes. Remove and let cool. Reduce the oven temperature to 300 degrees F. Prepare two 9-inch cake pans with a circle of parchment paper (this isn't required, but does wonders to prevent sticking!). Grease the parchment paper and sides of the cake pan.
- In the bowl of a stand mixer, add the coconut sugar and melted butter. Cream the butter and sugar together, starting on low and increasing to medium-high speed, until the mixture has lightened in color and is completely combined. Turn the mixer off and add the eggs, applesauce, and vanilla. Mix again at medium speed until smooth.
- In a separate bowl, whisk together the cassava flour, baking soda, baking powder, sea salt, cinnamon, nutmeg, allspice, and cloves. Fold the dry ingredients into the wet ingredients using a rubber spatula or wooden spoon. Fold in the carrots, raisins, and toasted walnuts (reserve ½ cup walnuts for garnish).
- Divide the batter evenly between the two cake pans. Bake for 30-35 minutes, or until a toothpick inserted into the center of the cakes comes out clean. Allow the cakes to cool completely on a wire rack in the cake pans. The cakes have to be completely cool before assembling and frosting.
- While the cakes are cooling, prepare the frosting. In a large bowl of a stand mixer with a whisk attachment, beat the cream cheese and butter together on medium-high speed for about 2 minutes, until smooth. Add the confectioner's sugar, vanilla extract, and salt. Beat on low speed for about 30 seconds, then gradually increase to high speed. Continue beating on high speed for 3 minutes until the frosting has increased in volume and is creamy. The frosting should be soft and spreadable, not runny.
- Finally, assemble and frost the cakes. Remove the cooled cakes from the cake pans. Use a large serrated knife or cake level to slice off the tops of the cakes to create a flat surface. Place the first cake layer on a cake stand or serving plate. Evenly cover the top with frosting. Carefully place the second layer on top. Spread the remaining frosting all over the top and sides of the cake. Sprinkle with reserved walnuts. Refrigerate for 15-20 minutes to help the cake hold its shape when cutting.






Leave a Reply