A moist carrot cake with pineapple, chopped walnuts, and topped with an easy cream cheese frosting. This Pineapple Carrot Cake is perfect for Easter or carrot cake lovers!

Two slices of carrot cake with pineapple on white plates.

Today’s recipe comes from two questions I receive on my homemade carrot cake recipe quite often. Can you use crushed pineapple and can you bake it in a 9×13-inch pan? The answer? YES AND YES!

Since Easter is so close, I felt that it was time to finally get to work on a pineapple carrot cake recipe. And I have to say, this recipe does not disappoint.

In fact, I think I actually prefer how simple this recipe is to make compared to my layered carrot cake recipe. There’s no need to worry about leveling cakes or decorating the cake to make it look pretty. All you have to do is bake the cake, let it cool, then spread some cream cheese frosting on top.

A homemade carrot cake with pineapple, sliced and ready to serve.

Recipe Ingredients 

When it comes to good carrot cake, I have a few requirements. The cake must be moist (and stay that way!), have a good amount of spices but not too much, and it needs to be topped with cream cheese frosting.

So what makes this carrot cake so good?

  • Flour: Be sure to spoon and level the flour when measuring it. You don’t want to wind up with a dense cake! 
  • Baking powder and baking soda: Helps the cake rise in the oven. 
  • Oil: Canola or vegetable oil will work. 
  • Eggs: Should be room temperature before being whisked into the batter. 
  • Crushed pineapple: I usually stick with unsweetened applesauce in my carrot cake to add moisture and not make it greasy with too much oil. For this cake, I swapped out the applesauce for a can of crushed pineapple and it worked perfectly. The cake doesn’t taste like pineapple, but it adds the perfect amount of moisture.
  • Granulated sugar and brown sugar: I think that all carrot cakes should incorporate brown sugar. Not only does it add more flavor, but it also adds more moisture to the cake. Win-Win!
  • Grated carrots: You’ll be using three cups of grated carrot in this recipe, no skimping on carrots anywhere around here.
  • Walnuts: Use chopped, raw walnuts for this carrot cake recipe with pineapple. 
  • Vanilla extract: Use pure vanilla extract for the best flavor. 
  • Spices: Ground cinnamon, ginger, and nutmeg. The spices are not overpowering in this cake, but they add just the right amount of flavor.

A slice of pineapple carrot cake on a white plate. A pan of cake rests in the background.

How to Make Carrot Cake with Pineapple

The batter for this homemade carrot cake is as simple as mixing the dry ingredients and wet ingredients separately, then combining them and pouring it into the pan. If you find your cake is browning a little too much on top before the cake is finished, just tent it with some aluminum foil until it’s done.

Once you bake the carrot cake, you’ll let it cool and then spread some cream cheese frosting on top.

I stuck with my favorite homemade cream cheese frosting for this cake. It’s just a simple mixture of cream cheese, butter, powdered sugar, and vanilla extract. To get a super smooth and creamy frosting, make sure to put your cream cheese and butter out ahead of time.

You can also decorate this cake with some cute carrot designs or sprinkle some more chopped walnuts on top.

A slice of pineapple carrot cake on a white plate with a fork.

Can I Make This Cake in Advance? 

I actually love to bake this cake the night before and then frost it the next day. I find the flavor of this carrot cake is always better on day two, plus it even tastes delicious straight out of the refrigerator. I’ve given detailed instructions on how to prep this moist carrot cake ahead of time in the recipe card below. 

Freezing & Storage Instructions 

Store leftover carrot cake in the refrigerator covered tightly for up to 4 days.

To freeze, remove the carrot cake from the pan and wrap tightly in plastic wrap. Store in the freezer for up to 3 months. When ready to eat, thaw overnight in the refrigerator. Cream cheese frosting will also freeze well for 2-3 months.

Baking Tips 

  • When measuring your flour, don’t scoop it out of the container with the measuring cup. Instead, stir the flour around, spoon it into your measuring cup, and level it off with the back of a knife.
  • Feel free to use your favorite nut in this carrot cake instead of the chopped walnuts. If you love raisins in your carrot cake, you may also use 1/2 cup.
  • Make sure your cream cheese and butter are at room temperature before mixing together the frosting. This will ensure a super smooth and creamy frosting on top of your cake.
  • If you want to make this recipe into cupcakes, I recommend following my Carrot Cake Cupcakes recipe instead. That way you don’t have to guess about ingredient ratios, etc. 

More Easy Cake Recipes to Try! 

Pineapple Carrot Cake

4.97 from 63 ratings
Prep Time: 40 minutes
Cook Time: 40 minutes
Total Time: 1 hour 20 minutes
A moist carrot cake with pineapple, chopped walnuts, and topped with an easy cream cheese frosting. This Pineapple Carrot Cake is perfect for Easter or carrot cake lovers!

Ingredients

Servings: 12 -15 slices

For the carrot cake:

  • 2 cups (250 grams) all-purpose flour (spooned & leveled)
  • 2 teaspoons baking powder
  • 1 teaspoon baking soda
  • 1 and 1/2 teaspoons ground cinnamon
  • 1/2 teaspoon ground ginger
  • 1/4 teaspoon ground nutmeg
  • 1/2 teaspoon salt
  • 3/4 cup (180ml) canola or vegetable oil
  • 4 large eggs , room temperature
  • 1 and 1/2 cups (300 grams) packed light brown sugar
  • 1/2 cup (100 grams) granulated sugar
  • 1 (8-ounce) can crushed pineapple , drained
  • 1 teaspoon pure vanilla extract
  • 3 cups (300 grams) grated carrots , lightly packed
  • 3/4 cup (90 grams) chopped walnuts
  • 1/2 cup (75 grams) raisins (optional)

For the cream cheese frosting:

  • 1 (8-ounce) package brick style cream cheese , softened to room temperature
  • 1/2 cup (115 grams) unsalted butter , softened to room temperature
  • 2 cups (240 grams) powdered sugar
  • 1 teaspoon pure vanilla extract

Instructions
 

To make the carrot cake:

  • Preheat oven to 350°F. Spray a 9x13-inch baking pan with non-stick cooking spray and set aside.
  • In a large mixing bowl, whisk together the flour, baking powder, baking soda, cinnamon, ginger, nutmeg, and salt until well combined. Set aside.
  • In a separate large mixing bowl, whisk together the oil, eggs, brown sugar, granulated sugar, crushed pineapple, and vanilla extract until fully combined. Add the grated carrots and chopped walnuts to the wet ingredients and stir until well combined.
  • Add the dry ingredients to the wet ingredients and mix with a whisk or rubber spatula until just combined, making sure not to over mix the batter.
  • Pour the cake batter into the prepared baking pan and spread around into one even layer. Bake at 350°F for 35-45 minutes or until the top of the cake is set and a toothpick inserted into the center of the cake comes out clean. If needed, tent with foil for the last 15-20 minutes of baking to prevent excess browning on top of the cake.
  • Remove from the oven, transfer to a wire rack, and allow to cool completely in the pan.

To make the cream cheese frosting:

  • In the bowl of a stand mixer fitted with the paddle attachment, or in a large mixing bowl using a hand-held mixer, beat the cream cheese until smooth. Add the butter and mix for about 30 seconds-1 minute until well combined and smooth. Add the powdered sugar and vanilla extract and continue mixing until fully combined, scraping down the sides of the bowl as needed.
  • Using a knife or an offset spatula, top the cooled carrot cake with the cream cheese frosting. Slice into pieces, serve, and enjoy!

Notes

Storage instructions: Store leftover carrot cake in the refrigerator covered tightly for up to 4 days.
To make in advance: Carrot cake may be prepared 2-3 days in advance. Cover tightly and store at room temperature for 1-2 days or in the refrigerator for 2-3 days. Cream cheese frosting may also be made 1-2 days in advance. Cover tightly and refrigerate the frosting, bring to room temperature on the counter before frosting the cake.
To freeze: Remove the carrot cake from the pan and wrap tightly in plastic wrap, store in the freezer for up to 3 months. Thaw overnight in the refrigerator. Frosting will also freeze well for 2-3 months, thaw in the refrigerator overnight, then bring to room temperature on the counter before frosting the cake.
Cuisine: American
Course: Dessert
Author: Danielle
Did you make this recipe?Mention @livewellbakeoften on Instagram or tag #livewellbakeoften.

Adapted from my Layered Carrot Cake recipe.