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!
Jump to:
🥕 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.
📝 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
- 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
- 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
- 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
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.
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.
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.
Step 2: Pour oil into the bowl and whisk until smooth. Add vanilla extract and salt, whisk to combine.
Step 3: In a separate bowl, stir together the flour, spices, baking soda, and baking powder.
Step 4: Sift the dry ingredients into the previously mixed wet ingredients. Use a whisk to gently fold the batter.
Step 5: Add the shredded carrots, drained pineapple, and chopped walnuts into the cake batter. Fold with a spatula until fully combined.
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
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.
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.
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.
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.
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.
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.
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.
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.
🥄 Make ahead and storage
The cake can be made and assembled a day ahead of serving. Store it in the fridge in a cake 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.
📖 Recipe FAQs
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.
Yes you can. Use the frosting instead of the filling between the layers.
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.
Pop it in the fridge for 10-15 minutes. Beat again, adding more icing sugar a quarter cup at a time if needed.
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.
🍰 More related recipes
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
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)
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
- 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.
Comments
No Comments