At the first cut, the knife glides through the frosting and catches a soft, close crumb underneath. I wanted a cake that used ripe bananas without tasting like a loaf of banana bread, and finely grated carrots bring their own sweetness and texture to this carrot banana cake. It’s a single layer baked in a 9×13-inch pan, with smooth cream cheese frosting spread right over the top.
Whisking the oil and mashed banana into the eggs and sugars gives the batter plenty of moisture, so I keep the mixing gentle once the flour goes in. Stir just until the dry streaks disappear, then fold in the carrots. After the cake cools completely, the frosting spreads easily without melting into the crumb. Each bite is soft, cinnamon-scented, and finished with a creamy layer.

Kitchen Note
Start the powdered sugar on low speed so it doesn’t puff out of the bowl. Once it’s incorporated, turn the mixer up and beat until the frosting looks smooth.
Save this carrot banana cake for a bake with a tender cinnamon crumb and a smooth cream cheese topping.
Why This Cake Belongs in a 9×13 Pan, Not a Loaf Pan
Banana and carrot both bring moisture to a cake, so it’s easy to picture a tall, dense slice that eats more like banana bread. Spreading this batter in a 9×13-inch pan gives it a broad, single-layer shape instead. That changes the balance: you get a soft cake crumb with a smooth layer of frosting across the top, rather than a thick loaf center with frosting only on the sides or between layers.
The pan also makes this a useful cake to portion and share; the recipe yields 15 servings without stacking or trimming layers. The banana brings a mellow sweetness, and cinnamon keeps the carrot flavor familiar and warm. Cream cheese frosting adds a tangy finish without making the cake feel like a frosted loaf. I think of it as its own kind of snack cake: tender enough for a fork, sturdy enough to slice, and generous with frosting in every piece.
The Ingredients That Keep Banana and Carrot in Balance

- Ripe banana — Use bananas that are soft and well speckled; they mash easily and bring fuller sweetness than firm, yellow fruit. Mash before adding it to the wet ingredients so it blends evenly instead of leaving large soft pockets.
- Carrots — Fresh carrots grated finely give the cake a tender texture and distribute well through the batter. A box grater works; the fine side keeps you from getting long, firm strands in each bite.
- Neutral oil — Canola or vegetable oil keeps the crumb moist without adding a strong flavor. Either inexpensive option works well here, so there’s no need to reach for a specialty oil.
- All-purpose flour — This gives the cake enough structure to hold the banana and carrot while staying soft. For a gluten-free version, use a cup-for-cup baking blend intended to replace all-purpose flour; the crumb may be a little more delicate.
- Cream cheese and butter — Both should be softened so they beat together smoothly. A block of cream cheese is a reliable choice for frosting that holds its shape; tubs can be softer and make the topping looser.
- Light brown and granulated sugar — The two sugars give the cake sweetness with a little extra depth from the brown sugar. Keep both in the batter; changing the balance can affect more than sweetness.
Mixing the Batter Without Making It Tough
Get the Pan Ready and Whisk the Dry Ingredients
Heat the oven to 350°F and coat a 9×13-inch baking pan with nonstick cooking spray. In a medium bowl, whisk the flour, baking soda, baking powder, cinnamon, and salt until the leaveners and spice are evenly distributed. Breaking up any small flour or baking soda clumps now helps avoid concentrated pockets in the finished cake. Set the bowl aside while you mix the wet ingredients.
Build a Smooth Banana Base
In a large bowl, whisk the eggs with the granulated and brown sugars until the mixture looks smooth. Whisk in the oil, mashed banana, and vanilla until combined. The banana should be mashed before it goes into the bowl, so you don’t have to work lumps out of the batter later. The mixture will look loose; that’s expected before the flour goes in.
Fold in the Carrots Gently
Add the flour mixture to the wet ingredients and stir just until no dry streaks remain. Stop there rather than beating the batter smooth; extra mixing can make the cake less tender. Fold in the finely grated carrots, using broad strokes so they’re spread through the batter without overworking it. Scrape the batter into the pan and spread it evenly to the corners.
Bake Until the Center Gives a Moist-Crumb Test
Bake for 35 to 40 minutes, checking the center with a toothpick. It’s ready when the toothpick comes out with a few moist crumbs, not wet batter. A completely dry toothpick can mean the cake has gone too far and will lose some of its soft texture. Let the cake cool completely in the pan, about 2 hours.
Beat and Spread the Cream Cheese Frosting
Beat the softened cream cheese and butter in a medium bowl until smooth. Add the powdered sugar and vanilla, then beat on low until combined before increasing the speed and beating until smooth. If you see lumps, keep beating until the mixture is even rather than spreading it onto the cake. Frost only after the cake has cooled completely, then spread the topping across the surface.
Three Ways to Adapt This Carrot Banana Cake
Make It Gluten-Free
Replace the all-purpose flour with the same amount of a cup-for-cup gluten-free baking blend. Choose one formulated for cakes and cookies, not a single-ingredient flour such as almond or coconut flour. The cake may have a slightly more delicate crumb, so let it cool fully before slicing.
Add a Little Walnut Crunch
Fold 1/2 cup chopped walnuts into the batter along with the grated carrots. They add a toasty crunch that contrasts with the soft cake, though the slices will feel a little more textured. Keep the pieces small so they’re easy to cut through.
Give the Spice a Ginger Lift
Whisk 1/2 teaspoon ground ginger into the dry ingredients with the cinnamon. Ginger adds a gentle warmth that makes the cake taste a little more spiced without taking over the banana and carrot.
Storage and Serving
- Refrigerator: Cover and refrigerate for up to 4 days. The cake stays moist, while the cream cheese frosting firms up when cold.
- Freezer: Freeze slices until the frosting is firm, then wrap them tightly and store in an airtight container for up to 2 months. Thaw overnight in the refrigerator; the crumb may be a little softer.
- Serving: Let a chilled slice sit out briefly to soften the frosting; don’t microwave it, since the frosting can melt before the cake warms evenly. Don’t leave the frosted cake at room temperature for more than 2 hours.
Questions That Come Up When Baking This Cake

Carrot Banana Cake
Ingredients
Equipment
Method
- Preheat the oven to 350°F.
- Coat a 9x13-inch baking pan with nonstick cooking spray.
- Whisk the flour, baking soda, baking powder, cinnamon, and salt together in a medium bowl.
- Whisk the eggs and granulated and brown sugars in a large bowl until smooth.
- Whisk in the oil, mashed banana, and vanilla.
- Add the flour mixture to the wet ingredients and stir just until no dry streaks remain.
- Fold in the grated carrots.
- Spread the batter evenly in the prepared pan.
- Bake for 35 to 40 minutes, until a toothpick inserted in the center comes out with a few moist crumbs.
- Cool the cake completely in the pan, about 2 hours.
- Beat the cream cheese and butter in a medium bowl until smooth.
- Add the powdered sugar and vanilla and beat on low until combined.
- Increase the speed and beat until smooth.
- Spread the frosting over the cooled cake.


