A cake on a table next to a whole pineapple
Desserts - Recipes by Method

Pineapple Coconut Sheet Cake

Quick Recipe Overview: This pineapple coconut sheet cake is a single-layer butter cake packed with 1 cup of well-drained crushed pineapple and 1/3 cup unsweetened shredded coconut. It bakes in an 8-inch pan at 350°F for 35–45 minutes and cuts into 9 tender, tropical squares.

Best method: Drain the pineapple in a sieve and press it lightly before measuring; excess juice is the main cause of a gummy center.

Prep20 minutesBake35–45 minutes at 350°F
Cool30 minutesTotalAbout 1 1/2 hours
Yield9 squaresPan8-inch square (single layer)

Jump to Recipe

Pineapple coconut sheet cake brings the flavor of a piña colada to a simple, single-layer snack cake. A full cup of crushed pineapple gives sweet, juicy bites all the way through, and 1/3 cup of unsweetened coconut adds a gentle chew and toasty flavor on top of the classic butter-and-vanilla base.

This smaller version is sized for an 8-inch pan, so it’s perfect for a family or a small gathering rather than a crowd. It’s a friendly bake for beginners: canned pineapple is available all year, there’s no frosting to make, and the method is a straightforward creamed butter cake.

Equipment

  • 8-inch square cake pan, lined with parchment with an overhang for lifting.
  • Fine-mesh sieve and a bowl for draining the pineapple.
  • Hand or stand mixer for creaming the butter and sugar.
  • Kitchen scale, rubber spatula, skewer and cooling rack.
  • Small skillet (optional) to toast extra coconut for the top.

Ingredients, substitutions and allergens

IngredientAmountNotes and swaps
All-purpose flour180 g (about 1 1/2 cups)Structure. Spoon and level if not weighing.
Baking powder1 1/2 teaspoonsLift.
Fine salt1/4 teaspoonBalances the sweet fruit.
Unsalted butter, softened115 g (1/2 cup)Flavor and tender crumb.
Granulated sugar150 g (3/4 cup)Sweetness. Crushed pineapple packed in juice (not syrup) keeps the cake from being too sweet.
Large eggs2Room temperature helps them blend smoothly.
Milk90 ml (6 tablespoons)Moisture. Canned coconut milk (well stirred) can replace it for more coconut flavor.
Vanilla extract1 teaspoonRounds out the fruit.
Crushed pineapple, well drained1 cup, measured after drainingThe star. Fresh pineapple, finely chopped and drained, also works.
Unsweetened shredded coconut1/3 cupTexture and coconut flavor. Sweetened coconut works but makes the cake sweeter.
Neutral oil1 teaspoonFor the pan.
Powdered sugar2 tablespoonsFor dusting after cooling.

Allergens: contains wheat, milk and eggs. It also contains coconut; if you are cooking for someone who avoids coconut, leave it out or ask them first. No peanuts or other nuts as written.

Why it works: drain, measure, fold

Pineapple is mostly juice. Crushed pineapple straight from the can carries a lot of liquid. Added undrained, that liquid would make the batter too wet to set in the center, giving a heavy, gummy middle. Draining in a sieve and pressing lightly with a spoon leaves the fruit moist but not dripping, and measuring after draining keeps the fruit-to-batter ratio right.

Coconut soaks up a little moisture. Shredded coconut absorbs some of the remaining pineapple juice in the oven, which helps the crumb set and gives a pleasant chew.

A creamed butter base holds the fruit. Beating butter and sugar until light builds a stable, airy batter that can carry a full cup of fruit without collapsing.

Tip: Save the drained pineapple juice. Whisk 2–3 teaspoons of it into 1/2 cup powdered sugar for a quick glaze instead of dusting.

Step-by-step method

  1. Drain the pineapple (10 minutes). Tip the crushed pineapple into a sieve over a bowl and let it drain, pressing gently with a spoon. Measure 1 cup. Cue: the fruit holds together and no longer drips.
  2. Prep (5 minutes). Heat the oven to 350°F (175°C). Grease and line the pan. Whisk the flour, baking powder and salt.
  3. Cream butter and sugar (3–4 minutes). Beat until pale and fluffy. Beat in the eggs one at a time. Cue: smooth and light, no visible butter streaks.
  4. Add milk and vanilla (1 minute). Mix on low until combined.
  5. Fold in the flour (1 minute). Cue: stop as soon as no dry flour is visible.
  6. Fold in pineapple and coconut (1 minute). Fold gently, then spread evenly in the pan.
  7. Bake (35–45 minutes). Avoid opening the oven during the first 20 minutes. Cue: golden top, center springs back, skewer shows no raw batter (moist crumbs from the fruit are fine). Tent with foil if it browns early.
  8. Cool (30 minutes). Cool 15 minutes in the pan, lift out and cool on a rack at least 15 minutes more. Dust with powdered sugar or glaze once cool.

Make-ahead timeline: drain the pineapple and refrigerate it the night before; bring the butter and eggs to room temperature while the oven heats. The cake keeps well for a couple of days, so it’s a good bake-ahead dessert.

Food safety: don’t eat raw batter; it contains raw eggs and raw flour. See the FDA’s Handling Flour Safely: What You Need to Know. Refrigerate any opened, unused pineapple in a covered container. Because this cake is moist with fruit, refrigerate leftovers within 2 hours and eat within 3–4 days, as the USDA recommends for leftovers.

Troubleshooting

ProblemLikely causeFix
Gummy, wet centerPineapple not drained wellDrain and press the fruit; measure after draining. Bake until the skewer test passes.
Fruit clumped at the bottomWet fruit or overmixed batterDrain well and fold gently; spread the batter evenly.
Too sweetPineapple in heavy syrup, sweetened coconutUse pineapple in juice and unsweetened coconut.
Coconut on top burnedCoconut toasts quicklyFold coconut into the batter, or tent with foil after 20–25 minutes.
Cake sankOven opened early or underbakedKeep the door closed for the first 20 minutes and test the center.
Dry edgesOverbaked or dark panStart checking at 35 minutes; use a light metal pan.

What to serve with it

Serve squares plain, with whipped cream or vanilla ice cream, or with a spoonful of Greek yogurt and lime zest for breakfast.

Make-ahead, storage and reheating

Refrigerator: store covered for up to 3–4 days. The fruit keeps it moist; let squares sit out 15 minutes before eating.

Freezer: freeze undusted, unglazed squares wrapped tightly for up to 3 months. Thaw in the fridge.

Reheating: it’s best at room temperature, but a few seconds in the microwave warms a square nicely.

Frequently asked questions

Can I use fresh pineapple?

Yes. Chop it very finely (or pulse briefly in a food processor), then drain it the same way and measure 1 cup.

Can I use pineapple tidbits or chunks?

Chop them small first. Big pieces are heavy and wet and tend to sink.

Why is it called a sheet cake if it’s in an 8-inch pan?

It’s a single, flat layer served straight from the pan, sheet-cake style. To make a larger 9×13-inch version, double the recipe and rely on the skewer test for timing.

Can I make it dairy-free?

Use canned coconut milk instead of milk and a plant-based baking butter in place of butter. The texture may be slightly different.

Should I toast the coconut?

Not for the batter. For a garnish, toast 2 tablespoons of coconut in a dry skillet over medium-low heat, stirring constantly, until lightly golden.

How do I know it’s done?

The center springs back when pressed and a skewer comes out with no wet batter. A few moist crumbs from pineapple are normal.

Can I add a frosting?

Yes. A thin cream cheese frosting or the pineapple juice glaze from the tip above both work. Refrigerate a cream cheese–frosted cake.

Can I add nuts?

Fold in 1/3 cup chopped toasted macadamias or pecans if no one has a nut allergy.

Recommended tools

As an Amazon Associate I earn from qualifying purchases.

The bottom line

Drain the pineapple well, fold gently and give the center time to set. You’ll get a soft, tropical pineapple coconut sheet cake that’s sized right for a family and keeps for days.

A cake on a table next to a whole pineapple
Family Recipe HQ

Pineapple Coconut Sheet Cake

A single-layer butter cake packed with well-drained crushed pineapple and unsweetened coconut, baked in an 8-inch pan.
Prep Time 20 minutes
Cook Time 40 minutes
Cool 30 minutes
Total Time 1 hour 30 minutes
Servings: 9 squares

Ingredients
  

  • 180 g all-purpose flour about 1 1/2 cups
  • 1 1/2 teaspoons baking powder
  • 1/4 teaspoon fine salt
  • 115 g unsalted butter softened (1/2 cup)
  • 150 g granulated sugar 3/4 cup
  • 2 large eggs
  • 90 ml milk 6 tablespoons
  • 1 teaspoon vanilla extract
  • 1 cup crushed pineapple well drained, measured after draining
  • 1/3 cup unsweetened shredded coconut
  • 1 teaspoon neutral oil for the pan
  • 2 tablespoons powdered sugar for dusting

Equipment

  • 8-inch square cake pan
  • Parchment paper
  • Fine-mesh sieve
  • Hand or stand mixer
  • Skewer and cooling rack

Method
 

  1. Drain the pineapple in a sieve, pressing lightly; measure 1 cup.
  2. Heat the oven to 350°F (175°C). Grease and line an 8-inch pan. Whisk the flour, baking powder and salt.
  3. Beat the butter and sugar until pale. Beat in the eggs one at a time, then the milk and vanilla.
  4. Fold in the dry mix just until no dry pockets remain. Fold in the pineapple and coconut; spread in the pan.
  5. Bake 35–45 minutes, until the center springs back and a skewer shows no raw batter. Tent with foil if needed.
  6. Cool 15 minutes in the pan, then on a rack at least 15 minutes. Dust with powdered sugar.

Notes

Contains wheat, milk, eggs and coconut. Refrigerate leftovers up to 3–4 days; freeze up to 3 months.

Family Recipe HQ is the site’s editorial publishing account. It publishes practical recipes, cooking methods, doneness guides, storage guidance, and resources for preserving family food traditions. Articles do not claim kitchen testing unless a documented test record supports that statement. Corrections and image-rights concerns can be submitted through the Contact Us page.

Leave a Reply

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

Rate This Recipe