This moist, golden cake uses crushed pineapple to create a dense yet tender crumb with a bright, tropical flavor. It is a traditional American dessert that works well for potlucks, afternoon tea, or as a simple accompaniment to a Sunday dinner.
Ingredients
- 2 cups (250 g) all-purpose flour
- 1 1/2 cups (300 g) granulated sugar
- 1 teaspoon (5 g) baking soda
- 1/2 teaspoon (3 g) salt
- 1/2 cup (115 g) unsalted butter, softened to room temperature
- 2 large eggs
- 1 teaspoon (5 ml) vanilla extract
- 1 cup (240 g) crushed pineapple in juice, undrained
- 1/2 cup (120 ml) sour cream or plain Greek yogurt
Instructions
Cake Preparation
- 2 cups (250 g) all-purpose flour
- 1 1/2 cups (300 g) granulated sugar
- 1 teaspoon (5 g) baking soda
- 1/2 teaspoon (3 g) salt
- Preheat the oven to 350°F (175°C). Grease a 9-inch (23 cm) round cake pan or an 8-inch (20 cm) square pan with butter or non-stick spray and line the bottom with parchment paper.
- In a medium mixing bowl, whisk together the flour, sugar, baking soda, and salt until combined. Ensure there are no large clumps of flour to avoid pockets of dry powder in the finished cake.
Mixing and Baking
- 1/2 cup (115 g) unsalted butter
- 2 large eggs
- 1 teaspoon (5 ml) vanilla extract
- 1 cup (240 g) crushed pineapple in juice
- 1/2 cup (120 ml) sour cream
- In a large bowl, beat the softened butter with an electric mixer on medium speed for 2 to 3 minutes until creamy. Add the eggs one at a time, beating well after each addition, then stir in the vanilla extract.
- Gradually add the flour mixture to the butter mixture, alternating with the sour cream. Start and end with the flour mixture, mixing on low speed only until the ingredients are combined. Do not overmix, as this develops too much gluten and results in a tough cake.
- Fold in the crushed pineapple and its juice using a rubber spatula. The batter will be wetter than a standard yellow cake batter due to the pineapple juice.
- Pour the batter into the prepared pan and smooth the top with a spatula.
- Bake at 350°F (175°C) for 40-45 minutes. The cake is done when a toothpick inserted into the center comes out clean or with just a few moist crumbs. Because this is an egg-based cake, ensure it reaches a safe minimum internal temperature of 160°F (71°C) as per USDA FSIS guidelines, checked with a digital food thermometer.
Finishing the Cake
- Remove the pan from the oven and let the cake cool in the pan for 15 to 20 minutes.
- Run a knife around the edges of the pan to loosen the cake, then invert it onto a wire cooling rack.
- Allow the cake to cool completely to room temperature before frosting or dusting with powdered sugar. If frosting while warm, the icing will melt and slide off the sides.
Pineapple Cake Substitutions
Adjusting ingredients can change the texture and moisture levels of the cake. Use the following ratios for common swaps:
| Original Ingredient | Substitution | Ratio/Amount | Resulting Change |
|---|---|---|---|
| Unsalted Butter | Vegetable Oil | 1:1 ratio (1/2 cup oil) | Moister crumb, less buttery flavor. |
| Sour Cream | Plain Greek Yogurt | 1:1 ratio (1/2 cup) | Slightly tangier flavor, similar texture. |
| Sour Cream | Buttermilk | 1:1 ratio (1/2 cup) | Lighter texture, slightly less dense. |
| Granulated Sugar | Brown Sugar | 1:1 ratio (1 1/2 cups) | Deeper caramel flavor and moister feel. |
| Crushed Pineapple | Tidbits (finely chopped) | 1 cup chopped | More distinct chunks of fruit. |
For a dairy-free version, replace the butter with a plant-based butter stick and the sour cream with an unsweetened coconut yogurt or a mixture of 1/2 cup soy milk and 1 teaspoon of lemon juice. Check all labels for allergens when using substitutes.
Cake Doneness and Quality
The moisture content of crushed pineapple varies by brand and how much juice is retained in the can. This affects the baking time and the final appearance of the cake. A properly baked pineapple cake should have a golden-brown top and edges that pull slightly away from the sides of the pan.
If the center remains jiggly or the toothpick comes out with wet batter, bake for an additional 5 minutes. Conversely, if the top browns too quickly before the center is set, tent the pan loosely with aluminum foil to prevent burning while the middle finishes cooking. The internal temperature of 160°F (71°C) is the most reliable indicator of safety and doneness for cakes containing eggs.
If the cake sinks in the middle, it is often a sign of overmixing the batter or opening the oven door too frequently during the first 20 minutes of baking, which causes a sudden temperature drop. To avoid this, only check for doneness during the last 5-10 minutes of the suggested baking range.
Storing Pineapple Cake
Because of the high moisture content from the pineapple and sour cream, this cake is perishable. It must be refrigerated within 2 hours of cooling to prevent spoilage.
- Refrigeration: Store the cake in an airtight container or wrap it tightly in plastic wrap. It will keep for 3-4 days in the refrigerator.
- Freezing: This cake freezes well. Wrap the cooled, unfrosted cake in a double layer of plastic wrap and then aluminum foil. It can be stored in the freezer for up to 3 months. Thaw overnight in the refrigerator before serving.
- Reheating: To reheat a slice, place it in the microwave for 10-15 seconds. If reheating leftovers that were stored in the fridge, ensure they reach an internal temperature of 165°F (74°C) if you prefer them warm, though this cake is typically served chilled or at room temperature.
Pineapple Cake Flour and Egg Safety
Pineapple Cake for Different Pan Sizes
If you do not have a 9-inch round pan, you can adjust the pan size, but be aware that this changes the baking time. Using an 8-inch round pan will result in a taller cake that requires 5-10 additional minutes of baking time. Using a 9×13 inch rectangular pan will result in a thinner sheet cake that may bake in as little as 25-30 minutes. Always use the toothpick test and the 160°F (71°C) internal temperature check to confirm doneness regardless of the pan shape.
For those using a springform pan, ensure the seal is tight to prevent the thin pineapple batter from leaking. For a Bundt pan, increase the baking time by 10-15 minutes and grease the pan heavily, as the sugar in the pineapple can cause the cake to stick to the intricate designs of the mold. If using a Bundt pan, let the cake cool for exactly 10 minutes before inverting to ensure it releases cleanly without breaking.
Related
- How Long Cut Pineapple Lasts in the Fridge
- Gammon and Pineapple Recipe for a Sweet and Savory Roast
- Does Carrot Cake Have Pineapple in It?
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).