Carrot Cake with Pineapple

This carrot cake with pineapple is what I make when I need a reliable, crowd-pleasing dessert. The texture is moist and fluffy, the flavor is warm and sweet, and the cream cheese frosting ties it all together.

Pure Vintage Magic

This carrot cake with pineapple is pure vintage magic — soft, moist, and perfectly balanced with just the right touch of sweetness. The secret? Keep the right balance of liquid with the carrots and pineapple so the cake stays tender instead of heavy.

old vintage cookbook with carrot cake with pineapple

I discovered this gem in a 1976 community cookbook filled with handwritten notes and time-tested favorites — and it quickly became one of mine, too. The shredded carrots keep the crumb moist, while the crushed pineapple adds a subtle brightness that sets it apart.

Like my traditional carrot cake recipe it comes together in one bowl (yes, even easier cleanup!), and if you spread the cream cheese frosting while the cake’s still slightly warm, it melts into the top for an irresistible finish. It’s the kind of nostalgic dessert you’ll want to share at birthdays, potlucks, or any time you’re craving something classic and comforting.

ingredients to make carrot pineapple cake

Want to save this recipe?

Enter your email & I'll send it to your inbox. Plus, get great new recipes from me every week!

Save Recipe

Key Ingredients and Substitutions

  • All-purpose flour: Provides the base structure for the cake. You can use a 1:1 gluten-free flour blend if needed.
  • Sugar: Adds sweetness and helps create a tender crumb. For a deeper flavor, try swapping half with light brown sugar.
  • Baking powder and baking soda: Work together to help the cake rise. Make sure they’re fresh for best results.
  • Cinnamon: Adds warm spice. You can add a pinch of nutmeg or cloves for even more spice depth.
  • Salt: Balances the sweetness and enhances the other flavors.
  • Vegetable oil: Keeps the cake moist. Canola oil, avocado oil, or melted coconut oil also work.
  • Eggs: Provide structure and help bind the ingredients. Room temperature eggs work best for even mixing.
  • Finely shredded carrot: Adds moisture and texture while keeping the cake soft. Make sure to grate by hand or use the fine side of a box grater for best texture.
  • Crushed pineapple with juice: Sweetens the cake and adds extra moisture. Do not drain the juice – it’s needed for texture and flavor.
  • Vanilla extract: Adds a mellow, sweet undertone to both the cake and frosting.
slice of carrot cake with pineapple being taken out of cake

How to Make Carrot Cake with Pineapple

Preparation

Shred the carrots, measure out the crushed pineapple with juice, and bring the cream cheese and butter to room temperature. Lightly grease and flour a 9x9x2-inch baking pan and preheat the oven to 350˚F.

Step 1 – Combine Dry Ingredients

In a large mixing bowl, stir together the flour, sugar, baking powder, baking soda, cinnamon, and salt until well combined.

all ingredients in mixing bowl

Step 2 – Mix the Batter

Add the oil, eggs, shredded carrots, crushed pineapple, and vanilla to the dry mixture. Stir until just moistened, then beat with an electric mixer on medium speed for 2 minutes until smooth.

cake before baking
baked cake before frosting

Step 3 – Bake the Cake

Pour the batter into the prepared pan and spread it evenly. Bake for 35–40 minutes or until a toothpick inserted in the center comes out clean. Let the cake cool completely in the pan.

whipped cream cheese frosting in mixing bowl

Step 4 – Make the Frosting

In a medium bowl, beat the softened cream cheese and butter together until creamy. Mix in the vanilla and a pinch of salt. Gradually add the powdered sugar and beat until smooth and spreadable.

slice of carrot cake on plate

Step 5 – Frost and Serve

Once the cake is fully cooled, spread the cream cheese frosting over the top. Stir in chopped pecans if using, or sprinkle them on top for added texture. Slice and serve.

Lynette’s Tip

To check for doneness, insert a toothpick into the center of the cake around the 35-minute mark. If it comes out clean or with a few moist crumbs, it’s ready. If there’s wet batter, let it bake a few minutes longer and check again.

slice of carrot cake on plate
Created by: Lynette Rice

Carrot Cake with Pineapple


Course Dessert
Cuisine American
Prep Time 15 minutes
Cook Time 40 minutes
Servings 9 servings
9 servings
This carrot cake with pineapple is my go-to dessert for any occasion. It’s soft, moist, and perfectly spiced, with just the right touch of sweetness — and the creamy frosting brings it all together beautifully.

Ingredients
  

Cake

  • 1 ½ Cups all purpose flour
  • 1 Cup sugar
  • 1 teaspoon baking powder
  • 1 teaspoon baking soda
  • 1 teaspoon cinnamon
  • ½ teaspoon salt
  • Cup vegetable oil
  • 2 large eggs
  • 1 Cup finely shredded raw carrot
  • ½ Cup crushed pineapple with juice
  • 1 teaspoon vanilla

Cream Cheese Frosting

  • 3 oz cream cheese
  • 4 Tablespoons softened butter
  • 1 teaspoon vanilla
  • Dash salt
  • 2 ½ Cups powdered sugar
  • ½ Cup chopped pecans optional

Instructions

  • Start by preheating your oven to 350˚ F. Lightly grease and flour a 9x9x2 inch baking pan so your cake won’t stick.
  • In a large mixing bowl, stir together the flour, sugar, baking powder, baking soda, cinnamon, and salt until everything is well combined.
  • Add in the oil, eggs, grated carrot, crushed pineapple, and vanilla. Stir until the dry ingredients are moistened, then beat the batter with an electric mixer on medium speed for about two minutes to make it smooth and airy.
  • Pour the batter into your prepared pan, spreading it evenly. Bake for 35–40 minutes, or until a toothpick inserted in the center comes out clean. Let the cake cool completely before frosting.
  • For the cream cheese frosting, beat the cream cheese and butter together until creamy. Mix in the vanilla and just a pinch of salt. Gradually add the powdered sugar, blending until smooth and spreadable. If you’d like, stir in chopped pecans for extra texture and flavor.
  • Once the cake has cooled, frost it generously with the cream cheese frosting and enjoy!

Notes

Tip: To check for doneness, insert a toothpick into the center of the cake around the 35-minute mark. If it comes out clean or with a few moist crumbs, it’s ready. If there’s wet batter, let it bake a few minutes longer and check again.
Make Ahead: You can bake the cake a day ahead and store it covered at room temperature. Wait to frost until just before serving, or refrigerate the frosted cake and bring to room temperature before slicing.
Storing: Once the cake has completely cooled and been frosted, cover it and store in the refrigerator for up to 4 days. The cream cheese frosting helps keep it moist.
Freezing: For best texture, freeze the cake without the frosting. Wrap tightly in plastic wrap and place in a freezer-safe bag or container. Freeze for up to 2 months. Let the cake thaw in the refrigerator overnight. Bring to room temperature before frosting and serving.

Variations

  • Add Pecans: I love folding in ½ cup chopped pecans right into the batter for a little extra crunch and nutty flavor in every bite. It pairs perfectly with the carrots and pineapple.
  • Make It a Layer Cake: Double the recipe and bake in two 8-inch round cake pans. Once cooled, stack them with frosting in the middle and on top for a classic carrot layer cake.

Nutrition

Serving: 1serving | Calories: 432kcal | Carbohydrates: 78g | Protein: 6g | Fat: 27g | Saturated Fat: 6g | Polyunsaturated Fat: 11g | Monounsaturated Fat: 8g | Trans Fat: 0.3g | Cholesterol: 51mg | Sodium: 429mg | Potassium: 153mg | Fiber: 2g | Sugar: 26g | Vitamin A: 2600IU | Vitamin C: 2mg | Calcium: 83mg | Iron: 1mg

Did you create this?

Share it on Instagram and follow us on Pinterest for more Cleverly Simple recipes.

Short on time but love dessert?

Four simple MAKE AHEAD dessert recipes in your inbox.

Recipe FAQs

Can I use canned pineapple for this recipe?

Yes, canned crushed pineapple works perfectly and is actually preferred. Just make sure to include the juice as written in the recipe for added moisture and sweetness.

Do I need to squeeze the juice out of the carrots?

No, you don’t need to squeeze out the moisture. Use freshly shredded raw carrots and include their natural juices to help keep the cake moist.

Why is my cake sinking in the center?

If your cake sinks, it may be underbaked or the batter may have been overmixed. Make sure to follow the mixing times and check doneness with a toothpick before removing it from the oven.

Leave a Reply

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

Recipe Rating