Carrot Cake with Pineapple (2024)

Jump to Recipe Jump to Video

This carrot cake with pineapple is soft, fluffy, and moist! It’s perfectly spiced, has a creamy pineapple filling, and an irresistible cream cheese frosting. Pineapple inside the cake layers gives this cake a beautiful texture and makes it extra moist! There’s extra pineapple filling on top and cute carrot piping details on the sides. It’s the perfect cake for spring, Easter, and any other occasion.

If you love carrot cake but don't want to bake one, try this no churn carrot cake ice cream that has all of the flavor but you don't need to bake it!

Carrot Cake with Pineapple (1)
Jump to:
  • 🥕 Why you'll LOVE this recipe
  • 📝 Key ingredients
  • ✔️ Ingredient substitutions
  • 👩‍🍳 How to make carrot pineapple cake
  • ✔️ Expert cake decorating tips
  • 🥄 Make ahead and storage
  • ❔ Why do the cake layers not have butter?
  • 📖 Recipe FAQs
  • 🍰 More related recipes
  • 📖 Recipe
  • 💬 Comments

🥕 Why you'll LOVE this recipe

  • Pineapple: Adding crushed pineapple into the filling creates a soft and fluffy texture with pieces of chewy pineapple. You can't taste it in the layers, it just adds to the texture.
  • Filling: A quick and easy, creamy pineapple filling between the layers adds a tropical twist and works so well with the spiced carrot cake.
  • Cream cheese frosting: A fluffy, luscious, not too sweet cream cheese frosting ties it all together.
  • Fluffy & moist: The pineapple and shredded carrots give the cake lots of moisture and give it the perfect texture.
  • Spiced carrots: Perfectly spiced, fragrant, and packed full of shredded carrots.

For more filled cakes with cream cheese frosting try this blueberry birthday cake and this lemon raspberry cake.

Carrot Cake with Pineapple (2)

📝 Key ingredients

Read through for all the tips you will need for success!
Full steps and ingredients in recipe card below.

This cake has three components: the carrot cake with pineapple layers, a pineapple filling, and a cream cheese frosting.

Cake layer ingredients

Carrot Cake with Pineapple (3)
  • Canned crushed pineapple: This gives a moist texture to the carrot cake. You don't really taste it but the texture is incredible! Just drain the juice off.
  • Oil: Keeps the layers soft and moist. Use a mild flavored oil like vegetable oil or light olive oil.
  • Spices: Cinnamon, nutmeg, cloves, and ginger spice the cake perfectly.
  • Carrots: Peeled and shredded on the larger hole setting in a box grater.
  • All purpose flour: Weigh the flour to get the most accurate results. If you don’t have a scale, measure properly by stirring the bag and spooning gently into a measuring cup. Scrape the excess off the top with the flat edge off a knife without packing it into the cup.

Pineapple filling ingredients

Carrot Cake with Pineapple (4)
  • Canned crushed pineapple in juice: Use the whole can with the juice for this recipe.
  • Lemon juice: Adds brightness into the filling and helps avoid a "canned" taste. It's optional but recommended.
  • Butter: Added in at the end, makes the filling creamy and rich.
  • Cornstarch: You can use arrowroot starch or any other starch you prefer to thicken instead.

Cream cheese frosting ingredients

Carrot Cake with Pineapple (5)
  • Cream cheese: Use full fat, brick style cream cheese. It only needs to be slightly softened. Don't have it fully soft or it will make the cream cheese gloopy.
  • Unsalted butter: For easier blending and for a super light and fluffy frosting, the butter needs to be softened. It should be soft when you press on it, but not melt completely.

✔️ Ingredient substitutions

Gluten free: I haven't tried it but it should work. Substitute the flour with 1:1 gluten free flour.

Fresh pineapple: Peel and core the pineapple and process it into small chunks with a food processor. Because you also need juice for the filling, measure out 2 cups chopped pineapple and ⅓ cup of pineapple juice.

Walnuts: Substitute with pecans, seeds... Or leave them out if you prefer.

👩‍🍳 How to make carrot pineapple cake

Start off with the filling to give it plenty of time to chill. Then the layers get baked, frosting gets whipped up, and the cake gets assembled.

Filling step by step

Carrot Cake with Pineapple (6)

Step 1: Stir together sugar and cornstarch in a medium saucepan. Add a can of crushed pineapple with all of the juice. Add the lemon juice and stir. Cook on medium low heat, stirring frequently until it thickens and is bubbling.

Carrot Cake with Pineapple (7)

Step 2: Take the pan off the heat and add butter. Stir until melted and smooth. Transfer into a glass jar, bowl, or another non metal container and refrigerate until completely cooled and thickened.

Layers step by step

Prep: Preheat oven to 355F (180C). Grease three 8” round cake pans with a bit of oil. Line the bottoms with rounds of parchment paper.

Carrot Cake with Pineapple (8)

Step 1: In a large bowl, combine eggs and sugar. Whisk until thickened and frothy with a wire whisk - this will only take a minute.

Carrot Cake with Pineapple (9)

Step 2: Pour oil into the bowl and whisk until smooth. Add vanilla extract and salt, whisk to combine.

Carrot Cake with Pineapple (10)

Step 3: In a separate bowl, stir together the flour, spices, baking soda, and baking powder.

Carrot Cake with Pineapple (11)

Step 4: Sift the dry ingredients into the previously mixed wet ingredients. Use a whisk to gently fold the batter.

Carrot Cake with Pineapple (12)

Step 5: Add the shredded carrots, drained pineapple, and chopped walnuts into the cake batter. Fold with a spatula until fully combined.

Carrot Cake with Pineapple (13)

Step 6: Scoop the batter evenly into the greased and lined baking pans. Bake 20-23 minutes or until a toothpick inserted into the center of each cake layer comes out mostly clean with a few crumbs attached.

Let the cake layers cool inside the pans for 10 minutes. Run a spatula along the edges and flip them over onto a cooling rack to release the layers from the pans. Let cool completely.

Frosting & assembly step by step

Carrot Cake with Pineapple (14)

Step 1: Place the softened butter into a large bowl or stand mixer. Beat with an electric mixer, use a paddle attachment until creamy and lightened in color. Make sure to scrape down the bowl frequently.

Add five cups of powdered sugar, ½ cup at a time into the whipped butter. Beat well in between each addition and scrape down the bowl frequently. Add vanilla and beat well.

Carrot Cake with Pineapple (15)

Step 2: Add cream cheese into the frosting, one 1” piece at a time, beating well in between each addition and scraping down the bowl.

The frosting should be thick and fluffy. If it’s still loose and won’t hold its shape, refrigerate for 10 minutes, add another cup of powdered sugar, and beat again until light and fluffy. Fold the frosting with a spatula to knock out large air bubbles.

Carrot Cake with Pineapple (16)

Step 3: Place a small dollop of frosting on a cake stand or plate. Place the first cake layer down onto the cake stand. Spread a thin layer of frosting on top. Pipe a thick ring of frosting all the way around the outside edge of the cake layer. Fill the middle with ⅓ cup of cooled pineapple filling.

Carrot Cake with Pineapple (17)

Step 4: Repeat for the rest of the layers, place the last layer on top - bottom side up. Place the cake into the freezer for 10 minutes to chill briefly, this will prevent it from sliding around and will keep it stable.

Carrot Cake with Pineapple (18)

Step 5: Meanwhile, set aside three tablespoons of frosting in one bowl and two tablespoons in a second bowl. Color three tablespoons with orange food coloring and two tablespoons green. Transfer into separate piping bags or zippered plastic bags with the ends cut off.

Carrot Cake with Pineapple (19)

Step 6: Spread frosting on the outside of the cake. If the frosting becomes very bubbly and hard to work with, beat it again until light and fluffy. If it’s not thick enough, add some more powdered sugar to make it thicker.

Carrot Cake with Pineapple (20)

Step 7: Pipe the remaining frosting on top of the cake with an open star piping tip to create a border. Fill the inside with pineapple filling and sprinkle walnuts on the border.

Carrot Cake with Pineapple (21)

Step 8: Pipe carrots onto the side of the cake with orange frosting by piping a line and flicking the end to create a pointy root. Pipe three sticks onto the top of each carrot for the leaves and stems.

Serve immediately or refrigerate until ready to serve! The cake is best served at room temperature so let it sit out for 20-30 minutes before serving to soften the frosting.

✔️ Expert cake decorating tips

  • Don't add too much filling to prevent it from seeping out the sides.You will have some filling left. Serve extra with sliced pieces of cake.
  • Make the frosting right before decorating the cake for easier decorating.
  • This recipe gives you enough frosting to cover the cake completely. I opted more for a naked look but you can use more frosting.
  • The cake is best served at room temperature, because the frosting softens up. The cake needs to be stored in the fridge because of the cream cheese in the frosting.
  • For extra clean slices, cut the cake while it’s chilled and wipe the knife clean with every cut.
Carrot Cake with Pineapple (22)

🥄 Make ahead and storage

The cake can be made and assembled a day ahead of serving. Store it in the fridge in acake container. A cake container will prevent the cake from getting damaged in the fridge and keep it fresh.

The cake needs to be stored in the fridge, but should be served at room temperature. Leftovers will keep well in the fridge in an airtight container for up to three days.

The pineapple filling can be made up to a few days ahead of time. You can store any leftover filling in a freezer safe bag or container in the freezer for up to 3 months.

You can also make the cake layers a day ahead. Wrap the cooled cake layers in food wrap to prevent them from drying out and store at room temperature overnight.

❔ Why do the cake layers not have butter?

I love using a mix of butter and oil in my cakes because the butter gives the cake lots of flavor and the oil gives a softer, moister texture.

However, in a spiced and flavored cake like carrot cake, you don't really taste the butter flavor anyways. So you can just use oil and the cake will turn out beautifully moist for days.

This lemon raspberry cake uses a combination of butter and oil, while this lemon curd Victoria sponge only uses butter.

Carrot Cake with Pineapple (23)

📖 Recipe FAQs

Can I use fresh pineapple?

Yes. Peel and core the pineapple and process it into small chunks with a food processor. Because you also need juice for the filling, measure out 2 cups chopped pineapple and ⅓ cup of pineapple juice.

Can I omit the filling?

Yes you can. Use the frosting instead of the filling between the layers.

Can I make this into a sheet cake?

Yes, bake the batter in a greased and lined 9" by 12" baking pan. You will need to increase the baking time - it will be ready when a toothpick inserted into the center comes out mostly clean with a few crumbs attached. Frost with cream cheese frosting, pipe a border on the edge, and fill the top with pineapple filling.

How do I fix a gloopy cream cheese frosting?

Pop it in the fridge for 10-15 minutes. Beat again, adding more icing sugar a quarter cup at a time if needed.

How do I fix a grainy cream cheese frosting?

This happens if the ingredients are too cold - they don't combine smoothly. To fix it, place the frosting in a warm place or gently heat the sides of the heat safe bowl with a kitchen torch. Beat again to combine until creamy.

  • Carrot Cake Ice Cream
  • Lemon Raspberry Cake
  • Banoffee Cake
  • Blueberry Birthday Cake

Did you make this recipe? I would love for you to rate this recipe and hear what you think in the comments below! Share your creation on Instagram and tag @flouringkitchen. Follow me on Pinterest to save and for more recipe ideas.

📖 Recipe

Carrot Cake with Pineapple (28)

Carrot Cake with Pineapple

Mary

This carrot cake with pineapple is soft, fluffy, and moist! It’s perfectly spiced, has a creamy pineapple filling, and an irresistible cream cheese frosting. Pineapple inside the cake layers gives this cake a beautiful texture and makes it extra moist! There’s extra pineapple filling on top and cute carrot piping details on the sides. It’s the perfect cake for spring, Easter, and any other occasion.

5 from 1 vote

Print Recipe Pin Recipe Shop Ingredients

Prep Time 40 minutes mins

Cook Time 20 minutes mins

Total Time 1 hour hr

Course Baking, Cake

Cuisine American, English

Servings 16 people

Calories 751 kcal

Ingredients

Pineapple Filling

  • ½ cup granulated sugar
  • 3 tablespoons cornstarch
  • 1 can crushed pineapple in juice 540 mL, 19 fl oz, or 2 ⅓ cups
  • 1 lemon juiced
  • ¼ cup butter cut into small pieces

Cake Layers

  • 4 large eggs room temperature
  • 1 ½ cups brown sugar
  • 1 cup vegetable oil
  • 2 teaspoons pure vanilla extract
  • ¼ teaspoon sea salt
  • 2 ½ cups all purpose flour 300g
  • 1 teaspoon baking soda
  • 2 teaspoons baking powder
  • 2 teaspoons ground cinnamon
  • ½ teaspoon ground cloves
  • ½ teaspoon ground nutmeg
  • ½ teaspoon ground ginger
  • 2 cups shredded carrots (about 4 large carrots)
  • 1 cup canned crushed pineapple in juice drained
  • 1 cup walnuts lightly toasted and chopped

Cream Cheese Frosting

  • 1 ½ cup unsalted butter softened
  • 8 oz cream cheese softened for 10 minutes at room temperature
  • 5-6 cups powdered sugar
  • 1 tablespoon pure vanilla extract
  • Green and orange gel food coloring optional
  • 2 tablespoons walnuts finely chopped (optional)

Makes:8inch round

Shop Ingredients on Jupiter

Instructions

Pineapple Filling

  • Stir together sugar and cornstarch in a medium saucepan. Add a can of crushed pineapple with all of the juice. Add the lemon juice and stir. Cook on medium low heat, stirring frequently until it thickens and is bubbling.

    ½ cup granulated sugar, 3 tablespoons cornstarch, 1 can crushed pineapple in juice, 1 lemon

  • Take the pan off the heat and add butter. Stir until melted and smooth. Transfer into a glass jar, bowl, or another non metal container and refrigerate until completely cooled and thickened.

    ¼ cup butter

Cake Layers

  • Preheat oven to 355°F (180°C). Grease three 8” round cake pans with a bit of oil. Line the bottoms with rounds of parchment paper.

  • In a large bowl, combine eggs and sugar. Whisk until thickened and frothy with a wire whisk - this will only take a minute.

    4 large eggs, 1 ½ cups brown sugar

  • Pour oil into the bowl and whisk until smooth. Add vanilla extract and salt, whisk to combine.

    1 cup vegetable oil, 2 teaspoons pure vanilla extract, ¼ teaspoon sea salt

  • In a separate bowl, stir together the flour, spices, baking soda, and baking powder.

    2 ½ cups all purpose flour, 1 teaspoon baking soda, 2 teaspoons baking powder, 2 teaspoons ground cinnamon, ½ teaspoon ground cloves, ½ teaspoon ground nutmeg, ½ teaspoon ground ginger

  • Sift the dry ingredients into the previously mixed wet ingredients. Use a whisk to gently fold the batter. Don't overmix.

  • Add the shredded carrots, drained pineapple, and chopped walnuts into the cake batter. Fold with a spatula until fully combined.

    2 cups shredded carrots, 1 cup canned crushed pineapple in juice, 1 cup walnuts

  • Scoop the batter evenly into the greased and lined baking pans. Bake 20-23 minutes or until a toothpick inserted into the center of each cake layer comes out mostly clean with a few crumbs attached.

  • Let the cake layers cool inside the pans for 10 minutes. Run a spatula along the edges and flip them over onto a cooling rack to release the layers from the pans. Let cool completely.

Cream Cheese Frosting

  • Place the softened butter into a large bowl or stand mixer. Beat with an electric mixer, use a paddle attachment until creamy and lightened in color. Make sure to scrape down the bowl frequently.

    1 ½ cup unsalted butter

  • Add five cups of powdered sugar, ½ cup at a time into the whipped butter. Beat well in between each addition and scrape down the bowl frequently. Add vanilla and beat well.

    5-6 cups powdered sugar, 1 tablespoon pure vanilla extract

  • Add cream cheese into the frosting, one 1” piece at a time, beating well in between each addition and scraping down the bowl.

    8 oz cream cheese

  • The frosting should be thick and fluffy. If it’s still loose and won’t hold its shape, refrigerate for 10 minutes, add another cup of powdered sugar, and beat again until light and fluffy. Fold the frosting with a spatula to knock out large air bubbles.

Assembly

  • Place a small dollop of frosting on a cake stand or plate. Place the first cake layer down onto the cake stand. Spread a thin layer of frosting on top. Pipe a thick ring of frosting all the way around the outside edge of the cake layer. Fill the middle with ⅓ cup of cooled pineapple filling.

  • Repeat for the rest of the layers, place the last layer on top - bottom side up. Place the cake into the freezer for 10 minutes to chill briefly, this will prevent it from sliding around and will keep it stable.

  • While it chills, set aside three tablespoons of frosting in one bowl and two tablespoons in a second bowl. Color three tablespoons with orange food coloring and two tablespoons green. Transfer into separate piping bags or zippered plastic bags with the ends cut off.

    Green and orange gel food coloring

  • Spread frosting on the outside of the cake. If the frosting becomes very bubbly and hard to work with, beat it again until light and fluffy. If it’s not thick enough, add some more powdered sugar to make it thicker.

  • Pipe the remaining frosting on top of the cake with an open star piping tip to create a border. Fill the inside with pineapple filling and sprinkle walnuts on the border.

    2 tablespoons walnuts

  • Pipe carrots onto the side of the cake with the orange frosting by piping a line and flicking the end to create a pointy root. Pipe three sticks onto the top of each carrot for the leaves and stems.

  • Serve immediately or refrigerate until ready to serve! The cake is best served at room temperature so let it sit out for 20-30 minutes before serving to soften the frosting.

Video

Notes

The cake can be made and assembled a day ahead of serving. Store it in the fridge in acake container. A cake container will prevent the cake from getting damaged in the fridge and keep it fresh.

The cake needs to be stored in the fridge, but should be served at room temperature. Leftovers will keep well in the fridge in an airtight container for up to three days.

Make ahead:

The pineapple filling can be made up to a few days ahead of time. You can store any leftover filling in a freezer safe bag or container in the freezer for up to 3 months.

You can also make the cake layers a day ahead. Wrap the cooled cake layers in food wrap to prevent them from drying out and store at room temperature overnight.

Expert Cake Tips:

  • Don't add too much filling to prevent it from seeping out the sides.You will have some filling left. Serve extra with sliced pieces of cake.
  • Make the frosting right before decorating the cake for easier decorating.
  • This recipe gives you enough frosting to cover the cake completely. I opted more for a naked look but you can use more frosting.
  • The cake is best served at room temperature, because the frosting softens up. The cake needs to be stored in the fridge because of the cream cheese in the frosting.
  • For extra clean slices, cut the cake while it’s chilled and wipe the knife clean with every cut.

Nutrition

Calories: 751kcalCarbohydrates: 92gProtein: 8gFat: 41gSaturated Fat: 16gPolyunsaturated Fat: 13gMonounsaturated Fat: 10gTrans Fat: 1gCholesterol: 96mgSodium: 319mgPotassium: 257mgFiber: 3gSugar: 72gVitamin A: 2922IUVitamin C: 9mgCalcium: 138mgIron: 2mg

Tried this recipe?Let us know how it was!

Carrot Cake with Pineapple (2024)

FAQs

Can fresh pineapple be used in carrot cake? ›

Pineapple Carrot Cake with Cinnamon Cream Cheese Frosting. This Pineapple Carrot Cake is ultra fluffy and moist, and is flavored with fresh carrots, juicy pineapple, and cozy spices like cinnamon and ginger. Top it all off with a silky cream cheese frosting for the perfect springtime cake!

Why did my carrot cake flop in the middle? ›

5. My cake has sunk in the middle. There are three main reasons for this: a/ the oven door has been opened before the cake has set, b/ the cake didn't go in the oven as soon as the mixture was ready or c/ there's too much raising agent.

Why is my pineapple upside down cake soggy? ›

- Never add extra liquid or moisture to the base of an upside down cake. It will made the cake soggy. Drain your tin of pineapple before use, but keep the juice.

Why is my carrot cake gummy? ›

Tossing the carrots in sugar did the trick, removing enough liquid from the carrots to eliminate the gummy texture of the cake.

Can I substitute pineapple juice for water in a boxed cake mix? ›

Use pineapple juice to make a cake from a boxed mix.

Simply replace the oil, milk, or water called for in the recipe with pineapple juice in equal proportions. A yellow or white cake works best, since the pineapple flavor could clash or get lost if you use chocolate or another flavor.

Can I use fresh pineapple instead of canned? ›

In many cases, canned pineapple can be substituted for fresh pineapple (and vice versa) in equal measure, which is good to know when you only need a small amount of pineapple for a recipe.

What is the toothpick test on carrot cake? ›

The idea behind this test is you can insert a toothpick or paring knife into the center of the cake to see if the crumb has set. If the tester comes out clean, it's done. If it comes out gummy or with crumbs clinging to it, the cake needs more time in the oven.

Why is my carrot cake so heavy? ›

Too little baking soda and the cake won't rise as it should. Instead, you're left with something heavy and compact that lacks the delightful fluffiness we all crave in a good carrot cake.

Do you let pineapple upside-down cake cool before flipping? ›

Cool the cake slightly before removing from the pan.

The hardest part of making pineapple upside-down cake is the maneuver which turns the bottom of the cake pan into the top of the cake. Cooling the baked cake slightly before flipping it allows the topping to cool and stick to the cake before turning out.

Should you refrigerate pineapple upside-down cake after baking? ›

Store pineapple upside-down cake covered in the refrigerator to retain the texture and moistness as much as possible and enjoy it within 2 or 3 days.

What is the best pan for an upside-down cake? ›

A well-buttered pan and the naturally seasoned cast iron surface will prevent the topping layer of the cake from sticking—more on that later. For mini upside-down cakes, the mini cake pan is just the right size.

Why not use butter in carrot cake? ›

Carrot cake is oil-based, rather than butter-based. This keeps it moist and helps it last for days. Unfortunately, it also means you lose the leavening power that creaming butter and sugar would bring. (Creaming, or beating together the two ingredients on high speed, aerates the butter.)

How do you know if carrot cake is undercooked? ›

A wobbly or firm middle that doesn't bounce back is a sign that the cake needs more baking time. When you insert a thin skewer in the cake, it should come out clean (or with a few dry crumbs). If you pull it out and wet cake mixture has stuck to the skewer, it means the cake has not finished baking completely.

Do you drain carrots for carrot cake? ›

By finely shredding them, they integrate into the crumb of the cake more evenly. I don't blot or remove moisture from the carrots in this recipe. Carrots also contain juices, which provide moisture and also flavor.

Why is it not recommended to use fresh pineapples when making a gelatin dessert? ›

Fresh pineapple prevents gelatin from setting up because it contains a protease called bromelain that digests the links formed between collagen molecules that make the liquid turn into a gel. Canned pineapple doesn't have the same effect because heat from canning inactivates bromelain.

Can you use fresh fruit in baking? ›

Baking with fruit adds a delightful touch to your creations, infusing them with vibrant colors, fresh flavors, and a natural sweetness. From luscious berry pies to tangy citrus tarts, the possibilities are endless when it comes to incorporating fruits into your baking repertoire.

Why is my pineapple cake bitter? ›

As a rule of thumb, if your cake tastes bitter, it's probably over-baked. If your cake tastes bitter, it is probably over-baked. Instead of baking at 350 degrees Fahrenheit, bake at 325 degrees.

Top Articles
Latest Posts
Article information

Author: Tuan Roob DDS

Last Updated:

Views: 5309

Rating: 4.1 / 5 (42 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Tuan Roob DDS

Birthday: 1999-11-20

Address: Suite 592 642 Pfannerstill Island, South Keila, LA 74970-3076

Phone: +9617721773649

Job: Marketing Producer

Hobby: Skydiving, Flag Football, Knitting, Running, Lego building, Hunting, Juggling

Introduction: My name is Tuan Roob DDS, I am a friendly, good, energetic, faithful, fantastic, gentle, enchanting person who loves writing and wants to share my knowledge and understanding with you.