If there’s one cake that always steals the show, it’s a classic carrot cake. And this Vegan Carrot Cake is hands down the best I’ve ever made; perfectly moist, warmly spiced with cinnamon and nutmeg, studded with crunchy walnuts, and crowned with the most dreamy, tangy lemon buttercream frosting. It’s the kind of dessert that has everyone reaching for seconds, and absolutely no one guessing it’s completely dairy free and egg free.
What makes this carrot cake truly special is its incredible texture. Thanks to freshly grated carrots that release their natural moisture into the batter, every bite is tender, rich, and perfectly soft without being dense or gummy. The warm spices wrap around the sweet carrot flavor beautifully, while the lemon buttercream adds a bright, citrusy finish that cuts through the richness in the most delightful way. Whether you’re baking for Easter, a birthday, or simply a cozy weekend treat, this cake delivers on every level.
Let’s preheat those ovens and bake something truly special.
Why You’ll Love This Recipe
- Perfectly Moist & Tender: Freshly grated carrots are the secret to this cake’s incredible, bakery style texture. Every slice is soft, tender, and absolutely luscious.
- Warmly Spiced: A generous blend of cinnamon and nutmeg infuses the cake with that classic, comforting aroma that fills your entire kitchen.
- Tangy Lemon Buttercream: The bright, citrusy frosting is the perfect counterpoint to the sweet, spiced cake. It’s silky, spreadable, and impossibly delicious.
- Easy Pantry Ingredients: No fancy egg replacers needed; simple flax eggs and everyday baking staples come together in one bowl.
- Versatile & Adaptable: Make it as a two layer cake, a sheet cake, or even cupcakes. Gluten free and nut free options are included.
The Secret to the Perfect Vegan Carrot Cake Texture
Over the years, I’ve learned that the key to an exceptional carrot cake lies in two things: freshly grated carrots and a little patience. First, please don’t reach for pre shredded carrots from a bag. Those have dried out considerably and won’t release the moisture this batter needs. Instead, grab a box grater or your food processor and grate whole, fresh carrots right before you begin. This ensures they’re packed with natural moisture that releases into the batter as it rests.
Speaking of resting; here’s my best tip. When you first mix the batter, you might panic a little. It will look thick, almost too dry, and you’ll wonder if you missed a liquid ingredient. Don’t worry! Simply step away from the bowl for two minutes. When you come back, those freshly grated carrots will have worked their magic, releasing enough moisture to bring everything together into a thick, scoopable batter. This little moment of patience is what creates that ultra moist crumb we’re after.
Why Lemon Buttercream is a Game Changer
Traditional carrot cake is often paired with cream cheese frosting, and while that’s undeniably delicious, I’m completely smitten with this lemon buttercream. It’s lighter, brighter, and the citrus notes dance so beautifully with the warm spices in the cake. Made with vegan butter, powdered sugar, a splash of apple cider vinegar for tang, and fresh lemon juice, it whips up into a silky, cloud like frosting that spreads like a dream.
The trick to perfect buttercream consistency is adding the lemon juice gradually. Start with two tablespoons and increase the mixer speed. If it’s too thick, add the third tablespoon just a drop at a time until you reach that perfectly spreadable, swoopable texture. The result is a frosting that holds its shape on the cake but melts creamily on your tongue.
Serving and Decorating Ideas
This cake is stunning in its simplicity. I love to do a rustic swoop of frosting on the top and sides, then finish with a generous ring of chopped walnuts around the top edge. For a more polished look, use an offset spatula to create swirls and peaks in the frosting. A few delicate carrot curls made with a vegetable peeler make a gorgeous natural garnish.
For special occasions, consider adding a sprinkle of edible flowers, a light dusting of cinnamon, or even some candied lemon slices for a pop of color. This cake pairs beautifully with a hot cup of coffee, chai tea, or a tall glass of oat milk.
Frequently Asked Questions
Can I make this recipe gluten free?
Absolutely. Simply substitute the all purpose flour with a high quality gluten free all purpose flour blend. All other ingredients remain the same, and the cake turns out beautifully moist.
Can I use a different type of nut?
Yes! While walnuts are classic in carrot cake, chopped pecans are an excellent alternative. If you have a nut allergy, you can omit the nuts entirely; the cake will still be wonderfully moist and delicious.
How do I adapt this for different pan sizes?
This recipe is wonderfully flexible. For two 7 inch or 8 inch round cake pans, bake for 30 minutes. For a three layer 6 inch cake, bake for about 25 minutes. A 9×9 inch square sheet cake needs about 35 minutes, and a 9×13 inch sheet cake takes about 25 minutes. You can also make 12 to 18 cupcakes; start checking for doneness around 20 minutes.
How should I store this carrot cake?
Keep the frosted cake covered at room temperature for 3 to 4 days, or in the refrigerator for up to a week. The cake actually gets even more moist and flavorful after a day. For longer storage, the unfrosted cake layers can be frozen for up to 3 months. Thaw completely before frosting.
Can I make the frosting ahead of time?
Yes, the lemon buttercream can be made a day or two in advance. Store it in a covered container in the refrigerator, then let it come to room temperature and give it a quick whip before spreading.

Vegan Carrot Cake with Lemon Buttercream Frosting
Ingredients
For the Carrot Cake
- 2 cups all purpose flour 250g
- 1 teaspoon baking powder
- 1 teaspoon baking soda
- 1/2 teaspoon salt
- 2 teaspoons ground cinnamon
- 1 teaspoon ground nutmeg
- 1 1/2 cups light brown sugar 300g
- 2 1/3 cups freshly grated carrot 255g, lightly packed
- 2 flax eggs 2 tablespoons ground flaxseed meal + 6 tablespoons water
- 1/2 cup canola oil or vegetable oil 120ml
- 1 teaspoon vanilla extract
- 1 tablespoon apple cider vinegar
- 1 cup chopped walnuts 100g, optional
For the Lemon Buttercream Frosting
- 4 cups powdered sugar 480g
- 1/2 cup vegan butter 112g, softened
- 1 teaspoon vanilla extract
- 1 teaspoon apple cider vinegar
- 2 to 3 tablespoons fresh lemon juice
For Decoration
- Chopped walnuts
Instructions
- Preheat and Prepare PansPreheat the oven to 350 degrees Fahrenheit (180 degrees Celsius). Spray two 7 inch or two 8 inch round cake pans with non-stick spray and line the bottoms with circles of parchment paper.
- Mix the Dry IngredientsSift the all purpose flour into a large mixing bowl. Add the baking powder, baking soda, salt, cinnamon, and nutmeg. Whisk together until well combined.
- Add Sugar and CarrotsAdd the light brown sugar and freshly grated carrot to the mixing bowl with the dry ingredients.
- Prepare the Flax EggsIn a small bowl, combine 2 tablespoons of ground flaxseed meal with 6 tablespoons of hot water. Stir and let it sit for a minute until it becomes thick and gloopy.
- Combine the BatterAdd the flax eggs, canola oil, vanilla extract, apple cider vinegar, and chopped walnuts (if using) to the mixing bowl. Mix everything together. The batter will seem very thick and dry at first. If this happens, step away from the bowl for 2 minutes to allow the carrots to release their moisture. When you return and mix again, it will come together into a thick, scoopable batter.
- Divide and BakeDivide the batter evenly between the two prepared cake pans, smoothing the tops with a spatula. Bake for 30 minutes, or until a toothpick inserted into the center of one of the cakes comes out clean.
- Cool the CakesAllow the cakes to cool in the pans for a few minutes, then carefully transfer them to a wire cooling rack to cool completely before frosting.
- Prepare the FrostingWhile the cakes cool, make the frosting. Add the powdered sugar, softened vegan butter, vanilla extract, apple cider vinegar, and 2 tablespoons of fresh lemon juice to the bowl of a stand mixer fitted with the paddle attachment. Start mixing on low speed, gradually increasing to high speed, until the frosting is thick and smooth. If the frosting is too thick, add the remaining tablespoon of lemon juice a few drops at a time, only as much as needed to reach a spreadable consistency.
- Frost and DecorateOnce the cakes are completely cool, place one layer on a serving plate or cake stand. Spread a generous amount of frosting on top. Place the second cake layer on top and frost the top and sides. Decorate the top with a ring of chopped walnuts.
- Serve and StoreSlice and serve. Store leftovers covered at room temperature for 3 to 4 days, or in the refrigerator for up to a week.
Notes
- Flour Measurement: For best results, weigh the flour using a food scale. If you don't have one, use the spoon and level method: spoon the flour into your measuring cup, then level it off with a knife. Do not scoop or pack the flour.
- Freshly Grated Carrots: You must use freshly grated carrots. Pre shredded carrots from a bag are too dry and will not release enough moisture for the batter.
- Patience with the Batter: The batter will look very dry when first mixed. Step away for 2 minutes to let the carrots release moisture, then mix again. It will come together into a thick batter; trust the process.
- Pan Size Adaptations: For 6 inch pans, make a 3 layer cake and bake for about 25 minutes. For a 9x9 inch square sheet cake, bake for 35 minutes. For a 9x13 inch sheet cake, bake for 25 minutes. For cupcakes, this recipe makes 12 to 18; start checking at 20 minutes.
- Gluten Free Option: Substitute the all purpose flour with a gluten free all purpose flour blend.
- Nut Free Option: Omit the walnuts entirely. The cake will still be moist and delicious.
- Freezing: The unfrosted cake layers can be frozen for up to 3 months. Wrap them tightly in plastic wrap and then foil. Thaw completely before frosting.















