Pineapple Carrot Cake with Cream Cheese Frosting

5 (9 ratings)

16

This post may contain affiliate links. Please read our disclosure policy.

Moist, perfectly spiced, and topped with tangy cream cheese frosting, this Pineapple Carrot Cake with Cream Cheese Frosting is my momโ€™s most requested dessertโ€”and a longtime family favorite. With crushed pineapple for sweetness and grated carrots for texture, this easy carrot cake recipe delivers big flavor with pantry staples. Itโ€™s so good, we even featured it in the Muy Bueno cookbook!

Pineapple Carrot Cake with Cream Cheese Frosting on a yellow cake stand with one slice taken out and placed on a plate below.

What is Pineapple Carrot Cake?

This carrot pineapple cake is incredibly moist, warmly spiced, and topped with a sweet-tangy cream cheese frosting. The crushed pineapple adds natural sweetness and helps keep the crumb super tender, while the carrots provide color and texture.

Itโ€™s the birthday cake I asked for every year as a kid. My mom would often double the recipe and bake it as a sheet cake to feed our big familia. Whether you serve it as a layer cake, cupcakes, or a bundt, this cake is always a crowd-pleaser.

With only 25 minutes of active prep time, this pineapple carrot cake comes together easilyโ€”no mixer required until it’s time for frosting. Most of the ingredients are pantry staples, making it perfect for whipping up whenever the craving strikes.

For a little crunch, I love adding chopped pecans to the batter, but you can skip the nuts or use walnuts if you prefer.

Yvette Marquez muy bueno Mexican food blogger in an orange dress holding a molcajete.

Why Youโ€™ll Love This Recipe

Moist & flavorful: Crushed pineapple and freshly grated carrots give this cake its unbeatable texture.

Balanced sweetness: The tangy cream cheese frosting complements the warmly spiced cake layers.

Versatile: Bake as a traditional round cake, sheet cake, cupcakes, or even a bundt.

Easy to make: Just 25 minutes of hands-on time and simple ingredients.

Perfect for celebrations: A nostalgic classic that never disappoints.

Want to save this recipe?
I’ll email this recipe to you, so that you can come back to it later!

Ingredients & Substitutions

Making the best carrot cake doesnโ€™t require many special ingredients. Hereโ€™s what youโ€™ll need:

  • Eggs & Egg White โ€“ Room temperature eggs blend more easily into the batter.
  • Granulated Sugar โ€“ You can substitute a cup-for-cup sugar alternative if preferred.
  • Vegetable Oil โ€“ Or use another neutral oil like canola, grapeseed, or peanut oil.
  • Ground Cinnamon & Nutmeg โ€“ Classic carrot cake spices; swap in pumpkin pie spice if needed.
  • Salt โ€“ Adjust based on your type of salt (table, kosher, or sea salt).
  • Baking Powder & Baking Soda โ€“ Both are essential for proper rise.
  • All-Purpose Flour โ€“ Cake flour or a gluten-free cup-for-cup blend can be used.
  • Grated Carrots โ€“ No need to peel; grate with a box grater or food processor.
  • Crushed Pineapple โ€“ Adds moisture and sweetness. Blitz chunks or rings if needed.
  • Crushed Pecans โ€“ Optional but recommended. Walnuts or no nuts are also fine.
  • Unsalted Butter โ€“ For the frosting. Plant-based butter works if needed.
  • Cream Cheese โ€“ Full-fat gives the best texture; dairy-free alternatives are okay.
  • Vanilla Extract โ€“ Pure extract, vanilla paste, or powder all work.
  • Confectionerโ€™s Sugar โ€“ Also called powdered sugar. Make your own if needed.
  • Milk โ€“ Whole milk or unsweetened dairy-free milk.

Note: The full list of ingredients and instructions is available in the printable recipe card below.

pineapple flowers in a muffin pan

Optional Variations

This recipe has not been tested with all of these substitutions or variations. If you replace or add any ingredients, please let us know how it turned out in the comments below!

Decorate it: Add pineapple flowers or carrot rosettes for a beautiful finish inspired by Hummingbird Cake.

Change the pan: Use a bundt pan, sheet pan, or loaf pans instead.

Cupcake version: Makes about 24 standard cupcakes.

Add-ins: Mix in raisins or shredded coconut (keep total add-ins to 1ยฝ cups).

Make it a tall layer cake: Double the recipe or slice each round in half.

How to Make Pineapple Carrot Cake

This easy carrot cake recipe is simple enough for beginners:

Step 1: Prep. Preheat oven to 350ยฐF. Grease two 9-inch round pans. Optional: Line with parchment.

Step 2: Mix wet ingredients. In a bowl, whisk eggs, egg white, sugar, and oil.

Step 3: Combine dry ingredients. In another bowl, whisk flour, spices, baking powder, baking soda, and salt.

Step 4: Make batter. Add wet to dry and stir until just combined. Fold in carrots, pineapple, and pecans.

Step 5: Bake. Divide batter into pans. Bake 30โ€“35 minutes or until a toothpick comes out clean.

Step 6: Cool. Cool in pans 5 minutes. Remove and let cool completely on wire racks.

one layer of carrot cake cooling on a wire rack.

Step 7: Make frosting. Beat softened butter, cream cheese, and vanilla. Slowly add powdered sugar. Thin with milk if needed. Donโ€™t make it too thin or it will slide off the cake!

Make-Ahead Tip: Frosting can be made, covered, and refrigerated for up to a week in advance of frosting. Simply allow it to come to room temperature and give it a quick beating before continuing to assemble the carrot cake.

Step 8: Assemble. Spread frosting between layers, on top, and sides. Garnish with extra pecans.

homemade carrot cake decorated with pineapple flowers and rainbow carrot rosettes with carrot tops as green garnish on a yellow glass cake stand.

Pineapple Carrot Cake Expert Tips & Tricks

Bring eggs to room temperature for a smoother batter.

Use freshly grated nutmeg for more flavor.

Donโ€™t overmix the batter once the flour is added.

Crushed pineapple gives the best textureโ€”avoid chunks.

Chill the cake before slicing for cleaner cuts.

Storage Instructions

  • Room Temperature: Unfrosted cake layers can be wrapped and stored up to 2 days.
  • Refrigerator: Frosted cake lasts up to 5 days in an airtight container.
  • Freezer: Freeze unfrosted layers up to 1 month. Wrap tightly in plastic and foil.
Top view of carrot cake decorated with pineapple flowers and carrot roses.

Frequently Asked Questions

What does Pineapple Carrot Cake taste like?

Itโ€™s sweet, moist, and warmly spiced with cinnamon and nutmeg, and the tangy cream cheese frosting adds balance.

What does adding pineapple to carrot cake do?

Crushed pineapple adds moisture, natural sweetness, and a subtle tropical flavor.

What is the ideal baking temperature for carrot cake?

Bake at 350ยฐF for even cooking and the perfect crumb.

What is the secret ingredient in carrot cake?

Pineapple! It keeps the cake moist and tender while boosting flavor.

What is in Hummingbird Cake?

Itโ€™s a Southern classic with bananas, crushed pineapple, and pecans, often topped with cream cheese frostingโ€”similar in spirit to carrot cake.

overhead shot of carrot cake decorated with dried pineapple flowers.

More Dessert Recipes

If you tried this Pineapple Carrot Cake with Cream Cheese Frosting or any other recipe on my blog, please leave a ⭐ star rating and let me know how it went in the comments below!

Download my free eBook!
Don’t miss out! Fill out the form to download this must-have collection of comforting recipesโ€”perfect for bringing warmth and flavor to your cocina!
5 (9 ratings)

Carrot Cake with Pineapples & Cream Cheese Frosting (Pastel de Zanahoria)

Total Time: 1 hour
Yield: 8 to 12 servings
Prep: 25 minutes
Cook: 35 minutes
This is by far the best carrot cake โ€” it is perfectly spiced, moist, and delicious topped with homemade cream cheese frosting. The cake gets extra sweetness from the addition of crushed pineapple to the batter.
Email this Recipe
Enter your email, and Iโ€™ll send the recipe straight to your inbox! Plus, youโ€™ll get subscribed to my newsletter for more delicious updates.

Ingredients 

Cake:

Cream cheese frosting:

  • ยฝ cup unsalted butter, softened
  • 1 package cream cheese, softened
  • 1 teaspoon pure vanilla extract
  • 4 cups confectionerโ€™s sugar
  • 2 to 3 tablespoons milk

Instructions 

  • Preheat oven to 350 degrees F. Grease 2 9-inch round cake pans.
  • In a mixing bowl, combine eggs, egg white, sugar, and oil.
  • In a separate bowl combine all dry ingredients. Add egg mixture to dry ingredients and beat all together.
  • Add carrots, pineapple, and pecans, if using, and mix again. Pour into prepared pans.
  • Place both pans on the same oven rack and bake for 30 to 35 minutes, or until a toothpick inserted into the middle comes out clean.
  • Remove from the oven and place pans on wire racks. Let cool for 5 minutes and then remove from pans. Allow cake layers to cool completely on wire racks before frosting.ย 

Make cream cheese frosting:

  • In a large mixing bowl cream together butter, cream cheese, and vanilla extract.
  • Gradually beat in confectionerโ€™s sugar. Add milk to desired consistency. Donโ€™t make it too thin or it will slide off the cake.
  • Spread frosting between layers and on top and sides of cake. Garnish with crushed pecans if desired.

Notes

  • Bring eggs to room temperature for a smoother batter.
  • Use freshly grated nutmeg for more flavor.
  • Donโ€™t overmix the batter once the flour is added.
  • Crushed pineapple gives the best textureโ€”avoid chunks.
  • Chill the cake before slicing for cleaner cuts.
  • Room Temperature: Unfrosted cake layers can be wrapped and stored up to 2 days.
  • Refrigerator: Frosted cake lasts up to 5 days in an airtight container.
  • Freezer: Freeze unfrosted layers up to 1 month. Wrap tightly in plastic and foil.

Nutrition

Calories: 824kcal | Carbohydrates: 127g | Protein: 9g | Fat: 33g | Saturated Fat: 17g | Cholesterol: 123mg | Sodium: 358mg | Potassium: 337mg | Fiber: 3g | Sugar: 98g | Vitamin A: 6187IU | Vitamin C: 5mg | Calcium: 98mg | Iron: 2mg

Nutrition information is automatically calculated, so should only be used as an approximation.

Tried this recipe?Mention @muybuenocooking or tag #muybuenocooking!

Photography byย Jenna Sparks
Originally published: March 2016.ย This recipe is also published inย the Muy Bueno cookbook.

Leave a comment

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

Recipe Rating




16 Comments

  1. Jen M says:

    Made this recipe multiple times as a cake, cupcakes and 13×9 pan. Always a favorite.