Ingredients
Equipment
Method
Bake the cake
- Preheat oven to 350°F, then grease two 8-inch round pans or a 9x13 dish so the cake releases cleanly.
- Whisk vegetable oil, brown sugar, eggs, and vanilla extract together until smooth and glossy, with no visible egg streaks.
- Stir in mashed ripe bananas and shredded carrots until evenly distributed through the batter.
- Fold in all-purpose flour, baking soda, baking powder, cinnamon, nutmeg, ginger, and salt until just combined, stopping as soon as no dry flour remains.
- Fold in chopped walnuts, if using, so they’re suspended throughout the batter rather than clumped.
- Divide batter between pans and bake at 350°F for 30–35 minutes, until a toothpick inserted in the center comes out clean.
Make and spread the frosting
- Beat cream cheese and butter until smooth, then add powdered sugar and vanilla extract and beat until fluffy with a thick, spreadable texture.
- Cool cakes completely before frosting generously so the frosting stays thick and doesn’t melt or slide.
Notes
For clean slices, cool the cake fully before frosting; then chill the frosted cake for 30–60 minutes to help the frosting set. Store covered in the refrigerator for up to 4 days. Freeze unfrosted layers wrapped tightly for up to 2 months; thaw overnight in the fridge before frosting. For a lighter version, replace about half the vegetable oil with unsweetened applesauce and use the same spices.
