Vegetarian Carrot Cake with Pineapple

Megan

The Guardian of Family Flavors

There are certain desserts that feel less like a treat and more like a warm, comforting hug in edible form. For me, that dessert has always been carrot cake. I have vivid memories of my grandmother’s version, a dense, spice-laden loaf that was good, but never quite transcendent. For years, I chased the idea of a perfect carrot cakeโ€”one that was profoundly moist, bursting with flavor, and crowned with a frosting that was tangy, not just sweet. This Vegetarian Carrot Cake with Pineapple is the culmination of that quest. The first time I baked it, the aroma aloneโ€”a heavenly blend of warm cinnamon, sweet carrots, and toasted nutsโ€”told me I was onto something special. When I finally took a bite, it was a revelation. The cake was unbelievably tender and moist, a texture I owe entirely to the two “secret” ingredients: oil and crushed pineapple. The pineapple, in particular, works magic, weaving in a subtle tropical sweetness and a moisture that lasts for days. Each bite is a delightful treasure hunt of textures: the soft crumb, the tender carrot shreds, the crunchy walnuts, and the sweet bursts of pineapple. And the frosting? It’s the perfect counterpoint. Luxuriously thick and creamy with that signature tang from the cream cheese, it balances the sweetness of the cake and brings all the flavors into perfect harmony. This recipe has become my go-to for every occasion, from Easter brunches to cozy fall evenings, and it never fails to elicit gasps of delight. Itโ€™s not just a cake; itโ€™s an experience, and one I am thrilled to share.

Complete Ingredients with Amounts

The magic of this cake lies in the synergy between its components. Using high-quality, fresh ingredients will make a noticeable difference in the final product. Pay close attention to the specifications, such as using full-fat block cream cheese and finely grated carrots, as these details are crucial for achieving the perfect texture and flavor.

For the Ultra-Moist Carrot Cake:

  • All-Purpose Flour:ย 2 cups (250g). This provides the essential structure for the cake. Sifting the flour is recommended to ensure a light and tender crumb.
  • Granulated Sugar:ย 1 cup (200g). Provides sweetness and helps to keep the cake moist.
  • Brown Sugar:ย 1 cup (220g), packed. Adds a deeper, molasses-like flavor and contributes significantly to the cake’s moistness. Light or dark brown sugar will work well.
  • Baking Soda:ย 2 teaspoons. This is our primary leavening agent, reacting with the acidic pineapple and brown sugar to help the cake rise and become fluffy.
  • Baking Powder:ย 1 teaspoon. Provides an extra lift, ensuring the cake isn’t too dense.
  • Fine Sea Salt:ย 1 teaspoon. Salt is a crucial flavor enhancer in baking; it balances the sweetness and brings out the warm notes of the spices.
  • Ground Cinnamon:ย 2 teaspoons. The quintessential carrot cake spice, providing warmth and a familiar, comforting aroma.
  • Ground Nutmeg:ย 1/2 teaspoon. Adds a lovely, warm complexity that pairs beautifully with cinnamon.
  • Ground Ginger:ย 1/2 teaspoon. Provides a subtle, spicy kick that brightens the overall flavor profile.
  • Large Eggs:ย 4. These should be at room temperature. Eggs provide structure, richness, and leavening.
  • Neutral Oil:ย 1 1/4 cups (300ml). Use a neutral-flavored oil like canola, vegetable, or grapeseed oil. Oil is the secret to a supremely moist cake that stays tender for days, as it remains liquid at room temperature, unlike butter.
  • Pure Vanilla Extract:ย 2 teaspoons. Enhances all the other flavors in the cake.
  • Finely Grated Carrots:ย 3 cups (about 350g), from 4-5 medium carrots. It’s essential to grate them yourself on the fine side of a box grater. Pre-shredded carrots from the store are often thick and dry, which will negatively impact the cake’s texture.
  • Crushed Pineapple:ย 1 can (8 oz / 227g), well-drained. This is a non-negotiable ingredient for ultimate moisture and a subtle tangy sweetness. Squeeze out as much juice as possible before adding it to the batter.
  • Chopped Walnuts or Pecans:ย 1 cup (115g), toasted (optional, but highly recommended). Toasting the nuts brings out their flavor and adds a delightful crunch.

For the Tangy Cream Cheese Frosting:

  • Full-Fat Block Cream Cheese:ย 16 ounces (450g), two blocks, softened to room temperature. This is critical. Do not use whipped cream cheese or low-fat varieties, as they contain more water and will result in a runny frosting.
  • Unsalted Butter:ย 1/2 cup (113g), softened to room temperature. The butter adds stability and a rich, creamy flavor to the frosting.
  • Powdered Sugar:ย 4 cups (480g), sifted. Sifting is important to prevent a lumpy frosting. You can adjust the amount slightly depending on your desired sweetness.
  • Pure Vanilla Extract:ย 1 teaspoon.
  • Fine Sea Salt:ย 1/4 teaspoon. A pinch of salt balances the sweetness of the sugar and the tang of the cream cheese.

Step-by-Step Instructions

Baking is a science, and following these steps in order will ensure your cake turns out perfectly every time. The most important rule? Don’t rush the cooling process!

Part 1: Prepare and Bake the Carrot Cake

  1. Preheat and Prep:ย Preheat your oven to 350ยฐF (175ยฐC). Grease and flour two 9-inch round cake pans. For extra insurance against sticking, trace the bottom of the pans onto parchment paper, cut out the circles, and place them in the bottom of the greased pans. Then, grease the parchment paper as well.
  2. Toast the Nuts:ย If using, spread the chopped walnuts or pecans on a baking sheet and toast in the preheated oven for 5-7 minutes, or until fragrant. Keep a close eye on them as they can burn quickly. Set aside to cool.
  3. Combine Dry Ingredients:ย In a large bowl, sift or whisk together the 2 cups of all-purpose flour, 2 teaspoons of baking soda, 1 teaspoon of baking powder, 1 teaspoon of salt, 2 teaspoons of cinnamon, 1/2 teaspoon of nutmeg, and 1/2 teaspoon of ginger. Whisking well ensures the leavening agents and spices are evenly distributed.
  4. Combine Wet Ingredients:ย In a separate, very large bowl (this will be your main mixing bowl), whisk together the 1 cup of granulated sugar and 1 cup of packed brown sugar. Add the 4 room-temperature eggs, one at a time, whisking well after each addition until the mixture is smooth.
  5. Add Oil and Vanilla:ย Slowly stream in the 1 1/4 cups of neutral oil while whisking continuously. The mixture will become glossy and emulsified. Whisk in the 2 teaspoons of vanilla extract.
  6. Combine Wet and Dry:ย Pour the dry ingredient mixture into the wet ingredient mixture. Using a spatula, gently fold the ingredients together until just combined. Be careful not to overmix; a few streaks of flour are okay at this stage. Overmixing develops gluten, which can lead to a tough, dense cake.
  7. Fold in the Goodies:ย Add the 3 cups of finely grated carrots, the 1 can of well-drained crushed pineapple, and the 1 cup of cooled, toasted nuts to the batter. Gently fold everything together with the spatula until evenly incorporated. The batter will be thick.
  8. Divide and Bake:ย Evenly divide the batter between your two prepared cake pans. Use a spatula to smooth the tops. Bake in the preheated oven for 35-45 minutes. The cake is done when a wooden skewer or toothpick inserted into the center comes out clean or with a few moist crumbs attached (but no wet batter). The tops should be golden brown and spring back when lightly touched.
  9. Cool Completely:ย This is a crucial step! Let the cakes cool in their pans on a wire rack for 15-20 minutes. Then, carefully run a knife around the edges of the pans and invert the cakes onto the wire rack. Peel off the parchment paper and let them cool completely to room temperature, which can take at least 1-2 hours. Do not attempt to frost a warm cake, or the frosting will melt into a greasy mess.

Part 2: Make the Cream Cheese Frosting and Assemble

  1. Beat Cream Cheese and Butter:ย In the bowl of a stand mixer fitted with the paddle attachment, or in a large bowl with a hand mixer, beat the 16 ounces of softened cream cheese and 1/2 cup of softened butter on medium-high speed until completely smooth, creamy, and free of lumps, about 2-3 minutes. Scrape down the sides and bottom of the bowl as needed.
  2. Add Sugar Gradually:ย With the mixer on low speed, gradually add the 4 cups of sifted powdered sugar, one cup at a time. Wait until each cup is incorporated before adding the next. This prevents a powdered sugar explosion in your kitchen.
  3. Finish the Frosting:ย Once all the sugar is incorporated, add the 1 teaspoon of vanilla extract and 1/4 teaspoon of salt. Increase the mixer speed to medium-high and beat for another 2-3 minutes until the frosting is light, fluffy, and smooth.
  4. Assemble the Cake:ย Place one of the completely cooled cake layers on your serving plate or cake stand. Spread a generous layer of frosting over the top, about 1 to 1.5 cups. Carefully place the second cake layer on top.
  5. Frost the Exterior:ย Apply a thin “crumb coat” of frosting around the top and sides of the cake to trap any loose crumbs. Refrigerate the cake for 20-30 minutes to set the crumb coat. This makes the final layer of frosting much cleaner.
  6. Final Frosting:ย Once the crumb coat is set, frost the top and sides of the cake with the remaining frosting, making smooth or decorative swirls with an offset spatula. Garnish with additional toasted nuts if desired.

Nutrition Facts

  • Servings:ย 12-16 generous slices
  • Calories per serving (approximate):ย 650-800 kcal

Disclaimer: This is a rich, decadent dessert meant to be enjoyed as a special treat. The nutritional information is an estimate and will vary based on the specific ingredients used, the amount of frosting applied, and the final slice size.

Preparation Time

This cake requires several steps, but much of the time is inactive cooling time, which is essential for a perfectly assembled cake.

  • Active Preparation Time:ย 40 minutes (25 minutes for the cake batter, 15 minutes for the frosting)
  • Baking Time:ย 35-45 minutes
  • Inactive Cooling Time:ย 2-3 hours (minimum)
  • Total Time:ย Approximately 3.5 – 4.5 hours

How to Serve

This Vegetarian Carrot Cake with Pineapple is a showstopper on its own, but a few simple touches can enhance the serving experience.

  • The Classic Slice:
    • Serve the cake chilled or at a cool room temperature. Chilling the cake for at least 30 minutes before slicing helps create neat, clean cuts.
    • Use a large, sharp knife, dipping it in hot water and wiping it clean between each slice for professional-looking results.
  • Perfect Garnish Options:
    • Nutty Crunch:ย Decorate the top and bottom edges of the cake with extra toasted and chopped walnuts or pecans.
    • Spiced Dusting:ย A very light sprinkle of ground cinnamon over the top of the frosted cake adds visual appeal and a hint of extra spice.
    • Carrot Curls:ย For a sophisticated touch, use a vegetable peeler to create long, thin curls of carrot to arrange in the center of the cake.
  • Beverage Pairings:
    • Coffee:ย A cup of freshly brewed black coffee or a latte is a classic and perfect pairing, as the slight bitterness of the coffee cuts through the richness of the cake.
    • Tea:ย A robust black tea, such as English Breakfast, or a warmly spiced chai tea beautifully complements the spices in the cake.
    • Milk:ย A simple glass of cold milk is a comforting and classic choice for all ages.
  • Serving for a Crowd:
    • This cake is an excellent choice for holidays like Easter and Thanksgiving, as well as birthdays and potlucks.
    • If you need more servings, the recipe can be baked in a 9×13-inch rectangular pan. The baking time will be similar (start checking around 35 minutes), and you can simply frost the top.

Additional Tips (5 Tips)

  1. Grate Your Own Carrots (Finely!):ย This is the most important tip for a truly moist carrot cake. Bagged, pre-shredded carrots are thicker, drier, and lack the sweetness of freshly grated ones. Use the small shredding side of a box grater. It’s a bit of an arm workout, but the resulting tender texture is more than worth the effort.
  2. Room Temperature is Non-Negotiable:ย For the creamiest, smoothest, lump-free cream cheese frosting, your butter and cream cheeseย mustย be fully at room temperature. Cold ingredients will not emulsify properly, resulting in a clumpy, greasy texture. Take them out of the fridge at least an hour before you plan to make the frosting.
  3. Don’t Squeeze the Pineapple Dry:ย While the recipe calls for “well-drained” crushed pineapple, you don’t want to wring every last drop of moisture out of it. Simply press it against the side of a fine-mesh sieve with a spoon to get rid of the excess juice. The residual moisture left in the pineapple pieces is a key contributor to the cake’s tender crumb.
  4. Embrace the Oil:ย Many cake recipes call for butter, but for carrot cake, oil is king. Butter solidifies when it cools, which can lead to a denser, drier cake once it’s out of the oven. Oil remains liquid at room temperature, which guarantees a supremely moist and tender crumb that stays that way for days.
  5. Patience During Cooling is Paramount:ย It can be tempting to frost the cake as soon as it feels slightly warm to the touch, but this is a recipe for disaster. Even a slightly warm cake will melt the butter and cream cheese in the frosting, causing it to become a soupy, sliding mess. Allow the cake layers to cool on a wire rack until they are 100% at room temperature through and through.

Frequently Asked Questions (FAQ)

1. Can I make this carrot cake vegan?
Yes, with a few substitutions. For the cake, replace the 4 large eggs with 4 “flax eggs” (1 flax egg = 1 tablespoon of ground flaxseed meal mixed with 3 tablespoons of water, let sit for 10-15 minutes to thicken). For the frosting, use a high-quality, dairy-free block-style cream cheese and a firm vegan butter substitute. The results will be very similar and equally delicious.

2. I don’t like nuts. Can I leave them out or substitute them?
Absolutely! The nuts are completely optional. You can simply omit them without changing anything else in the recipe. If you want to add a different texture, you could substitute the nuts with 1 cup of raisins (soak them in hot water for 10 minutes and drain them first to make them plump), shredded coconut, or sunflower seeds.

3. How do I properly store this cake?
Because of the cream cheese frosting, this cake must be stored in the refrigerator. Store it in an airtight cake carrier or cover it loosely with plastic wrap. It will stay fresh and moist for up to 5-6 days. For the best flavor and texture, let a slice sit at room temperature for about 20-30 minutes before serving to take the chill off.

4. Can I bake this recipe in a different-sized pan?
Yes, this recipe is quite versatile. You can bake it in a 9×13-inch rectangular pan for about 35-45 minutes. You can also make about 24 cupcakes; fill the liners two-thirds full and bake for 18-22 minutes, or until a toothpick comes out clean.

5. My cream cheese frosting is too runny. How can I fix it?
Runny frosting is usually caused by using cream cheese from a tub (which has more water) instead of the block style, or by ingredients that were too warm. To fix it, try chilling the frosting in the refrigerator for 30-60 minutes to see if it firms up. If it’s still too thin, you can beat in more sifted powdered sugar, 1/4 cup at a time, until it reaches your desired consistency. Be aware that this will also make the frosting sweeter.

Print
clock clock iconcutlery cutlery iconflag flag iconfolder folder iconinstagram instagram iconpinterest pinterest iconfacebook facebook iconprint print iconsquares squares iconheart heart iconheart solid heart solid icon

Vegetarian Carrot Cake with Pineapple


  • Author: Megan

Ingredients

For the Ultra-Moist Carrot Cake:

  • All-Purpose Flour:ย 2 cups (250g). This provides the essential structure for the cake. Sifting the flour is recommended to ensure a light and tender crumb.

  • Granulated Sugar:ย 1 cup (200g). Provides sweetness and helps to keep the cake moist.

  • Brown Sugar:ย 1 cup (220g), packed. Adds a deeper, molasses-like flavor and contributes significantly to the cake’s moistness. Light or dark brown sugar will work well.

  • Baking Soda:ย 2 teaspoons. This is our primary leavening agent, reacting with the acidic pineapple and brown sugar to help the cake rise and become fluffy.

  • Baking Powder:ย 1 teaspoon. Provides an extra lift, ensuring the cake isn’t too dense.

  • Fine Sea Salt:ย 1 teaspoon. Salt is a crucial flavor enhancer in baking; it balances the sweetness and brings out the warm notes of the spices.

  • Ground Cinnamon:ย 2 teaspoons. The quintessential carrot cake spice, providing warmth and a familiar, comforting aroma.

  • Ground Nutmeg:ย 1/2 teaspoon. Adds a lovely, warm complexity that pairs beautifully with cinnamon.

  • Ground Ginger:ย 1/2 teaspoon. Provides a subtle, spicy kick that brightens the overall flavor profile.

  • Large Eggs:ย 4. These should be at room temperature. Eggs provide structure, richness, and leavening.

  • Neutral Oil:ย 1 1/4 cups (300ml). Use a neutral-flavored oil like canola, vegetable, or grapeseed oil. Oil is the secret to a supremely moist cake that stays tender for days, as it remains liquid at room temperature, unlike butter.

  • Pure Vanilla Extract:ย 2 teaspoons. Enhances all the other flavors in the cake.

  • Finely Grated Carrots:ย 3 cups (about 350g), from 4-5 medium carrots. It’s essential to grate them yourself on the fine side of a box grater. Pre-shredded carrots from the store are often thick and dry, which will negatively impact the cake’s texture.

  • Crushed Pineapple:ย 1 can (8 oz / 227g), well-drained. This is a non-negotiable ingredient for ultimate moisture and a subtle tangy sweetness. Squeeze out as much juice as possible before adding it to the batter.

  • Chopped Walnuts or Pecans:ย 1 cup (115g), toasted (optional, but highly recommended). Toasting the nuts brings out their flavor and adds a delightful crunch.

For the Tangy Cream Cheese Frosting:

  • Full-Fat Block Cream Cheese:ย 16 ounces (450g), two blocks, softened to room temperature. This is critical. Do not use whipped cream cheese or low-fat varieties, as they contain more water and will result in a runny frosting.

  • Unsalted Butter:ย 1/2 cup (113g), softened to room temperature. The butter adds stability and a rich, creamy flavor to the frosting.

  • Powdered Sugar:ย 4 cups (480g), sifted. Sifting is important to prevent a lumpy frosting. You can adjust the amount slightly depending on your desired sweetness.

  • Pure Vanilla Extract:ย 1 teaspoon.

  • Fine Sea Salt:ย 1/4 teaspoon. A pinch of salt balances the sweetness of the sugar and the tang of the cream cheese.


Instructions

Part 1: Prepare and Bake the Carrot Cake

  1. Preheat and Prep:ย Preheat your oven to 350ยฐF (175ยฐC). Grease and flour two 9-inch round cake pans. For extra insurance against sticking, trace the bottom of the pans onto parchment paper, cut out the circles, and place them in the bottom of the greased pans. Then, grease the parchment paper as well.

  2. Toast the Nuts:ย If using, spread the chopped walnuts or pecans on a baking sheet and toast in the preheated oven for 5-7 minutes, or until fragrant. Keep a close eye on them as they can burn quickly. Set aside to cool.

  3. Combine Dry Ingredients:ย In a large bowl, sift or whisk together the 2 cups of all-purpose flour, 2 teaspoons of baking soda, 1 teaspoon of baking powder, 1 teaspoon of salt, 2 teaspoons of cinnamon, 1/2 teaspoon of nutmeg, and 1/2 teaspoon of ginger. Whisking well ensures the leavening agents and spices are evenly distributed.

  4. Combine Wet Ingredients:ย In a separate, very large bowl (this will be your main mixing bowl), whisk together the 1 cup of granulated sugar and 1 cup of packed brown sugar. Add the 4 room-temperature eggs, one at a time, whisking well after each addition until the mixture is smooth.

  5. Add Oil and Vanilla:ย Slowly stream in the 1 1/4 cups of neutral oil while whisking continuously. The mixture will become glossy and emulsified. Whisk in the 2 teaspoons of vanilla extract.

  6. Combine Wet and Dry:ย Pour the dry ingredient mixture into the wet ingredient mixture. Using a spatula, gently fold the ingredients together until just combined. Be careful not to overmix; a few streaks of flour are okay at this stage. Overmixing develops gluten, which can lead to a tough, dense cake.

  7. Fold in the Goodies:ย Add the 3 cups of finely grated carrots, the 1 can of well-drained crushed pineapple, and the 1 cup of cooled, toasted nuts to the batter. Gently fold everything together with the spatula until evenly incorporated. The batter will be thick.

  8. Divide and Bake:ย Evenly divide the batter between your two prepared cake pans. Use a spatula to smooth the tops. Bake in the preheated oven for 35-45 minutes. The cake is done when a wooden skewer or toothpick inserted into the center comes out clean or with a few moist crumbs attached (but no wet batter). The tops should be golden brown and spring back when lightly touched.

  9. Cool Completely:ย This is a crucial step! Let the cakes cool in their pans on a wire rack for 15-20 minutes. Then, carefully run a knife around the edges of the pans and invert the cakes onto the wire rack. Peel off the parchment paper and let them cool completely to room temperature, which can take at least 1-2 hours. Do not attempt to frost a warm cake, or the frosting will melt into a greasy mess.

Part 2: Make the Cream Cheese Frosting and Assemble

  1. Beat Cream Cheese and Butter:ย In the bowl of a stand mixer fitted with the paddle attachment, or in a large bowl with a hand mixer, beat the 16 ounces of softened cream cheese and 1/2 cup of softened butter on medium-high speed until completely smooth, creamy, and free of lumps, about 2-3 minutes. Scrape down the sides and bottom of the bowl as needed.

  2. Add Sugar Gradually:ย With the mixer on low speed, gradually add the 4 cups of sifted powdered sugar, one cup at a time. Wait until each cup is incorporated before adding the next. This prevents a powdered sugar explosion in your kitchen.

  3. Finish the Frosting:ย Once all the sugar is incorporated, add the 1 teaspoon of vanilla extract and 1/4 teaspoon of salt. Increase the mixer speed to medium-high and beat for another 2-3 minutes until the frosting is light, fluffy, and smooth.

  4. Assemble the Cake:ย Place one of the completely cooled cake layers on your serving plate or cake stand. Spread a generous layer of frosting over the top, about 1 to 1.5 cups. Carefully place the second cake layer on top.

  5. Frost the Exterior:ย Apply a thin “crumb coat” of frosting around the top and sides of the cake to trap any loose crumbs. Refrigerate the cake for 20-30 minutes to set the crumb coat. This makes the final layer of frosting much cleaner.

  6. Final Frosting:ย Once the crumb coat is set, frost the top and sides of the cake with the remaining frosting, making smooth or decorative swirls with an offset spatula. Garnish with additional toasted nuts if desired.

Nutrition

  • Serving Size: one normal portion
  • Calories: 650-800