• About
  • Recipe Index
  • By Meal
    • Breakfast
    • Soups
    • Side-Dish
    • Dinner
    • Desserts
menu icon
go to homepage
  • About
  • Recipe Index
  • By Meal
    • Breakfast
    • Soups
    • Side-Dish
    • Dinner
    • Desserts
  • Pinterest
search icon
Homepage link
  • About
  • Recipe Index
  • By Meal
    • Breakfast
    • Soups
    • Side-Dish
    • Dinner
    • Desserts
  • Pinterest
×

Pineapple Zucchini Cake Recipe

Published: Aug 5, 2026 by Chef Ava · This post may contain affiliate links · Leave a Comment

Jump to Recipe· 4.2 from 7 reviews

If you’re on the lookout for a dessert that’s bursting with moist, fresh flavors and a hint of tropical sweetness, this Pineapple Zucchini Cake Recipe is a must-try. It’s a delightful blend of tender zucchini and juicy pineapple combined in a spiced, perfectly tender cake topped with a luscious cream cheese frosting. Whether you want to surprise your family with something different or impress guests with a homemade treat, this cake is insanely easy to pull off and endlessly satisfying to eat.

Ingredients You'll Need

Several small white bowls and containers hold different ingredients on a white marbled surface. At the top left, a white bowl is filled with yellow mashed potatoes. To its right, another white bowl contains white granulated sugar. Below the mashed potatoes, a bowl holds shredded green zucchini. Next to it on the right, a white bowl has white flour. There are two whole white eggs placed below the flour bowl. To the right of the eggs, a small metal cup contains brown ground spice. Around these main items, smaller bowls and measuring cups hold white salt, a cup with yellow oil, a cup with dark liquid, and a glass measuring cup with pale yellow liquid. A green and white patterned towel is tucked into the bottom left corner of the scene. photo taken with an iphone --ar 4:5 --v 7

Every ingredient in this recipe plays a key role, from adding moisture and texture to delivering warm, comforting spices. Don’t worry—these are simple pantry staples that come together beautifully to create a cake that’s anything but ordinary.

  • All-purpose flour: The foundation that gives structure to the cake, balancing softness and density.
  • Granulated sugar: Sweetness that enhances the natural flavors of zucchini and pineapple.
  • Sweetened flaked coconut: Adds a delightful chewy texture and undertone of tropical flavor.
  • Baking soda: Essential for helping the cake rise and stay tender.
  • Kosher salt: Just a pinch to bring all the flavors into harmony.
  • Ground cinnamon: Warm spice that gives the cake a cozy, irresistible aroma.
  • Canola or vegetable oil: Keeps the cake moist and tender with a neutral flavor.
  • Large eggs: Bind the ingredients together for the perfect cake crumb.
  • Pure vanilla extract: Adds aromatic sweetness and depth.
  • Grated unpeeled zucchini: The star veggie that adds moisture and a subtle earthiness while sneaking in some greens.
  • Crushed pineapple in juice: Brings juicy tropical brightness and tangy sweetness.
  • Unsalted butter (softened): Used for the frosting to create a creamy, rich texture.
  • Cream cheese (softened): Provides that classic tangy, silky frosting taste.
  • Powdered sugar: Sweetens and smooths out the frosting beautifully.
  • Milk or reserved pineapple juice: Sometimes needed to adjust the frosting’s consistency for spreading.
  • Chopped walnuts or pecans (optional): Toasted nuts add a lovely crunch and nutty flavor when sprinkled on top.

How to Make Pineapple Zucchini Cake Recipe

Step 1: Prep Your Pan and Oven

Start by preheating your oven to 350°F and giving a 9x13-inch baking pan a good spray with nonstick cooking spray. This little prep ensures your cake bakes perfectly without sticking, making cleanup a breeze.

Step 2: Combine the Dry Ingredients

In a large bowl, whisk together flour, sugar, flaked coconut, baking soda, salt, and cinnamon. This mix of ingredients builds your cake’s flavor base with just the right balance of sweetness and spice. The coconut adds a whisper of tropical texture that’s so delightful with pineapple.

Step 3: Mix the Wet Ingredients and Fold In the Good Stuff

Next, in a separate bowl, whisk the oil, eggs, and vanilla extract until smooth. Now, stir this wet mixture, along with the grated zucchini and drained crushed pineapple, into the dry ingredients. You might notice the batter feels a little dry initially, but as you keep mixing, it should become nicely moist. If it still seems stiff, don’t hesitate to add a small splash of that reserved pineapple juice to bring everything together perfectly.

Step 4: Bake to Perfection

Pour your batter into the prepared baking pan and slide it into the oven. Bake for 33 to 35 minutes or until a wooden pick inserted into the center comes out with a few moist crumbs. The cake will also pull slightly away from the edges of the pan when it’s ready. Let it cool completely on a wire rack before moving on.

Step 5: Whip Up the Cream Cheese Frosting

Once your cake is fully cooled, it’s time for the magic frosting. Beat softened cream cheese and butter together until smooth and combined. Then, gradually add powdered sugar while mixing on low speed until your frosting is silky and smooth. Add the vanilla extract and crank the mixer to medium speed for a few more minutes to get that perfectly fluffy texture.

Step 6: Frost and Garnish

Spread the luscious cream cheese frosting evenly over the cake. To add a bit of crunch and extra flavor, sprinkle chopped and toasted walnuts or pecans on top if you like. This final touch not only looks beautiful but adds a wonderful textural contrast.

How to Serve Pineapple Zucchini Cake Recipe

A square piece of cake sits on a white plate with a thin brown rim, placed on a white marbled texture. The cake has two layers: the bottom layer is a golden-brown moist cake with visible small specks, and the top layer is a smooth, thick white frosting spread evenly. Chopped pecans are sprinkled on top of the frosting. A silver fork rests on the plate with its tines partly inside the frosting, holding up a small portion of the cake. photo taken with an iphone --ar 4:5 --v 7

Garnishes

Garnishing this cake can be as simple or as creative as you want. Toasted nuts give a lovely crunch, while a light dusting of extra cinnamon or a few coconut flakes can enhance its tropical vibe. For a fresh pop, try a few pineapple tidbits or even a sprig of mint for color.

Side Dishes

This cake pairs beautifully with a scoop of vanilla ice cream or a dollop of whipped cream for a dreamy dessert experience. If you want to keep things light, a cup of your favorite herbal tea or a chilled glass of milk complements its richness perfectly.

Creative Ways to Present

Slice it up and serve with a drizzle of caramel or pineapple glaze for extra sweetness. You could even use the cake as layers, adding frosting between to make a show-stopping layer cake. For gatherings, individual servings with a sprinkle of chopped nuts in mini cupcake liners look so inviting and pretty.

Make Ahead and Storage

Storing Leftovers

Keep any leftover Pineapple Zucchini Cake Recipe wrapped tightly in plastic wrap or stored in an airtight container in the refrigerator. It will stay fresh for about 4 to 5 days, making it a perfect make-ahead treat to enjoy throughout the week.

Freezing

You can freeze this cake either frosted or unfrosted. Wrap it well in plastic wrap and then a layer of aluminum foil to protect against freezer burn. It freezes beautifully for up to 3 months. When ready to enjoy, thaw overnight in the fridge.

Reheating

While this cake is fantastic chilled, if you prefer it a bit warm, just microwave individual slices for 15 to 20 seconds. Avoid reheating the whole cake to keep the frosting in perfect condition. Warm cake slices paired with cold frosting are absolute heaven.

FAQs

Can I use peeled zucchini instead of unpeeled?

Absolutely! Leaving the skin on adds extra color and nutrients, but peeled zucchini will also work fine and give a lighter texture if you prefer.

Do I have to use sweetened coconut?

Sweetened flaked coconut adds a hint of extra sweetness and chewiness, but if you want less sugar, unsweetened coconut works too—just be mindful that the overall cake may be slightly less sweet.

Can I substitute crushed pineapple with fresh pineapple?

Fresh pineapple can be used but make sure to drain it really well to avoid extra moisture that can affect the cake’s texture. Canned crushed pineapple is often more consistent and convenient.

Is this cake suitable for freezing after frosting?

Yes, it freezes well even after frosting, just be sure to wrap it tightly to protect the frosting’s texture. Thaw it slowly in the fridge for the best results.

What is the best way to grate zucchini for this cake?

Use the medium side of a box grater for finely shredded zucchini. Be sure to squeeze out any excess moisture with a clean kitchen towel or paper towel to prevent a soggy batter.

Final Thoughts

There’s something truly special about this Pineapple Zucchini Cake Recipe that feels like a little celebration every time you slice into it. The blend of fresh veggies, tropical fruit, warming spices, and creamy frosting creates a harmonious treat that’s perfect for just about any occasion. I can’t wait for you to try it and discover your own love for this wonderfully moist and flavorful cake!

Print
clockclock iconcutlerycutlery iconflagflag iconfolderfolder iconinstagraminstagram iconpinterestpinterest iconfacebookfacebook iconprintprint iconsquaressquares iconheartheart iconheart solidheart solid icon
Pineapple Zucchini Cake Recipe

Pineapple Zucchini Cake Recipe

5 Stars 4 Stars 3 Stars 2 Stars 1 Star

4.2 from 7 reviews

Print Recipe
Pin Recipe

This Pineapple Zucchini Cake is a moist, flavorful dessert that perfectly balances the natural sweetness of pineapple and shredded zucchini with warm cinnamon and a creamy cream cheese frosting. It's a delightful twist on a classic vegetable cake, baked to perfection and topped with optional toasted nuts for added texture.

  • Total Time: 2 hours 5 minutes (including cooling and frosting time)
  • Yield: 16 servings

Ingredients

Cake:

  • 1 ½ cups all-purpose flour
  • 1 ¼ cups granulated sugar
  • ½ cup sweetened flaked coconut
  • 2 teaspoons baking soda
  • 1 teaspoon kosher salt
  • 2 teaspoons ground cinnamon
  • 3 tablespoons canola or vegetable oil
  • 2 large eggs
  • 2 teaspoons pure vanilla extract
  • 2 cups grated unpeeled zucchini
  • 1 can (20 ounces) crushed pineapple in juice, drained (reserve juice)

Frosting:

  • 4 tablespoons unsalted butter, softened
  • 8 ounces cream cheese, softened
  • 1 pound powdered sugar
  • 2 teaspoons pure vanilla extract
  • Splash of milk or reserved pineapple juice if needed
  • Chopped walnuts or pecans (optional)

Instructions

  1. Preheat and prepare pan: Preheat your oven to 350°F (175°C). Spray a 9x13-inch baking pan thoroughly with nonstick cooking spray to prevent sticking.
  2. Mix dry ingredients: In a large bowl, whisk together the all-purpose flour, granulated sugar, sweetened flaked coconut, baking soda, kosher salt, and ground cinnamon until evenly combined.
  3. Combine wet ingredients and zucchini: In a medium bowl, whisk together the canola or vegetable oil, eggs, and vanilla extract. Stir this mixture into the dry ingredients along with the grated unpeeled zucchini and the drained crushed pineapple. Mixing may initially create a dry and stiff batter, but continue stirring; it should become more moist. If the batter still seems too dry, add a small splash of the reserved pineapple juice to achieve the right consistency.
  4. Bake the cake: Spoon the prepared batter evenly into the greased baking pan. Bake in the preheated oven for 33-35 minutes, or until a wooden pick inserted into the center comes out with moist crumbs and the cake starts pulling away from the sides of the pan. Remove from oven and cool completely on a wire rack.
  5. Prepare the frosting: Once the cake has cooled to room temperature, in the bowl of a stand mixer fitted with the paddle attachment or a large bowl using an electric hand mixer, cream together the softened cream cheese and unsalted butter until smooth and well combined, about 5 minutes. Scrape the bowl sides as needed.
  6. Add powdered sugar and vanilla: With the mixer on low speed, gradually incorporate the powdered sugar until the mixture is smooth and fully combined. Add the vanilla extract. Increase the speed to medium and beat for approximately 5 more minutes until the frosting is light and fluffy, scraping the sides and bottom of the bowl as necessary.
  7. Frost and garnish the cake: Spread the cream cheese frosting evenly over the cooled cake. Optionally, sprinkle the top with toasted and chopped walnuts or pecans for a flavorful crunch.

Notes

  • Use unpeeled zucchini for extra nutrients and moisture.
  • Reserve the pineapple juice to adjust the batter consistency or to thin the frosting if needed.
  • To toast nuts, simply heat them in a dry skillet over medium heat until fragrant, about 3-5 minutes, stirring frequently.
  • Allow the cake to cool completely before frosting to prevent the frosting from melting.
  • Author: Chef
  • Prep Time: 30 minutes
  • Cook Time: 35 minutes
  • Category: Baking
  • Method: Baking
  • Cuisine: American
  • Diet: Vegetarian

Have you made this recipe? I'd love to see it!

Click here to Follow me on Pinterest

More Desserts

  • 4 Ingredient Apple Fritters Recipe
    4 Ingredient Apple Fritters Recipe
  • Keto Cauliflower Fudge Recipe
    Keto Cauliflower Fudge Recipe
  • Custard Pecan Pie Recipe
    Custard Pecan Pie Recipe
  • Easy Lemon Cookies Recipe
    Easy Lemon Cookies Recipe

Leave a Reply Cancel reply

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

Recipe rating 5 Stars 4 Stars 3 Stars 2 Stars 1 Star

Hi and welcome to Ava’s Cooking
I'm Ava, a 27 year old chef from Marseille, France, and I'm so glad you found your way here.

Learn more

Popular

  • Easy Beef Empanadas Recipe
    Easy Beef Empanadas Recipe
  • Crockpot Rotel Dip Recipe
    Crockpot Rotel Dip Recipe
  • BBQ Tofu Veggie Bowls Recipe
    BBQ Tofu Veggie Bowls Recipe
  • Slow Cooker Birria Beef Tacos Recipe
    Slow Cooker Birria Beef Tacos Recipe

Footer

↑ Back to Top

About

  • Privacy Policy
  • Terms & Conditions
  • Contact
  • Disclosure
  • DMCA

Newsletter

Sign Up! for emails and updates

Browse Recipes

  • Appetizers & Snacks
  • Beef
  • Breakfast
  • Chicken
  • Desserts
  • Dinner
  • Drinks
  • Side-Dish
  • Soups

We may earn from qualifying purchases through affiliate links at no extra cost to you.

Copyright © 2025 Ava's Cooking. All rights reserved.