2 ¼cupsall purpose gluten free flour blend(Nicole's Best with added xanthan gum and Better Batter work well; click thru for appropriate blends) (See Recipe Notes re: cupcakes)
1teaspoonxanthan gumomit if your blend already contains it
1teaspoonbaking soda
1 ½teaspoonsbaking powder
½teaspoonkosher salt
2teaspoonsground cinnamon
¾cupgranulated sugar
½cuppacked light brown sugar
½cupneutral oil(like sunflower or grapeseed oil)
4eggsat room temperature, beaten
1teaspoonapple cider vinegar
½cupmilkat room temperature
½cupchopped pecansplus more for decorating (optional)
½cupwhite chocolate chips(See Recipe Notes if omitting pecans)
3cupspeeled and grated carrots(from about 3 large carrots)
Preheat your oven to 350°F. Grease two 8-inch round baking pans and set them aside. If making cupcakes, grease or line two standard 12-cup muffin tins, and set them aside.
In a large bowl, place the flour, xanthan gum, baking soda, baking powder, salt, cinnamon and granulated sugar. Whisk to combine well. Add the brown sugar, and whisk again to combine, working to break up any lumps in the brown sugar.
Create a well in the center of the dry ingredients, and add the oil, eggs, vinegar, and milk, and mix to combine. Add the (optional) pecans and white chocolate chips, and mix until evenly distributed throughout.
Add the grated carrots to the mixture, and stir until evenly distributed throughout the batter. The batter will be thick, but relatively soft.
To make a cake.
Divide the batter evenly among the two prepared baking pans, and spread into an even layer in each.
Place in the center of the preheated oven and bake until the cake is uniformly light brown on top, and beginning to pull away from the sides of the pan rotating the pans once during baking (35 to 40 minutes).
Remove the pans from the oven from the oven and allow the cakes to cool for at least 10 minutes before transferring to a wire rack to cool completely.
To make cupcakes.
Fill the wells of the prepared muffin tins about 3/4 of the way full with batter, and shake the pan back and forth to distribute the batter evenly in each well.
One at a time, place the muffin tins in the center of the preheated oven and bake until a toothpick inserted in the center of the cupcakes comes out with no more than a few moist crumbs attached (about 20 minutes).
Remove the tin from the oven from the oven and allow the cupcakes to cool in the pan for at least 5 minutes before transferring to a wire rack to cool completely. Repeat with the remaining muffin tin.
Make the frosting.
While the cakes or cupcakes are cooling, in the bowl of your stand mixer fitted with the paddle attachment (or a large bowl with a handheld mixer), place the cream cheese and butter.
Beat on medium speed until light and fluffy, about 5 minutes.
Add the salt, and 3 1/2 cups of confectioners’ sugar. Mix on low speed until the sugar is absorbed. Turn the mixer to high speed and beat until the frosting is thickened and fluffy.
Add more confectioners’ sugar as necessary to thicken the frosting enough to hold its shape when scooped with a spoon.
To frost a layer cake.
Turn one of the cooled cakes, top down, onto a serving platter. Spoon about half of the frosting onto the top of the cake and spread into an even layer.
Top with the second cake, top-down and press to adhere. Spread the remaining frosting on top of the cake and top with more chopped pecans, if desired. To make the cake easier to slice, chill for about an hour in the refrigerator before slicing and serving.
To frost cupcakes.
Spoon or pipe the frosting onto the cooled cupcakes.
Video
Notes
Changes if you're making cupcakes.
Reduce the flour blend by 1/4 cup (35 g) to 2 cups (280 g). The rest of the recipe remains the same.
You may want to halve the frosting recipe, as you need less frosting. Unless you really want to pile it on (which I heartily recommend).
About the pecans in the cake batter. If you're not using pecans in the cake, use double the amount of white chocolate chips, raising the amount to 6 ounces.Nutritional information is an estimate per slice of layer cake with frosting, assuming the cake is sliced into 8 equal slices. It is created using an online nutritional calculator as a courtesy and should not be relied upon.