Carrot Cake Recipe with Pineapple

Quick Carrot Cake Recipe with Pineapple Everyone Will Love

Spread the love

Most versions of a carrot cake recipe with pineapple add the canned fruit straight from the tin, and the extra juice leaves the center gummy while the edges dry out. This carrot cake recipe with pineapple presses the fruit dry first, then relies on oil and brown sugar for moisture, so the crumb stays tender instead of wet.

The pineapple does two jobs here: its acid softens the carrot shreds during baking, and its sugar keeps the crumb damp for days. The spice ratio is kept low (cinnamon leads, nutmeg and ginger stay in the background) so the carrot and fruit flavors read clearly. Anyone who wants a homemade carrot cake with pineapple from scratch, with weights given for every ingredient, can follow this without special equipment.

The method suits first-time layer cake bakers and anyone who wants a carrot pineapple cake with walnuts that slices cleanly and holds its height. The batter is mixed in one bowl, and the frosting comes together in about five minutes.

The batter looks too loose before the flour is fully folded in, closer to a thick muffin batter with carrot floating in it. That is correct: the carrot and pineapple release moisture as it sits, and the flour absorbs it within a minute or two.

Quick Recipe Facts

  • Prep Time: 30 minutes
  • Cook Time: 28–32 minutes
  • Total Time: About 2 hours (includes 1 hour of cooling before frosting)
  • Servings: 12 slices (two 9-inch layers)
  • Difficulty: Beginner to intermediate
  • Calories: Approximately 540 per slice, frosted

Ingredients for Carrot Cake Recipe with Pineapple

Every quantity in this carrot cake recipe with pineapple is given in grams as well as cups, because carrots and flour vary too much by volume to measure reliably.

Cake

  • 2 cups (250 g) all-purpose flour
  • 1 teaspoon baking soda
  • 1 teaspoon baking powder
  • ½ teaspoon fine salt
  • 2 teaspoons ground cinnamon
  • ½ teaspoon ground nutmeg
  • ¼ teaspoon ground ginger
  • 3 large eggs, room temperature
  • 1 cup (200 g) granulated sugar
  • ½ cup (100 g) packed light brown sugar
  • ¾ cup (180 ml) neutral oil, such as canola or sunflower
  • 1 teaspoon vanilla extract
  • 300 g peeled carrots (about 5 medium), finely grated
  • 1 can (8 oz / 227 g) crushed pineapple in juice, drained and pressed
  • 1 cup (115 g) walnut pieces, toasted and chopped

Cream cheese frosting

  • 8 oz (226 g) full-fat block cream cheese, cool but softened
  • ½ cup (113 g) unsalted butter, softened
  • 2½ cups (300 g) powdered sugar, sifted
  • 1 teaspoon vanilla extract
  • Pinch of salt

Ingredient Notes

Oil, not butter, in the cake. Oil stays liquid at room temperature, so the crumb feels moist even after refrigeration. Butter-based carrot cakes firm up noticeably when chilled, and this cake is stored cold because of the cream cheese frosting.

Canned crushed pineapple, drained. Fresh pineapple contains bromelain, an enzyme that can break down the egg proteins and leave the batter loose and the crumb mushy unless the fruit is cooked first. Canned fruit has already been heat-treated, which removes that variable. Choose pineapple packed in juice rather than syrup, since syrup adds sugar you cannot control.

Brown sugar alongside white. The molasses in brown sugar holds water and adds a slight caramel note that suits the spices. Using only white sugar produces a paler, drier crumb.

Carrots grated by hand. Bagged pre-shredded carrots are cut thick and dry out in the package, so they stay chewy after baking. Fine shreds from a box grater soften completely and almost disappear into the crumb.

Walnuts toasted first. Raw walnuts taste faintly bitter and soften in the batter. Toasting turns them crisp and nutty, which gives the soft crumb something to contrast against.

Carrot Cake Recipe with Pineapple
yumy carrot cake recipe with pineapple and cream cheese frosting

How to Make Carrot Cake Recipe with Pineapple and Cream Cheese Frosting

  1. Set a rack in the center of the oven and preheat to 350°F (175°C) — a centered rack keeps both layers from over-browning on the top or bottom.
  2. Grease two 9-inch round pans, line the bottoms with parchment, and grease the parchment — this batter is wet and clings to bare metal at the edges.
  3. Spread the walnuts on a sheet pan and toast for 7–8 minutes until they smell nutty, then cool and chop them — cooling first keeps warm nuts from softening the batter’s fat.
  4. Grate the carrots on the small holes of a box grater until you have 300 g — fine shreds soften fully in 30 minutes of baking, while thick shreds leave chewy streaks.
  5. Tip the pineapple into a sieve and press with the back of a spoon until it stops dripping — surplus juice is the main cause of a gummy, sunken center.
  6. Whisk the flour, baking soda, baking powder, salt, cinnamon, nutmeg, and ginger in a medium bowl — this spreads the leavening and spices evenly, so no slice carries a bitter pocket of baking soda.
  7. In a large bowl, whisk the eggs, granulated sugar, and brown sugar for 1 minute until the mixture is pale and slightly thickened — this dissolves the sugar and traps a little air that supports the rise.
  8. Pour in the oil in a slow stream while whisking, then add the vanilla — a steady stream emulsifies the oil into the eggs so it does not pool and leave greasy streaks.
  9. Fold the carrots and pressed pineapple into the wet mixture — adding them before the flour distributes the moisture without developing gluten.
  10. Add the dry ingredients in two additions, folding with a spatula until only a few streaks of flour remain — stopping early prevents a tough, rubbery crumb. The batter will look thick and slightly lumpy, with carrot shreds clinging together in clumps — that is correct, and stirring further to smooth it out is what toughens the cake.
  11. Fold in the walnuts, then divide the batter evenly between the pans by weight (roughly 700–725 g each) and tap each pan on the counter twice — equal weights give layers of matching height, and tapping releases large air pockets.
  12. Bake for 28–32 minutes, until the tops spring back when pressed lightly and a toothpick in the center comes out with dry crumbs and no wet batter — because this carrot cake recipe with pineapple bakes wetter than a standard spice cake, judge by the toothpick and the spring-back, not by color alone.
  13. Cool the layers in their pans for 15 minutes, run a knife around the edges, turn them onto a rack, and peel off the parchment; cool completely, about 1 hour — warm cake tears under a knife and melts the frosting.
  14. Beat the butter on medium speed for 2 minutes until pale, then add the cream cheese in four pieces and beat just until smooth — overbeating cream cheese breaks its structure and thins the frosting.
  15. Add the sifted powdered sugar, vanilla, and salt, and beat on low for 30 seconds, then medium for 1 minute — starting low prevents a cloud of sugar, and sifting removes lumps that will not beat out. If the frosting looks loose, chill it for 20 minutes before using.
  16. Place one layer on a plate, spread about 1 cup of frosting to the edge, set the second layer on top, and frost the top and sides; chill the finished cake for 30 minutes before slicing — chilling firms the frosting so the knife cuts clean slices.
homemade carrot cake with pineapple from scratch

Pro Tips for Carrot Cake Recipe with Pineapple and Cream Cheese Frosting

  • Weigh the flour at 250 g — a scooped cup can pack in 30–40 g extra, which dries the crumb and mutes the spices.
  • Keep the pineapple pressed dry — the juice in a carrot cake recipe with pineapple is the most common reason the center sinks as the cake cools.
  • Use full-fat block cream cheese, not the spreadable tub — tub versions contain added water, and the frosting slides off the sides of the layers.
  • Leave the oven door closed for the first 20 minutes — opening it early drops the temperature and can collapse the center before the structure sets.
  • Cool the layers completely before frosting — even slightly warm cake melts the butter in the frosting and leaves it translucent and slick.

Serving Suggestions

  • Black coffee or unsweetened tea — the bitterness offsets the sweetness of the frosting, which is rich enough to dull a sweet drink.
  • A spoonful of unsweetened whipped cream — it loosens the density of the cream cheese frosting without adding more sugar.
  • A small scoop of plain yogurt for a breakfast-table slice — the acidity echoes the pineapple and keeps the plate from tasting heavy.

The frosted layer cake holds its shape for a couple of hours at room temperature, which suits a birthday table or a spring holiday lunch. Take it out of the refrigerator 30 minutes before serving so the crumb softens and the spices are easier to taste.

Carrot Cake Recipe with Pineapple
easy pineapple carrot cake

Storage

Refrigerator: Airtight container, up to 5 days — the cream cheese frosting stays set and the crumb stays moist. Cold dulls the spices and firms the crumb, so let slices sit at room temperature for 30 minutes before eating.

Freezer: This carrot cake recipe with pineapple freezes well. Wrap unfrosted layers tightly in plastic, then foil, for up to 2 months, and thaw them overnight in the refrigerator before frosting. Frosted slices can be frozen on a tray for 1 hour, then wrapped individually for up to 1 month.

On day two the crumb is slightly denser and damper than on day one, the spices taste rounder, and the chilled frosting holds clean edges when sliced.

Health & Nutrition

A frosted slice comes to approximately 540 calories, with most of that from the oil, the walnuts, and the frosting. Three swaps change the numbers and the texture in specific ways:

  • Replace half the all-purpose flour with white whole wheat flour — adds fiber, and the crumb becomes slightly denser.
  • Cut the granulated sugar from 1 cup to ¾ cup (a 25% reduction) — works because the carrots and pineapple already supply sugar; the crumb will be a little less tender and slightly paler.
  • Replace 6 tablespoons of the oil with unsweetened applesauce — removes roughly 700 calories from the whole cake, and the crumb turns springier and less rich.

Conclusion

You now have a carrot cake recipe with pineapple that bakes into two level layers with a crumb firm enough to hold frosting without sinking. Rate the recipe or comment with your oven time so other bakers can compare their results.

Related recipe: [Brown Butter Cream Cheese Frosting — add link] — it works as an alternative frosting for this cake, with a toasted flavor that suits the cinnamon and walnuts.

FAQ

Can I freeze this? Yes, this carrot cake recipe with pineapple freezes well for up to 2 months when the layers are wrapped tightly in plastic and foil. Thaw overnight in the refrigerator, then frost the next day.

What if I don’t have walnuts? Pecans are the closest substitute and toast the same way, with a slightly sweeter flavor. If you need a nut-free cake, leave them out and add ¼ cup (30 g) of unsweetened shredded coconut for texture.

Can I make it ahead? Yes. Bake the layers up to 2 days ahead, cool them completely, wrap them tightly, and keep them at room temperature. Frost the day you plan to serve, or frost and refrigerate up to 2 days ahead.

How do I adjust sweetness? Reduce the granulated sugar by ¼ cup (50 g) in the cake and the powdered sugar by ½ cup (60 g) in the frosting. The cake will be slightly less tender, and the frosting will taste tangier and be a little softer.

Why did my cake turn out gummy in the middle? The usual cause is unpressed pineapple or underbaking. Press the fruit until it stops dripping, and bake until the toothpick shows dry crumbs, since this carrot cake recipe with pineapple holds more moisture than most layer cakes.

​

There are no reviews yet. Be the first one to write one.