Everything that comes out of my kitchen is dairy-free, but for my family, at special events, I like to bake things that are as “normal” as possible. To do so, I often peruse the recipes that grandma clips from the newspaper or dog-ears in her favorite magazine, Taste of Home. Though I’m not completely sure of the original source, this dairy-free carrot cake recipe was born from one that I found at my grandma’s house.
My grandma, father, and I are big carrot cake fans, and it took just a few minor tweaks to develop a dairy-free carrot cake recipe that we all loved. I surprised her with a big slice of it for her 6th 75th birthday (you do the math).

Carrot Cake Frosting Tips
I topped it off with the dairy-free cream cheese frosting recipe that I created for Allergic Living magazine, but this recipe is also quite delicious. To maintain the thickness of the frosting, start with just 1 cup of powdered sugar and only add as much as needed for your tastes. I find that adding the full amount can make it a touch runny, depending on the brand of dairy-free cream cheese alternative.
Vegan & Egg-Free Carrot Cake Suggestions
If you can use eggs in this recipe, do! The results are superior with eggs. If you need an egg-free option, I have a full egg substitute guide to help out. The options I recommend trying are a powdered egg replacer or aquafaba. Avoid alternatives that are too moist and heavy, like applesauce and flax eggs. The cake might not set up if you use an egg option with density but not structure.
Gluten-Free, Dairy-Free Carrot Cake Suggestions
Because carrot cake is so moist, I recommend using a flour blend that doesn’t contain any gums. Gums can get, well, gummy in moist recipes. But I do recommend keeping the eggs, and not using an egg replacer, if you are trying this recipe without gluten. The carrot cake recipe I created for Allergic Living used a basic gluten-free flour blend of 2 cups brown rice flour, 2/3 cup potato starch, and 1/3 cup tapioca starch. I have not tested that specific blend in this recipe.
Quick Tip
Note that I do grate the carrots for this dairy-free carrot cake recipe by hand, which can be time consuming. If you have a food processor to help make fast work of the carrots, this cake will come to together quite quickly.

Special Diet Notes: Grandma’s Best Dairy-Free Carrot Cake
By ingredients, this recipe is dairy-free / non-dairy, nut-free, peanut-free, soy-free, and vegetarian. For an egg-free and vegan carrot cake, see my tips above.

Grandma’s Best Dairy-Free Carrot Cake
Ingredients
Method
- Combine the grated carrots and brown sugar in a medium bowl and set aside for an hour. After the two have had some good mingling time, stir in the raisins.
- Preheat your oven to 350ºF, and grease and flour two 10-inch cake pans, three 8-inch cake pans, or two 8-inch cake pans +8 cupcake tins.
- In a medium bowl, combine the flour, baking soda, salt, cinnamon, and nutmeg, and briefly set aside. In a large mixing bowl, beat the eggs, and gradually beat in the white sugar, oil and vanilla. Stir in the pineapple. Stir the flour mix into the wet mixture, being careful not to over mix. Gently fold in the carrot mixture and nuts.
- Pour the batter evenly into your prepared pans. Bake as follows: 10-inch pans – 40-50 minutes, 8-inch pans – 30-35 minutes, Cupcakes – 20-22 minutes, or for all, until the cakes are springy to the touch and a toothpick inserted into the center comes out clean.
- Place the pans on a wire rack to cool for 10-20 minutes before removing them from the pan.
- Once the cake is completely cool, then you can frost it or drizzle with icing.
165 Comments
Hello! I try to avoid vegetable oil and don’t have any grapeseed oil. Do you think it will still taste good with coconut oil or olive oil? Thanks!
Your favorite baking oil should work fine, but I do have a couple of notes on these two oils. For olive oil, I would personally use extra-light (not extra virgin) olive oil, which has a neutral taste and is optimal for baking. If you don’t want any coconut flavor, you can use refined coconut oil. But whether you use refined or unrefined coconut oil, you need to be very careful about the temperature of your batter. All ingredients must be room temperature, including the carrots, or the coconut oil will clump or bead up. You don’t want that with this type of cake.
Is it possible to omit the pineapple in this recipe? My mother is allergic to pineapple!
Yes, it should still work well without the pineapple.
Carrot cake is my partner’s favourite and I’ve never been much of a fan but this one changed my opinion! I made it for his birthday and we both loved it so much I made a second one a week later and have requested him to make it for my birthday too. Freezes really well which is a big bonus!
That’s wonderful Clara! Thank you for sharing this feedback. I’m so glad it is celebration worthy for you!
Soooo yummy and probably user error but the middle I could not get to cook at all, even double the time spent in the oven. I’m a novice baker so like I said probably user error lol.
Do you have any idea what could have gone wrong for me? When you mix the carrot and the sugar, it macerated with lots of liquid, do you add that too?
How much do you fill your baking tin?
Is your oven also fan assisted?
The taste really is sublime. I’m hoping that I can perfect it. 🙂
Hi Laura, here are some things that could have gone wrong:
Pan Size – You asked about pan depth, which makes me a little concerned you didn’t use one of the specific pan sizes called for. If your batter was too deep, this could be the problem.
Altitude – Do you live above 3000 feet?
Leavener – Baking soda can go bad. Put some in a dish and add a little vinegar. It should vigorously fizz and bubble immediately. If it doesn’t, get fresh baking soda.
Pineapple – Did you fully drain it?
Carrots – Did you grate them by hand? If done in a food processor, they can become more mushed than grated (depending on the machine), which releases more liquid.
Oven Temperature – Do you use an oven thermometer? There is a good chance the actual temperature in your oven was too low. This can happen if the thermostat is off or if you open the oven during baking.
Pan – Make sure to use metal cake pans. Glass pans insulate and can cause an undercooked middle.
I hope that helps!
I hand-grated the carrots and after sitting w/the brown sugar, it created about a cup and a half of liquid. I was spooked by the comment above, so I drained the carrots. My cake turned out a little dry. I suspect 1 1/2 cups of liquid would have been too much, but to omit it all was a mistake. Overall wonderful recipe and especially loved the frosting. I used lactose free cream cheese and butter, because in my case it didn’t need to be vegan.
I’m glad it still worked out for you Mary! We haven’t had an issue using all of the carrots with juice, but I don’t pack the carrots. If you do pack the carrots, that could cause a little excess liquid.
Can I make without raisins
Yes, you can make this carrot cake without raisins.
I’ve used this recipe for YEARS, probably since you first posted, and I wanna say everyone LOVES it every time I make it! I’ve substituted eggs with apple sauce for my vegan friends, and it’s turned out great! I’ve even substituted the oil with apple sauce, and it’s worked perfectly! I will be substituting the white sugar today with Agave (never done it before) and see how it turns out… which I’m sure will be just fine! 😀
Also wanted to say, when I’m on a time crunch, I’ve not soaked the carrots in the brown sugar for that long, and it still turns out great!
Thank you again for this recipe!
I’m so glad to hear this Jenny! I hope the agave version worked out well too! That’s not something I’ve tested with this recipe.
This is an amazing recipe. I made it for a friend that is dairy free now I use this recipe the whole time and it’s a hit everytime.
How in advance can you make the sponge? Or can it be made & buttercreamed and stored in the fridge? & for how long?
Thank you x
Because it has so much moisture, I wouldn’t make it more than two days in advance. I prefer to frost within a few hours of serving, but if it is a dense frosting (one that gets firm when refrigerated), it should hold up well when refrigerated.
Hi there, wondering if I can make the cake a couple days ahead? How do I store it without it going dry? Thanks!
It will actually probably get more moist as it sits. You will definitely want to cover and refrigerate it. If you can I would just make it a day in advance, but it should keep for a couple days. Also wait to frost it until the day you are serving.