Vegan Carrot Cake with Crushed Pineapple and Walnuts Recipe
Introduction
This Vegan Carrot Cake with Crushed Pineapple and Walnuts is a moist, flavorful treat perfect for any occasion. It’s naturally sweetened and topped with a creamy cashew cream cheese frosting that everyone will love.

Ingredients
- 2 ¼ cups all purpose flour (white whole wheat or spelt flour also works)
- 2 teaspoons baking powder
- 1 teaspoon baking soda
- 2 teaspoons ground cinnamon
- ½ teaspoon ground nutmeg
- ¼ teaspoon ground ginger
- ½ teaspoon Himalayan pink salt
- 1 cup crushed pineapple, drained
- 1 teaspoon pure vanilla extract
- 1 tablespoon apple cider vinegar
- ¾ cup coconut sugar or brown sugar
- ¼ cup pure maple syrup
- ½ cup coconut oil, melted
- 1 ½ cups unsweetened almond milk
- 2 cups finely shredded carrots
- ½ cup walnuts, chopped (plus more for garnish)
- For the Cashew Cream Cheese Frosting:
- 2 cups raw cashews, soaked 2-3 hours or overnight
- 2 tablespoons fresh lemon juice
- 2 teaspoons pure vanilla extract
- ¾ cup organic powdered sugar, or to taste
- ⅛ teaspoon Himalayan pink salt
- ¼ cup non-dairy milk (unsweetened almond milk recommended), plus more as needed
- ¼ cup coconut oil, melted
Instructions
- Step 1: Preheat your oven to 350°F. Line two 9-inch cake pans with parchment paper circles or lightly spray with cooking spray and set aside.
- Step 2: In a medium bowl, whisk together the flour, baking powder, baking soda, cinnamon, nutmeg, ginger, and salt until combined.
- Step 3: In a large bowl, whisk the crushed pineapple, vanilla extract, apple cider vinegar, coconut sugar, maple syrup, melted coconut oil, and almond milk.
- Step 4: Stir the dry ingredients into the wet mixture just until incorporated. Then fold in the shredded carrots and chopped walnuts. The batter will be thick but still pourable.
- Step 5: Divide the batter evenly between the prepared cake pans. Bake for 35 to 40 minutes, or until a toothpick inserted into the center comes out clean.
- Step 6: Let the cakes cool in the pans on a wire rack for at least 10 minutes, then turn them out onto the wire rack to cool completely.
- Step 7: For the frosting, add the soaked cashews, lemon juice, vanilla, powdered sugar, and salt to a food processor. With it running, slowly pour in the non-dairy milk followed by the melted coconut oil. Process until smooth, scraping down the sides as needed. Add more milk 1 tablespoon at a time to reach a silky consistency.
- Step 8: Transfer the frosting to an airtight container and chill in the fridge for several hours to firm up.
- Step 9: Once the cakes are fully cooled and the frosting is thickened, place one cake upside down so the flat side is up. Spread a thin layer of frosting on top. Stack the second cake and frost the entire cake. If the frosting is too firm, let it soften at room temperature before spreading.
- Step 10: Garnish the cake with additional chopped walnuts. Store leftovers in an airtight container in the fridge.
Tips & Variations
- Line cake pans with parchment paper circles to make removing the cakes easier and prevent sticking.
- Use white whole wheat or spelt flour for a nuttier flavor and slightly different texture.
- For a sweeter frosting, adjust the powdered sugar to taste.
- Swap walnuts for pecans if preferred, or add raisins for extra sweetness.
Storage
Store leftover cake in an airtight container in the refrigerator to keep the frosting firm. Allow the cake to come to room temperature before serving for the best texture and flavor. The cake will keep well for about 4-5 days refrigerated.
How to Serve

Serve this delicious recipe with your favorite sides.
FAQs
Can I make this carrot cake gluten-free?
This recipe uses all-purpose flour, but you can try substituting a gluten-free flour blend that is suitable for baking. Adjustments might be needed for texture and moisture.
Do I have to soak the cashews overnight for the frosting?
Soaking the cashews for at least 2-3 hours softens them for a smoother frosting, but overnight soaking works best. If short on time, soak them in very hot water for 1 hour as an alternative.
PrintVegan Carrot Cake with Crushed Pineapple and Walnuts Recipe
This Vegan Carrot Cake features moist and spiced layers made with shredded carrots, crushed pineapple, and walnuts for texture. It’s naturally sweetened with coconut sugar and maple syrup, and topped with a creamy, dairy-free cashew cream cheese frosting. Perfectly tender and flavorful, this cake is a delicious plant-based dessert that suits vegan and dairy-free diets.
- Prep Time: 20 minutes
- Cook Time: 35-40 minutes
- Total Time: 1 hour 10 minutes
- Yield: 8–10 servings 1x
- Category: Dessert
- Method: Baking
- Cuisine: American
- Diet: Vegan
Ingredients
For the Carrot Cake
- 2 ¼ cups all purpose flour (white, whole wheat or spelt flour can also be used)
- 2 teaspoons baking powder
- 1 teaspoon baking soda
- 2 teaspoons ground cinnamon
- ½ teaspoon ground nutmeg
- ¼ teaspoon ground ginger
- ½ teaspoon Himalayan pink salt
- 1 cup crushed pineapple, drained
- 1 teaspoon pure vanilla extract
- 1 tablespoon apple cider vinegar
- ¾ cup coconut sugar or brown sugar
- ¼ cup pure maple syrup
- ½ cup coconut oil, melted
- 1 ½ cups unsweetened almond milk
- 2 cups finely shredded carrots
- ½ cup walnuts, chopped (plus more for garnish)
For the Cashew Cream Cheese Frosting
- 2 cups raw cashews, soaked 2-3 hours or overnight
- 2 tablespoons fresh lemon juice
- 2 teaspoons pure vanilla extract
- ¾ cup organic powdered sugar (adjust to taste)
- ⅛ teaspoon Himalayan pink salt
- ¼ cup non-dairy milk (unsweetened almond milk recommended), plus more as needed
- ¼ cup coconut oil, melted
Instructions
- Preheat and Prepare Pans: Preheat your oven to 350°F (175°C). Line two 9-inch cake pans with parchment paper circles or lightly spray with cooking spray to prevent sticking. Set aside.
- Mix Dry Ingredients: In a medium bowl, whisk together the all-purpose flour, baking powder, baking soda, ground cinnamon, nutmeg, ground ginger, and Himalayan pink salt until combined.
- Mix Wet Ingredients: In a large mixing bowl, whisk crushed pineapple, pure vanilla extract, apple cider vinegar, coconut sugar, pure maple syrup, melted coconut oil, and unsweetened almond milk until well blended.
- Combine Wet and Dry: Pour the dry ingredients into the wet ingredients and gently stir just until combined, being careful not to overmix to keep the cake tender.
- Add Carrots and Walnuts: Fold in the finely shredded carrots and chopped walnuts into the batter. The batter will be thick but still pourable.
- Bake the Cakes: Evenly divide the batter between the prepared cake pans. Bake in the preheated oven for 35 to 40 minutes, or until a toothpick inserted in the center comes out clean.
- Cool the Cakes: Let cakes cool in the pans on a wire rack for at least 10 minutes. Then turn the cakes out onto the wire rack to cool completely.
- Prepare the Frosting: Drain the soaked cashews. In a food processor, combine cashews, fresh lemon juice, vanilla extract, powdered sugar, and Himalayan pink salt. With the processor running, slowly add the non-dairy milk through the top spout, followed by the melted coconut oil. Process until the frosting is perfectly smooth and creamy, stopping to scrape down the sides as needed. Add more non-dairy milk one tablespoon at a time if needed to achieve a silky texture.
- Chill Frosting: Transfer the frosting to an airtight container and refrigerate for several hours to thicken.
- Assemble the Cake: Once cakes are fully cooled and frosting is firm, invert the cakes so the flat, even sides are on top for clean layering. Spread a thin layer of frosting on one cake layer, stack the other cake on top, then frost the entire cake evenly. If frosting is too firm from the fridge, let it soften slightly at room temperature before spreading.
- Garnish and Store: Garnish the frosted cake with additional chopped walnuts. Store leftover cake in an airtight container in the refrigerator; let it return to room temperature before serving for best texture.
Notes
- Line cake pans with parchment paper circles to ensure the cakes release easily after baking.
- Soak cashews for at least 2-3 hours or overnight to achieve a creamy, smooth frosting texture.
- Allow frosting to chill sufficiently before assembling for easier spreading.
- Let refrigerated cake come to room temperature before serving to enhance flavor and texture.
Keywords: vegan carrot cake, dairy-free carrot cake, cashew frosting, plant-based dessert, healthy carrot cake, vegan dessert, nutty carrot cake

