Vegan Carrot Cake
Rich and moist vegan carrot cake topped with a tangy buttercream frosting. A show-stopping cake with rave reviews!
I make this cake every Spring, and it’s the only carrot cake recipe I’ll use. It’s so delicious!
Remember those incredible carrot cake cupcakes that I shared a few weeks ago? Well, here’s the cake version! Just as moist and delicious, but in vegan carrot cake form.
Why I love this recipe
I made this vegan carrot cake for my husband’s birthday, and then a few days later, it was requested for my son’s half-birthday. Yes, it’s that good.
As with most things I bake, testing rounds were also shared with several friends and neighbors to rave reviews. Much like my 5-star-rated carrot cake cupcakes, this cake is a winner!
It’s also vegan, which is great if you want a dairy-free cake, but the best part is that no one will know it’s vegan– you are just using dairy-free subs for the frosting!
And isn’t that the goal of any vegan baked good? No need to say that it’s such, just let it be delicious and show everyone how incredible vegan baked goods can be.

Ingredient Notes
There are only three dairy-free subs that you are making compared to a regular carrot cake. The first is using oat milk over cow’s milk.
I like oat milk in baking because it has a higher carbohydrate content and, therefore, gets a nice golden color to the cakes. Almond milk will create a paler cake. You can sub use soy milk if desired, I just think oat milk makes for the best taste and color.
To tenderize the gluten for a tender cake, you’ll also make a DIY buttermilk by combining the milk with vinegar for a few minutes before adding to the rest of the ingredients.
To make the vegan cream cheese frosting, you’ll need dairy-free butter and cream cheese. I tested this vegan carrot cake recipe using Earth Balance and Violife brands for the butter and cream cheese, respectively.
If you’ve ever tried dairy-free options, then you know the taste can vary widely between brands. I recommend trying the cream cheese before trying in this recipe if using something other than Violife. If you like the taste, you will like it in this frosting recipe!

Step-by-Step Directions with Photos
Step 1: Make the Buttermilk + Wet Ingredients
Combine oatmilk and the apple cider vinegar to make the buttermilk and set aside. This is key for a tender, moist cake. I let the mixture sit for about 5 minutes while I mix the dry. Then, combine with the rest of the wet ingredients: oil, vanilla and orange zest.

Step 2: Whisk together the dry ingredients
Combine all dry ingredients in a large bowl: flour, sugars, baking powder, baking soda, spices, salt.

Step 3: Fold Together and Add the Carrots
Add the wet ingredients to the dry, then mix together until just combined, taking care not to overmix. Fold in the shredded carrots and finely chopped walnuts. Freshly shredded carrots are a must for flavor and texture in this carrot cake. I use a box grater to make grating the carrots easier.

Step 4: Bake
Divide into two 8-inch baking pans and bake until a toothpick comes out clean. I like to line my round baking pans with parchment paper for ease of removing. Let cool completely before frosting.

Step 5: Add a Crumb Coat
Thinly layer the frosting onto the cake to make a crumb coat. A crumb coat is a very thin layer of icing used to keep the cake’s crumb down and seal in the cake’s moisture.

Step 6: Add the rest of the frosting
Add the rest of the frosting and finish frosting this carrot cake. Smooth the icing as much as possible, I use an offset spatula but a frosting knife or even a butter knife will work.

How to Frost a Cake
Now it’s time to ice the rest of the cake. The key to a beautiful buttercream frosting is doing a crumb coat first. A crumb coat is a very thin layer of icing used to keep the crumb of the cake down and seal in the cake’s moisture.
A crumb coat is like a primer for the frosting paint. Use an offset spatula or frosting knife to spread a thin layer of frosting over your cake. The crumb coat will be thin enough that you can still see the cake through it.
Smooth the icing as best as possible, then let dry until the crust forms or feels dry to the touch. Once the crumb coat forms and drys, it’s time to add the rest of the frosting. I love this cake as a beautiful birthday cake!
Expert Tips for Success
Make sure to use freshly grated carrots for this carrot cake for best results. I use a box grater to grate them. Preshredded carrots won’t work the same way.
I tested this recipe using Oatly oat milk, Earth Balance butter, and Violife cream cheese, all of which are dairy-free options. Other brands will likely work, but for best results, I recommend using the brands verified and tested for success.

Frequently Asked Questions
How do I ensure this cake is moist?
This vegan carrot cake is incredibly moist as it uses oil instead of butter and freshly grated carrots (which release moisture during baking). The other key is not overmixing the batter and not overbaking.
Can I prepare the batter ahead of time?
I don’t recommend making the batter beforehand, as the leavening agents will start working immediately. However, you can make the cake ahead of time and place it in the fridge or freeze it until ready to use. You can also mix the dry and wet ingredients separately and combine them when ready to bake.
Why did my cake sink in the middle?
A sunken middle typically happens when the cake is underbaked, the oven door was opened too early during baking, or there was too much leavening agent. Make sure to test for doneness with a toothpick or skewer before removing from the oven, preheat your oven properly, and measure baking soda/powder accurately. Also, avoid overmixing the batter which can create too many air bubbles that collapse during baking.
More Cake Recipes
- Vegan Chocolate Cake
- Almond Cake with Strawberries
- Vegan Coffee Cake
- Orange Olive Oil Cake
- Chocolate Olive Oil Cake
If you try this vegan carrot cake, make sure to come back to leave a rating and a comment. Your feedback helps other readers and seeing you make my recipes makes my day!

Vegan Carrot Cake

Equipment
- 8-inch cake pan
Ingredients
Carrot Cake
- 1 cup oat milk*
- 1 tablespoon apple cider vinegar
- 2 1/2 cups all-purpose flour
- 1/2 cup sugar
- 1/2 cup brown sugar
- 3 teaspoons baking powder
- 2 teaspoons baking soda
- 1 tablespoon ground cinnamon
- 1 teaspoon ground nutmeg
- 1/2 teaspoon ground ginger
- 1/2 teaspoon salt
- 1/2 cup vegetable oil
- 1 tablespoon vanilla extract
- 1 tablespoon fresh orange zest
- 2 cups grated carrots, about 4 medium carrots
- 1 cup very finely chopped walnuts
Cream Cheese Frosting
- 8 ounces dairy-free butter, room temperature
- 8 ounces dairy-free cream cheese, room temperature
- 1 cup powdered sugar
- 1 tablespoon vanilla extract
Instructions
- Preheat oven to 350 degrees F. Lightly spray two 8-inch pans with cooking spray and line with parchment paper, if desired, and set aside.
- Combine the milk and apple cider vinegar in a medium bowl and set aside. This creates a buttermilk and makes for incredibly moist cupcakes; don't skip it!
- In a large bowl, whisk together the flour, sugars, baking powder, baking soda, spices, and salt.
- Add the oil, vanilla, and orange zest to the bowl with the milk and vinegar. Fold the wet ingredients into the dry and combine them, taking care not to overmix.
- Fold in the carrots and walnuts until just combined. Divide half the batter into each of the prepared pans.
- Place in the oven and bake for 25 minutes or until a toothpick comes out clean. Remove and let cool completely on a cooling rack.
- When the cakes are completely cool, it's time to frost! Combine the butter and cream cheese in a stand mixer using a paddle attachment until light in color and airy, about 5 minutes. Add in the powdered sugar and vanilla and whip another minute until light and cream.
- To frost, spread a thick mixture of frosting on the bottom of a cake layer then carefully place the other layer on top. Frost a thin layer of frosting to create a crumb layer (notes on how-to in the blog post above) then let dry completely and frost the cake with the remainder of the frosting.