
With its outstanding spice flavor, super moist crumb, and velvety cream cheese frosting, this is truly the best carrot cake. Use brown sugar and toasted pecans for deeper flavor. This recipe is also in my cookbook, Sally's Baking 101.
Preheat the oven to 300°F (149°C). Line a large baking sheet with parchment paper or a silicone baking mat. Spread the chopped pecans (or walnuts) on the prepared baking sheet and bake for 6–8 minutes, or until fragrant. Give the pan a shake halfway through baking. Remove from the oven and allow to cool for 10–15 minutes.
Grease two or three 9-inch cake pans with nonstick spray, line with parchment paper rounds, then grease the parchment paper. Parchment paper helps the cakes seamlessly release from the pans. (If it’s helpful, see this parchment paper rounds for cakes video & post.)
In a large bowl, whisk the brown sugar, granulated sugar, oil, eggs, applesauce, and vanilla until combined and no brown sugar lumps remain.
In another large bowl, whisk the flour, baking powder, baking soda, salt, cinnamon, ginger, nutmeg, and cloves together. Pour the wet ingredients into the dry ingredients and, using a spatula or wooden spoon, fold the ingredients together until just combined. Fold in the carrots and 1 cup (about 120g) of the toasted nuts. (The rest of the nuts are for garnish.) Pour/spoon the batter evenly into the prepared cake pans.
Bake until a toothpick inserted in the center comes out clean. If using three cake pans, this takes about 20–25 minutes. If using two cake pans, this takes about 30–35 minutes. Cool the cakes in the pans set on a cooling rack for 1 hour. Run a knife around the edges to help loosen the sides, remove the cakes from the pans, peel off the parchment, and place on the rack to finish cooling. Allow the cakes to cool completely in the pans set on a cooling rack. The cakes must be completely cool before frosting and assembling.
In a large bowl using a handheld or stand mixer fitted with a paddle attachment, beat the cream cheese and butter together on medium-high speed until smooth, about 2 minutes. Scrape down the sides of the bowl as needed. Add the confectioners’ sugar, vanilla, and a pinch of salt. Beat on low speed for 30 seconds, then increase to high speed and beat for 3 minutes until completely combined and creamy. Add more confectioners’ sugar if frosting is too thin, a little milk if frosting is too thick, or an extra pinch of salt if frosting is too sweet.
(For extra help with this step, see this video & post on how to assemble a layer cake.) First, using a large serrated knife or cake leveler, slice a thin layer off the top of each cake to create a flat surface. Place a cake layer on your cake turntable, cake stand, or serving plate. Evenly cover the top with 3/4 to 1 cup (180–240g) of the frosting. Top with the second cake layer, upside down, and spread the same amount of frosting as on the first layer. Top with the third layer, right side up, and spread the top and sides with the remaining frosting. Garnish with the remaining toasted nuts. Refrigerate the cake for at least 20 minutes before slicing. This helps the cake hold its shape when cutting. If you refrigerated the cake for longer than 4 hours, take it out of the refrigerator 2 hours before serving so it can mostly come to room temperature.
Cover leftover cake tightly and store in the refrigerator for up to 5 days.