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!
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.
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: Need to 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.
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.
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.
- 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!
- Banana Cake
- Strawberry Shortcake
- Hummingbird Cake
- Pineapple Upside-Down Cake
- Lemon Blueberry Bundt Cake
Pineapple Carrot Cake
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) 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
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!
Adapted from my Layered Carrot Cake recipe.