When you need a sweet, tropical dessert in a hurry without dragging out butter, eggs, or oil, these 2-Ingredient Pineapple Squares are pure magic. Combining a simple box of yellow cake mix with an entire undrained can of crushed pineapple, this recipe bakes up into a delightfully soft, springy cake bar that bursts with natural fruit moisture and subtle citrus sweetness.
The brilliance of this recipe lies in the chemical reaction between the acidity of the pineapple juice and the leavening agents inside the dry cake mix. As you stir them together, the batter foams up and expands, creating a light, sponge-like crumb without needing a single egg. Served dusted with powdered sugar, topped with whipped cream, or enjoyed plain straight out of the pan, it is about as fast and effortless as baking gets.

Why You’ll Love This Recipe
Traditional cake recipes require measuring oil, cracking eggs, and softening butter, leaving behind a sink full of dirty bowls and measuring cups. This two-ingredient shortcut strips away all that prep, letting you assemble the entire dessert in under five minutes with just a bowl and a spoon.
It is also an exceptionally light, low-fat alternative to standard iced sheet cakes. Because there is no added fat or dairy,the cake retains a tender, juicy bite purely from the pineapple fruit and juice. Perfect for potlucks, unexpected guests, or low-stress summer gatherings, it delivers maximum tropical flavor with practically zero cleanup.
Ingredient Notes
- Yellow Cake Mix: One standard 15.25-ounce box of yellow cake mix provides the flour, sugar, and leavening base. White cake mix or spice cake mix can also be used if you want a lighter color or a warm, spiced flavor profile.
- Crushed Pineapple in Juice: One 20-ounce can of crushed pineapple. It is essential to use pineapple canned in 100% real fruit juice rather than heavy syrup, and do not drain the liquid. The juice acts as the sole liquid activator for the cake mix, while the crushed fruit bits provide texture throughout the squares.

How To Make 2-Ingredient Pineapple Squares
Step 1: Preheat your oven to 350°F (175°C) and lightly grease a 9×13-inch baking pan with non-stick cooking spray or a light coat of butter.
Step 2: Empty the dry yellow cake mix into a large mixing bowl.
Step 3: Pour the entire 20-ounce can of crushed pineapple—including all of its juice—directly into the bowl with the dry cake mix.
Step 4: Stir the mixture vigorously with a wooden spoon or rubber spatula until all dry flour pockets disappear and the batter is evenly moistened.
Cook’s Note: Don’t be surprised when the batter starts to foam and grow slightly in volume! The natural fruit acid reacting with the baking soda in the cake mix creates little air bubbles, which gives the bars their light, airy structure.
Step 5: Transfer the sticky batter into the prepared 9×13-inch pan, using your spatula to gently spread and press it evenly into the edges and corners.
Step 6: Bake at 350°F for 30 to 35 minutes, until the top is a light golden-brown color, the edges begin to pull away slightly from the pan, and the center is fully set when gently pressed.
Timing Nuance: Start checking at the 28-minute mark. Because fruit juices vary in sugar content, watch the top carefully—it should be golden and spring back when touched, but not dark brown or dry.
Step 7: Remove the pan from the oven and place it on a wire cooling rack. Allow the bars to cool completely in the pan before attempting to slice.
Mistake to Avoid: Don’t slice these while they are hot! Warm fruit cakes are extremely soft and fragile. Letting them cool completely gives the starches time to set, ensuring neat, clean squares when cut.
Step 8: Slice into 12 individual bars and serve.

Common Questions
Do I need to add eggs, oil, or water listed on the cake box?
No! Ignore the instructions on the back of the cake mix box entirely. You do not need eggs, oil, or water. The 20 ounces of crushed pineapple and juice completely replaces all wet ingredients.
Can I use pineapple chunks instead of crushed pineapple?
Crushed pineapple is strongly recommended because the small pieces distribute evenly throughout every bite and release their juice quickly into the dry mix. If you only have canned pineapple chunks or tidbits, pulse them in a food processor or chop them finely with a knife before using.
Why are my pineapple squares soggy in the middle?
Sogginess is usually caused by underbaking or using a pan that is too small (such as an 8×8-inch dish). Using a standard 9×13-inch pan ensures the batter sits in a thin, even layer that bakes through completely in 30 to 35 minutes.
Can I use a different cake mix flavor?
Yes! White cake mix yields a lighter, more delicate vanilla-pineapple bar. Angel food cake mix creates an ultra-puffy,marshmallow-like texture, while spice cake mix adds warm cinnamon and nutmeg notes reminiscent of a hummingbird cake.
Should I drain the pineapple juice?
No, do not drain the can! The juice is the only liquid in the entire recipe. Without it, the dry cake mix will not hydrate and the batter will not rise.
Recipe Variations
- Coconut Snow Squares: Sprinkle ½ cup of sweetened shredded coconut over the top of the batter right before sliding the pan into the oven for a toasted pina colada finish.
- Warm Spice Twist: Use a spice cake mix instead of yellow cake mix, and fold in ½ cup of chopped walnuts or pecans for a nutty autumn fruit bar.
- Whipped Cream & Cherry Top: Spread a tub of thawed whipped topping (like Cool Whip) over the cooled cake and garnish each square with a maraschino cherry.
- Powdered Sugar Dust: Dust the fully cooled squares lightly with powdered sugar using a fine-mesh sieve right before serving for a simple bakery presentation.
Storing and Reheating
Allow the squares to cool completely in the pan before storing. Cover the baking dish tightly with aluminum foil or transfer individual cut squares into an airtight container.
Because of the high moisture content from the real fruit, store these squares in the refrigerator for up to 5 days to keep them fresh and firm. They taste delicious cold straight from the fridge!
Freezing is also possible: wrap individual cooled squares tightly in plastic wrap followed by aluminum foil and store in a freezer bag for up to 2 months. Thaw overnight in the refrigerator before serving.
What To Serve With 2-Ingredient Pineapple Squares
- Vanilla Bean Ice Cream: Serve a square at room temperature topped with a cold scoop of vanilla bean ice cream.
- Whipped Cream or Coconut Cream: Dollop with fresh whipped cream or whipped coconut cream for a light tropical treat.
- Iced Tea or Coffee: A cold glass of unsweetened iced tea or a hot cup of black coffee balances the fruit sweetness perfectly.
- Fresh Berry Salad: Serve alongside fresh raspberries or blueberries to add a tart berry contrast


2-Ingredient Pineapple Squares
Ingredients
- 1 box yellow cake mix 15.25 oz / 432 g
- 1 can crushed pineapple in 100% juice undrained (20 oz / 567 g)
- Optional: Powdered sugar or whipped cream for serving
Instructions
- Preheat your oven to 350°F (175°C) and lightly grease a 9x13-inch baking pan.
- In a large mixing bowl, combine the dry yellow cake mix and the entire undrained can of crushed pineapple (including liquid).
- Stir with a spoon or spatula until completely combined and no dry flour pockets remain.
- Spread the thick batter evenly into the prepared 9x13-inch pan, pressing it gently into the corners.
- Bake for 30 to 35 minutes until the top is light golden-brown and the center is firm to the touch.
- Remove from the oven and let the bars cool completely in the pan.
- Slice into 12 squares and serve plain, dusted with powdered sugar, or topped with whipped cream.
