Set your oven to 350°F (175°C) so it’s perfectly preheated and ready for baking.
Lightly spray your 9x5 inch loaf pan with nonstick cooking spray to ensure an easy release once your delicious loaf is ready to come out.
Start by combining the flour, baking powder, and baking soda in a large bowl, whisking them into a smooth, even mix.
Add in the cinnamon, nutmeg, ginger, and a pinch of allspice for that cozy, spiced flavor.
Sprinkle in the salt and whisk everything together to blend those warm spices perfectly.
In a separate bowl, mix the vegetable oil and sugars (both dark brown and granulated).
Add the eggs, buttermilk, and vanilla extract to create a smooth, creamy mixture that will keep your loaf tender and moist.
Fold in the shredded carrots and chopped walnuts with a gentle hand.
Slowly blend in the wet ingredients with the dry, folding them carefully. The batter should remain thick and slightly lumpy, which will help create that dense, rich texture we want for the loaf.
Carefully transfer the batter into the greased loaf pan, smoothing it out for an even layer. Bake at 350°F for 45-55 minutes.
Check for doneness by inserting a toothpick in the center, if it comes out clean, your loaf is ready! If the top starts to brown too soon, cover it loosely with foil and continue baking until fully cooked.
After baking, let the loaf rest in the pan for 15 minutes. Carefully remove it and place it on a wire rack to cool fully before frosting.
As the loaf cools, go ahead and prepare the cream cheese frosting. Whip the softened cream cheese and butter until they blend into a luscious, smooth texture.
Gently sift the powdered sugar, then mix in the vanilla extract and a pinch of salt for flavor. Taste and adjust the sweetness if needed.
When the loaf is cool to the touch, cover it with a rich layer of frosting. T
op with chopped walnuts for an extra crunchy finish and enjoy every bite of this sweet, spiced treat!