This gluten-free carrot cake is incredibly moist and tender. It's infused with sweet pineapple and fresh carrots for a delicious gluten-free treat that you can't tell is missing gluten.
2 ½cupsgluten-free flourI used Bob’s Red Mill 1-to-1 Gluten-Free Flour for this recipe; I have not tested it with other flour blends
1tspxanthan gum (see notes)OMIT if using a gluten-free flour blend that already has xanthan gum, like Bob’s Red Mill 1-to-1 Gluten-Free Flour
2tspbaking powder
1tspbaking soda
2tspcinnamon
1tspsalt
3cupsshredded carrotsabout 6-9 carrots, depending on their size
1 ½cupscanned pineapple tidbitsdrained
½cupunsweetened shredded coconutoptional
For the frosting:
16ozcream cheesedairy or dairy-free
1cupbuttersoftened (or 1 cup palm shortening if dairy-free)
2tspvanilla extract
2lbpowdered sugar1 bag and approximately 7 1/2 cups
1-3Tbspheavy creamor dairy-free milk
Instructions
Preheat the oven to 350°F, lightly grease two 9-inch round cake pans, and line the bottom of each pan with a 9-inch parchment paper circle.
In a large mixing bowl with an electric hand mixer or a stand mixer, cream the brown sugar and oil for 5 minutes.
Add the eggs and vanilla and mix until smooth. It should be very creamy.
Whisk together the gluten-free flour (and xanthan gum if needed), baking powder, baking soda, salt, and cinnamon.
Add the dry ingredients to the egg and sugar mixture and mix until just combined. It will be very thick.
Add the shredded carrots, canned pineapple tidbits, and shredded coconut and mix until evenly combined. The batter is thick but not to worry. The moisture from the carrots and pineapple will give the cake batter the right texture as it bakes.
Evenly divide the carrot cake batter between the two prepared pans and bake for 45-50 minutes, or until a toothpick inserted in the center of a cake comes out clean.
Please allow the cake layers to cool thoroughly before you remove them from the pans.
For the frosting:
Prepare the frosting by whipping the cream cheese and butter or shortening until light and fluffy, about 3-5 minutes, using either an electric hand or a stand mixer.
Add the powdered sugar and vanilla and beat at low speed until the powdered sugar is incorporated. Add cream or dairy-free milk, ½ a tablespoon at a time, until you get a smooth, spreadable consistency.
Whip the cream cheese frosting until smooth and creamy, another 2-3 minutes.
To frost and layer the cake:
Level and trim the cake layers as needed. Place one cake layer in the center of the cake plate, securing it to the plate with a dab of cream cheese frosting.
Spread a thick and generous layer of cream cheese on top of the first layer to act as the carrot cake filling.
Place the other carrot cake layer upside-down on top of the frosting. Placing it upside down will help to prevent crumbs from getting into the frosting as you spread the frosting.
Frost the top and sides of the cake with the cream cheese frosting and decorate as desired. (You may have extra frosting depending how thick you frost the cake.)
Notes
Managing Moisture: The cake batter does not contain milk, which is by design because the canned pineapple tidbits and freshly shredded carrots add a lot of moisture. If you added milk to the batter, the batter would become too thin. A thin batter couldn't sufficiently suspend the shredded carrots and pineapple tidbits in place, and they would likely sink to the bottom of the cake as it cooks.Coconut Is Optional: You don't have to add coconut, but if you do, you'll find that it adds texture to the cake and compliments the pineapple. Alternatively, add raisins, dried cranberries, or chopped nuts, if desired. I recommend no more than one cup of add-ins.Chill the Cake: It's much easier to prepare the cake when you let the layers chill before leveling and stacking them. This also prevents crumbs from getting into the frosting and ruining the clean look of the cake.Dairy-Free Options: As pictured, the cream cheese frosting was made with dairy-free cream cheese and palm shortening. The recipe has been tested many times using dairy cream cheese and butter with cream. It works equally well both ways.Extra Frosting? This recipe makes a lot of cream cheese frosting recipe. Some people like to thickly frost their cakes, while others use less. You can half the frosting recipe if you want to use less frosting. As pictured, only ¾ of the frosting was used on the cake. You can store the remaining frosting in the fridge in an airtight container for one week or more than a month in the freezer.