Preheat your oven to 350°F (175°C) and prepare your pans by greasing and flouring two 8-inch round cake pans or lining them with parchment paper. This ensures your cake comes out easily after baking.
Grate about 3 cups of carrots using a fine grater or food processor, making sure to peel them first to avoid any bitterness. Freshly grated carrots are key to achieving a moist and flavorful carrot cake.
In a large bowl, whisk together the flour, baking soda, baking powder, salt, cinnamon, nutmeg, and ginger.
In a separate bowl, combine the brown sugar, granulated sugar, vegetable oil, melted butter, buttermilk, eggs, and vanilla extract. Mix everything thoroughly until the texture is smooth and perfectly combined.
Gradually incorporate the dry ingredients into the wet mixture, stirring lightly until just blended. Avoid overmixing, as it can lead to a denser cake, and we’re aiming for a light, fluffy texture.
Gently fold in the grated carrots, making sure they’re evenly distributed throughout the batter. The carrots are the star ingredient, adding both moisture and flavor, so don’t rush this step.
Pour the batter evenly into your prepared pans and bake in the preheated oven for about 40 minutes.
Start checking for doneness around the 35-minute mark by inserting a toothpick into the center; it should come out clean when the cake is ready.
Leave the cakes in the pans for around 10 minutes, then gently move them to a wire rack to cool fully. Cooling is essential before frosting, or the frosting might melt and slide off.
To make the frosting, beat together softened butter, cream cheese, vanilla extract, and salt until smooth.
Gradually add powdered sugar, one cup at a time, until the frosting is thick and creamy. Taste it to ensure it’s perfectly sweet and creamy.
Once the cakes have cooled, place one layer on your serving plate and spread a generous amount of frosting on top. Add the second layer and frost the top again.
Now, slice and enjoy your homemade carrot cake!