Home » Cake Recipes » Banana Cake Filling
Swirled banana cream filling in a bowl above bold text banana cake filling, bottom image shows moist banana cake slice with visible banana cream layer on ceramic plate.

Banana Cake Filling Recipe

This banana cake filling is a cooked banana custard made with 2 ripe bananas, whole milk, egg yolks, sugar, and cornstarch, finished with butter and vanilla. It takes about 20 minutes of work plus 2 hours in the fridge, and it fills one 2 layer 8 inch cake generously.

The mashed banana cooks right into the custard instead of being folded in at the end. That gives the whole filling a real banana flavor, and the cornstarch and yolks set it thick enough to stay put between layers. It lands somewhere between banana pudding and pastry cream, with an optional pinch of cinnamon or nutmeg.

Bowl of creamy banana cake filling above the title text, and below it a slice of banana cake layered with a thick band of banana cream filling.

Following a special diet?

Every recipe on this site can be converted to gluten-free, vegan, dairy-free, keto, nut-free or egg-free with adjusted ratios so nothing falls flat.

Try the Recipe Converter →

What One Batch of Banana Filling Covers

  • Yield: about 2 cups, a thick layer for one 2 layer 8 inch cake
  • Time: 10 minutes prep, 6 to 8 minutes on the stove, at least 2 hours to chill
  • Thickener: 2 tablespoons cornstarch and 2 egg yolks for 1 cup milk and 2 large bananas
  • Keeps: up to 3 days in the fridge, not suited to freezing
  • For a 9 inch cake or three layers: make 1½ batches

Picking Bananas for a Cooked Banana Filling

Use large bananas with yellow peels speckled in brown that still feel a little firm. Those have full banana flavor but still mash into a thick purée. Green bananas taste starchy and leave hard lumps. Very dark, mushy ones taste fermented and make the filling loose, so save those for banana bread.

Mash them until mostly smooth. A few small bits are fine and give the filling some texture. Stir the lemon juice in right away, since it slows browning and adds a little tang that keeps the filling from tasting flat.

Glass bowl of mashed banana topped with banana slices, with a lemon wedge and a small dish of lemon juice beside it on white marble.

Whole milk gives the creamiest body. Oat milk works too, though the texture comes out slightly grainy.

Cooking the Banana Custard on the Stove

Whisk the sugar, cornstarch, and salt together in a medium saucepan before any liquid goes in. Dry sugar keeps the cornstarch grains apart, so they do not clump when the milk hits them.

Stainless steel saucepan holding sugar, cornstarch, salt, and a pat of butter with a whisk, the dry base for banana cake filling, on white marble.

Whisk in the milk slowly until smooth, then add the egg yolks and the mashed banana and stir everything together. Everything starts cold, so there is no need to temper the yolks.

Saucepan of milk with sugar and cornstarch and a whisk, next to a bowl of egg yolks and a bowl of sliced banana in lemon juice, ready for banana cake filling.

Set the pan over medium heat and stir constantly with a whisk or heatproof spatula, scraping the bottom and the corners. Nothing seems to happen for the first few minutes. Then, after about 6 to 8 minutes, the mixture thickens quickly into a custard that coats the back of a spoon.

Thick, smooth banana custard filling cooking in a stainless steel saucepan with a metal whisk on a white marble counter.

Keep stirring as it starts to bubble gently, for about a minute. This matters more than it looks. Egg yolks contain an enzyme that breaks down cornstarch unless the custard gets hot enough, and a filling pulled off too early sets in the fridge and then turns thin overnight. When it is ready, the whisk leaves a trail that stays visible for a second.

Take the pan off the heat and stir in the butter and vanilla until melted and glossy. Add the heavy cream and the cinnamon or nutmeg now if you are using them. Pour the filling into a heatproof bowl, press plastic wrap directly onto the surface, cool it to room temperature, and chill for at least 2 hours until cold and set.

Filling a Banana Layer Cake Without Squeeze Out

This is a soft custard, not a frosting, so it needs a wall to hold it in. Level your cooled cake layers and put the first one on the plate. Pipe a ring of stiff frosting about ½ inch inside the edge, then spread the cold filling inside the ring. For an 8 inch cake, use the whole batch.

Set the second layer on top and press gently. Chill the cake for 30 minutes so the filling firms up before you frost the outside. Cream cheese frosting and whipped cream frosting both suit banana, and the cream cheese version makes a sturdier dam.

Because the filling is made with milk and egg yolks, keep the filled cake in the fridge and take it out about 30 minutes before serving.

Banana Filling vs Banana Pudding vs Banana Cream Pie Filling

They look alike in the bowl, but they are built differently. This banana filling cooks the mashed banana into the custard and uses only 1 cup of milk, so it sets firm enough to sit between cake layers.

Banana pudding is softer and spoonable, usually layered with wafers and sliced bananas. Banana cream pie filling is a vanilla custard with sliced bananas folded in after cooking, like the one in this banana cream pie. If you want a plain vanilla custard to pair with sliced bananas instead, use this vanilla pastry cream.

Thin, Lumpy or Gray: Saving the Filling

  • Still runny after chilling: it did not bubble long enough. Return it to the pan, bring it back to a gentle bubble while whisking, and cook for a full minute.
  • Lumpy or grainy: part of the custard set on the bottom of the pan, or a little egg cooked too fast. Whisk hard off the heat, or press it through a sieve before chilling.
  • Gray on top: air reached the surface. Press the wrap right onto the filling and assemble the cake within a day for the brightest color.
  • Tastes dull: stir in a few drops of lemon juice or a tiny pinch of salt.

Peanut Butter, Cocoa and Coconut Versions

Stir 1 tablespoon of peanut butter into the hot filling with the butter for a nutty version that goes well with chocolate cake. For a chocolate banana filling, whisk 1 tablespoon of cocoa powder in with the sugar and cornstarch.

Brown sugar instead of white gives a deeper, caramel flavor, close to this caramel cake filling. Coconut milk in place of the whole milk, with toasted coconut on the cake, turns it tropical.

Making Banana Filling Ahead

Make the filling up to 3 days before you need it and keep it in an airtight container with plastic wrap pressed on the surface. Stir it gently before using. It will be thick and firm from the fridge, which is what you want for filling a cake. Do not microwave it.

Freezing is not a good idea. Cornstarch custards weep when they thaw, and the banana turns the texture spongy and watery.

More Ways to Use Banana Cream Filling

Spread it between layers of a banana cake for a double banana cake, or between layers of a vanilla cake for a banana cream cake. Pipe it into cored cupcakes and top them with whipped cream, or spoon it into baked tart shells and add a few caramelized bananas on top.

It also works as a cold dip for crisp cookies.

Bowl of banana filling above the words banana filling for cake, and a sliced banana layer cake with thick banana cream filling on a plate below.

Banana Cake Filling FAQ

Can I use this banana filling in cupcakes?

Yes. Cut a small cone out of each cooled cupcake, spoon or pipe in the cold filling, and frost over the top.

Why did my banana filling turn brown?

Banana darkens when air reaches it. The lemon juice slows this, and plastic wrap pressed on the surface keeps it pale for up to 3 days.

Can I add sliced bananas to the filling?

Yes, but add them only when you assemble the cake. Fresh slices release juice and brown, so they do not keep well in the stored filling.

Yield: About 2 cups, enough to fill one 2 layer 8 inch cake generously

Banana Cake Filling

Swirled banana cream filling in a bowl above bold text banana cake filling, bottom image shows moist banana cake slice with visible banana cream layer on ceramic plate.

This banana cake filling is a cooked banana custard made with ripe bananas, whole milk, egg yolks, sugar, and cornstarch, finished with butter and vanilla. It takes about 20 minutes of work plus 2 hours to chill and makes about 2 cups, enough to fill one 2 layer 8 inch cake generously with a thick, creamy layer. The mashed banana cooks right into the custard, and the filling bubbles gently until it coats a spoon, so it holds between cake layers instead of running. Use this banana filling for banana cake, vanilla layer cakes, filled cupcakes, or banana cream tarts. Add a pinch of cinnamon or nutmeg if you like, and keep it in the fridge for up to 3 days; it does not freeze well.

Prep Time 10 minutes
Cook Time 10 minutes
Additional Time 2 hours
Total Time 2 hours 20 minutes

Ingredients

  • 2 large ripe bananas (spotted, not mushy)
  • 1/3 cup granulated sugar
  • 2 tablespoons cornstarch
  • Pinch of salt
  • 1 tablespoon lemon juice
  • 1 cup whole milk
  • 2 large egg yolks
  • 2 tablespoons unsalted butter
  • 1 teaspoon vanilla extract
  • 1 tablespoon heavy cream (optional)
  • 1/4 teaspoon cinnamon or nutmeg (optional)

Instructions

  1. MASH THE BANANAS: In a medium bowl, mash the bananas until mostly smooth, leaving a few small lumps if desired. Stir in the lemon juice to help preserve the color and set aside.
  2. MIX DRY INGREDIENTS: In a medium saucepan, whisk together the granulated sugar, cornstarch, and a pinch of salt until evenly combined. This ensures the cornstarch doesn’t clump when you add the liquid.
  3. ADD WET INGREDIENTS: Gradually whisk in the whole milk until smooth. Add the egg yolks and mashed banana mixture, then stir everything together until fully combined.
  4. COOK THE MIXTURE: Place the saucepan over medium heat. Stir constantly using a heat-safe spatula or whisk, scraping the bottom and sides of the pan. After about 6 to 8 minutes, the mixture will thicken to a custard-like consistency. Once it bubbles gently and coats the back of a spoon, remove it from the heat.
  5. FINISH WITH BUTTER AND VANILLA: Immediately stir in the unsalted butter and vanilla extract until fully melted and smooth. If using, add the heavy cream and cinnamon or nutmeg at this stage and mix well.
  6. COOL DOWN: Pour the filling into a heatproof bowl. Press a piece of plastic wrap directly onto the surface to prevent a skin from forming. Allow it to cool to room temperature, then refrigerate for at least 1 to 2 hours before using in your cake.

Notes

Use large bananas that are spotted but still a little firm. Very soft, dark bananas make the filling loose.

Keep stirring for about a minute once the filling starts to bubble. If it is pulled off the heat too early, it can turn thin in the fridge.

Press plastic wrap directly onto the surface and chill at least 2 hours before filling the cake. Pipe a ring of frosting around the edge of the layer to hold the filling in.

Filling can be made up to 3 days ahead. Store in an airtight container in the refrigerator and stir gently before using. Keep the assembled cake refrigerated. Freezing is not recommended.

Leave a Comment

Your email address will not be published. Required fields are marked *

*