I’ve known my way around a kitchen since I was barely tall enough to see over the counter. My mom would perch me on a stepstool, and I’d help her stir a pot of grits or pat out biscuit dough. Growing up in the South during the 70s and 80s, learning to cook was non-negotiable — and baking, especially for young ladies, was practically mandatory. Even those of us without much of a sweet tooth were expected to have at least one or two signature baked goods to offer up at gatherings.

By the time I reached adulthood, I had three go-to items people regularly requested from me: a buttery pie crust, melt-in-your-mouth Scottish shortbread, and the trendy Hummingbird Cake. The latter, with its blend of banana, crushed pineapple, and pecans, quickly became my favorite canvas for experimenting.

The original Hummingbird Cake is essentially a spice cake with tropical flair. But as someone who can never quite follow a recipe to the letter, I couldn’t help but tweak it over the years. I dialed back the banana, added coconut for texture, and swapped out half the oil for melted butter to give the cake more structure. Most importantly, I leaned into the pineapple element — and this is where things really took off. I discovered the art of making dried pineapple flowers, and once I saw how beautiful they looked atop a cake, there was no turning back.

The evolution of what I now call the Caterpillar Cake wasn’t a quick process. For years, it was just my quirky take on Hummingbird Cake with a bit of carrot and spice thrown in. But during the pandemic, when everyone seemed to be baking something, I finally settled on a consistent version of this recipe. That’s when the idea of a “caterpillar” started to take root in my mind — a whimsical mental image of a little edible caterpillar crawling beneath the pineapple flowers. I never did attempt to craft that caterpillar, but the name stuck, at least in my mind!

One of my favorite memories involving this cake happened at a gathering for which I had provided the food. I had cooked for three days straight to prepare an elaborate feast, and by the time we sat down to eat, I was absolutely exhausted. I noticed one of the guests heading toward the dessert table, where the cake sat in all its glory, about a third of it already gone. What surprised me wasn’t that they wanted a piece — it was that they wrapped up three slices to take home before everyone else had even had their first serving!

Now, I’m not usually one to make a scene, but after all that hard work, I couldn’t let it slide. I told them nicely (I think?) that they could absolutely take some home — after everyone had been served. That netted me a bit of a look, but hey, the cake is good enough to steal, so I’ll take that as a compliment!

what makes this cake special

The Caterpillar Cake blends the best elements of carrot cake, spice cake, and banana bread, with a tropical twist thanks to the pineapple and coconut. The result is a rich, moist cake with a surprisingly light crumb. It’s decadent enough to require refrigeration (thanks to all that butter), yet it never feels heavy.

Let’s take a look at what makes the ingredients work.

carrots

Carrots add moisture and subtle sweetness, while their fine texture integrates seamlessly into the crumb. Finely shredding them ensures they enhance the cake without making it too chunky.

crushed pineapple

Pineapple is key to the cake’s tropical flavor. It brings moisture, sweetness, and acidity, which help balance the richness. Since it has a lot of water, it’s important to drain it well and pat it dry to avoid excess moisture that could make the cake too dense.

mashed banana

Banana adds natural sweetness and helps replace part of the fat, keeping the cake tender. Since we’re not using a large amount, it doesn’t overpower the flavor but contributes to the soft texture.

coconut

Coconut brings its gentle but distinctive tropical sweetness and a bit of chew, complementing the pineapple beautifully.

butter + oil

Using both butter and oil gives the cake the best of both worlds.

  • Butter provides rich flavor and helps firm up the crumb slightly for better slice integrity.
  • Oil ensures the cake stays moist and tender, preventing it from becoming too dense.

sour cream + pudding mix

  • Sour cream adds a subtle tang and contributes to tenderness.
  • Instant pudding mix helps create an ultra-soft, moist, and rich texture while adding a hint of additional flavor.

extra egg yolk

The extra egg yolk strengthens the cake’s structure without making it dry or heavy, ensuring slices hold together beautifully.

honey

Honey isn’t just for sweetness — it plays a crucial role in the cake’s texture and shelf life.

  • It’s hygroscopic, meaning it draws moisture from the air, helping keep the cake from drying out.
  • It enhances binding, ensuring the cake holds together well when sliced.
  • It encourages caramelization, leading to a slightly deeper golden color when baked.

let’s talk about frosting

For this cake, I like a cream cheese frosting with a twist: it includes sour cream for tang, and my secret ingredient is a packet of pudding mix, which takes the frosting to a whole new level. With this simple addition, you can expect:

  • a thicker, silkier texture. The pudding mix helps stabilize the frosting, making it less prone to becoming too soft or runny.
  • a better structure. It gives the frosting a slight firmness, which is especially useful for layered cakes.
  • a flavor boost. Pudding mix adds a deeper, more complex sweetness without making the frosting overly sugary.
  • a creamier consistency. The modified starches in pudding mix emulsify with the cream cheese, resulting in a smoother, more luxurious mouthfeel.

I use coconut cream flavored pudding mix when I can find it, but cheesecake-flavored pudding also works beautifully with a dash of coconut extract. The result? A frosting that holds its shape, spreads like a dream, and adds just the right amount of richness without overwhelming the cake.

finishing touches

For the final flourish, I sprinkle the top with sunflower seeds and crown the cake with my signature dried pineapple flowers, little mint leaves tucked beneath the blooms. And those flowers aren’t just for show; they’re delicious to snack on once the cake itself is gone — a little treat for the chef! I’m not sure where I learned to make them, but they’re just stunning — and while they look quite impressive, people don’t have to know just how easy they are to make!

All in all, this cake is a showstopper — it’s beautiful to look at, delicious to eat, and every time I bring it to a gathering, it gets completely devoured.

I may never get around to making that edible caterpillar, but this cake will always be known as my Caterpillar Cake. And if you ever find yourself tempted to sneak away with a few extra slices, I won’t blame you. Just make sure everyone else gets a piece first.

caterpillar cake (carrot-coconut-banana-pineapple cake)

A rich, tropical twist on the beloved Southern Hummingbird Cake, the Caterpillar Cake is packed with finely shredded carrots, well-drained crushed pineapple, banana, and coconut for extra depth. Topped with a scattering of pecans and adorned with stunning oven-roasted pineapple flowers and fresh mint leaves, it’s a showstopper perfect for any occasion.
Course Dessert
Cuisine American, Southern (US)
Keyword carrot cake, hummingbird cake, pecan cake, pineapple cake, pineapple flowers, Southern cake, tropical dessert
Prep Time 45 minutes
Cook Time 30 minutes
Servings 12 servings
Calories 568kcal
Author sunny

Equipment

  • 1 stand mixer or hand mixer
  • 2 9-inch round cake pans
  • parchment paper
  • wire cooling rack
  • baking sheet for pineapple flowers
  • sharp knife for slicing pineapple
  • mixing bowls
  • measuring cups and spoons
  • whisk
  • spatula
  • cake knife or offset spatula for frosting

Ingredients

for the cake

dry ingredients

  • 3 cups all-purpose flour
  • 1 tsp. baking soda
  • 1 tsp. baking powder
  • 1 tsp. cinnamon
  • ½ tsp. nutmeg
  • ½ tsp. allspice
  • ¾ tsp. salt
  • ½ cup granulated sugar
  • ¾ cup brown sugar

wet ingredients

  • ½ cup mashed banana
  • ½ cup sour cream or plain Greek yogurt
  • ½ cup vegetable oil
  • ½ cup melted butter
  • 3 eggs
  • 1 egg yolk
  • 2 tbsp. honey
  • 3.4 oz. instant pudding mix (1 small box) coconut cream, cheesecake, or vanilla flavors work best
  • 8 oz. crushed pineapple, very well-drained 1 small can
  • 1 tsp. vanilla extract

mix-ins

  • ¾ cups finely shredded carrots
  • ¾ cup sweetened shredded coconut

for the frosting

  • 8 oz. cream cheese, softened
  • ½ cup softened butter
  • ¼ cup sour cream as needed, for consistency
  • 3.4 oz. instant pudding mix coconut cream or cheesecake flavor work best
  • 2 cups powdered sugar
  • 1 tsp. vanilla extract
  • ¼ tsp. salt
  • 2-3 tbsp. milk or heavy cream (only as needed)

for the pineapple flowers

  • 1 small pineapple, peeled and cored
  • mint leaves optional; as many as you like
  • ¾ cup chopped toasted pecans or sunflower seeds

Instructions

roast the pineapple flowers

  • Preheat the oven to 225°F (107­°C).
  • Thinly slice the pineapple and pat dry with paper towels.
  • Arrange on a parchment-lined baking sheet and bake for 1 1/2 – 2 hours, flipping halfway through, until the edges curl and brown slightly.
  • Let cool completely to set their shape.

prep the pans + oven

  • Preheat oven to 350°F (175°C). Grease and flour two 9-inch round cake pans (or 9 x 13-inch pan for a single layer cake). Alternatively, coat with a generous amount of Cake Goop.
  • You can (optionally) line the bottom of the pans with parchment paper (though you won’t need to do so if you use Cake Goop!)

dry ingredients

  • In a large bowl, whisk together flour, granulated sugar, brown sugar, baking soda, baking powder, and spices. Set aside.

wet ingredients

  • In another bowl, whisk together mashed banana, sour cream or yogurt, melted butter, eggs and egg yolk, vanilla extract, and honey until smooth and well-combined.

make the batter

  • Gradually fold the dry ingredients into the wet mixture, stirring until just combined. Do not overmix; stop once you no longer see streaks of flour.
  • Gently stir in the pudding mix until fully incorporated, then fold in the pineapple (make sure it’s patted dry), finely shredded carrots, and coconut flakes. Stir until evenly distributed.

adjust consistency as needed

  • If the batter looks too thick, add 1-2 tbsp. of milk. If too thin, add 2-3 tbsp. of flour.

divide and bake the cake

  • Divide the batter evenly between the prepared cake pans.
  • Bake for 30-35 minutes for round cakes (40-45 minutes fo 9×13-inch cake) until it reaches an internal temperature of 200°F (93°C) or until a toothpick inserted in the center comes out clean.

cool the cakes

  • Let the cakes cool in the pans for 10-15 minutes, then turn out onto a wire rack to cool completely before frosting.
  • Refrigerating the cake for an hour or more, or even freezing briefly, can make it easier to frost smoothly, but is entirely optional.

make the frosting

  • In a large bowl, use a hand mixer or stand mixer to beat the softened cream cheese and butter together on medium speed until completely smooth and creamy (about 2 minutes). Scrape down the sides as needed.
  • Beat in the sour cream or yogurt, vanilla extract, and salt until fully incorporated.
  • Sprinkle the instant pudding mix and beat on low until combined.
  • Add the powdered sugar a few tablespoons at a time on slow speed (to prevent a sugar snowstorm!) then increase to medium-high speed when all is combined and beat for about 2 minutes or until fluffy.
  • Adjust the consistency if needed; if too thick, add 1 tbsp. of milk or cream at a time until you reach the desired smoothness. If it’s too soft, add an extra 1/4 cup powdered sugar.
  • Chill if necessary; if your kitchen is warm or the frosting feels too soft to work with, a quick 15-20 minute chill in the fridge will help firm things up.

assemble + decorate

  • Frost the first cake layer, then place the second layer on top and frost the entire cake.
  • Press pecan pieces into the sides of the cake. Reserve a few to sprinkle over the top.
  • Arrange pineapple flowers on top, adding mint leaves and scattering pecans for a final flourish.
  • Serve and watch it disappear!

Notes

Prep time does not include 2 hours for pineapple flowers to dry.

Nutrition Info*

  • Calories: 586 kcal
  • Protein: 4.4g
  • Total Fat: 37.6g
    • Saturated Fat: 18.4g
    • Trans Fat: 0.8
  • Cholesterol: 119mg
  • Sodium: 390mg
  • Total Carbohydrates: 61g
    • Sugars: 127
  • Dietary Fiber: 24.7g
 
** The information provided on this blog is intended for general knowledge and informational purposes only, and does not constitute medical advice. It is essential to consult with a qualified healthcare professional or registered dietitian for any health concerns or before making any decisions related to your health or treatment. This blog does not provide any guarantees or warranties regarding the accuracy, completeness, or suitability of the information provided.