Eggless Carrot Cake
This eggless carrot cake is moist, warmly spiced, and loaded with shredded carrot. A flax egg and yogurt do the work that eggs normally would, so the crumb stays soft for days.

It comes together in one bowl, bakes up in a loaf pan, and gets topped with a quick cream cheese frosting. You can slice it warm for a snack or dress it up for dessert.
Why This Eggless Carrot Cake Works
Yogurt brings the moisture and a slight tang, while the flax egg gives structure without any hint of a dense, rubbery crumb. Brown sugar and cinnamon carry the flavor, so you won’t notice the missing eggs at all.
The cake stays tender on the counter for a couple of days and still tastes fresh from the fridge. It’s the kind of bake that feels right on a Sunday afternoon but holds up just as well on a weekday morning with coffee.
Ingredients

- 1 flax egg: 1 tbsp ground flaxseed whisked with 3 tbsp water, set for 5 minutes
- 1½ cups all-purpose flour: spoon and level it, don’t scoop straight from the bag
- 1 tsp baking powder
- ½ tsp baking soda
- ½ tsp fine sea salt
- 1½ tsp ground cinnamon
- ¼ tsp ground nutmeg
- ½ cup packed brown sugar
- ¼ cup granulated sugar
- ½ cup vegetable oil: canola or sunflower both work
- ½ cup plain yogurt: use full-fat for the richest texture
- 1 tsp vanilla extract
- 1½ cups peeled and finely grated carrot: about 3 medium carrots
- ½ cup chopped walnuts: plus a few extra for the top
- ¼ cup raisins: optional, but they add little bursts of sweetness
- For the frosting: 4 oz cream cheese, softened; 2 tbsp unsalted butter, softened; 1 cup powdered sugar; ½ tsp vanilla extract
Variations / Substitutions
- Make it vegan: use a dairy-free yogurt and a vegan cream cheese block for the frosting. The flax egg is already egg-free.
- Skip the nuts: swap the walnuts for pumpkin seeds or just leave them out. The cake will still be nicely spiced.
- Swap the raisins: dried cranberries or chopped dried apricots work, or add a handful of unsweetened shredded coconut instead.
- Gluten-free option: a 1-to-1 all-purpose gluten-free flour blend replaces the flour cup for cup. The texture stays tender.
- Play with the spice: add ½ tsp ground ginger or a pinch of cardamom if you like a little extra warmth.
If you want a fully plant-based dessert that’s even simpler, our Vegan Banana Bread is a good one to try next.
How To Make Eggless Carrot Cake
Step 1: Mix the Dry Ingredients

Preheat the oven to 350°F (180°C) and grease a 9×5-inch loaf pan, then line it with a strip of parchment so the overhang acts like handles. In a large bowl, whisk together the 1½ cups flour, 1 tsp baking powder, ½ tsp baking soda, ½ tsp salt, 1½ tsp cinnamon, and ¼ tsp nutmeg until no lumps remain.
The cinnamon hits your nose right away, which is a good sign. Set the bowl aside while you put together the wet mixture.
Step 2: Whisk the Wet Ingredients

In a separate bowl or a large measuring jug, whisk the prepared flax egg, ½ cup oil, ½ cup brown sugar, ¼ cup granulated sugar, ½ cup yogurt, and 1 tsp vanilla until the mixture is smooth and slightly thickened, about 1 minute. The sugars won’t fully dissolve yet, but the texture should look uniform and glossy.
The yogurt and oil come together into a pale, pourable base that feels a little richer than a typical cake batter at this stage. That extra fat is what keeps the finished cake from drying out.
Step 3: Fold in the Carrots and Nuts

Pour the wet mixture into the dry ingredients and fold gently with a spatula just until the flour disappears. Add the 1½ cups grated carrot, ½ cup walnuts, and ¼ cup raisins, then fold a few more times, about 30 seconds total, until the carrots are evenly distributed. The batter will be thick and speckled with orange strands.
Stop as soon as everything comes together. Overmixing at this point tightens the crumb, so a few streaks of flour are safer than a perfectly smooth batter.
Step 4: Bake the Cake

Scrape the batter into the prepared pan and smooth the top. Bake for 40 to 45 minutes, until a toothpick inserted in the centre comes out with just a few moist crumbs sticking to it. If the top browns too quickly around the 30-minute mark, tent the pan loosely with foil.
The kitchen will fill with a warm, spiced smell that tells you the cake is nearly done, but trust the toothpick more than the aroma. Let the cake cool in the pan for 10 minutes, then lift it out by the parchment and transfer it to a rack to cool completely.
Step 5: Frost and Slice the Loaf

While the cake cools, beat the 4 oz cream cheese and 2 tbsp butter together until smooth, then beat in 1 cup powdered sugar and ½ tsp vanilla until fluffy. Once the loaf is fully cool, spread the frosting over the top in thick, messy swoops and scatter over a few extra walnut pieces if you like.
Slice the cake right away, or let the frosting set for 10 minutes so it holds its shape. Serve at room temperature, and any leftover slices can go straight into a container.
Tips for a Perfect Eggless Carrot Cake
- Line the pan with parchment even if you grease it. The overhang makes lifting the loaf out much easier, and the edges won’t stick.
- Grate the carrots on the fine holes of a box grater. Coarse shreds don’t soften fully inside the batter and leave crunchy bits.
- If your loaf pan is dark metal, check for doneness 5 minutes early, as dark pans bake faster.
- Let the cake cool completely before you frost it. Even a hint of warmth will melt the cream cheese and turn the topping runny.
- This cake slices cleanest with a serrated bread knife, especially if you’ve added nuts and raisins.
Bake times by pan:
| Pan type and size | Bake time at 350°F (180°C) |
|---|---|
| 9×5-inch loaf pan (this recipe) | 40 to 45 mins |
| 8-inch round cake pan | 30 to 35 mins |
| 12-cup muffin tray (filled ¾ full) | 18 to 22 mins |
Storing Leftover Carrot Cake
Keep the frosted cake covered in the fridge for up to 5 days. The cream cheese softens a bit in the cold but firms up again after a few minutes at room temperature. If you want to warm a slice slightly, 10 seconds in the microwave is all you need.
Unfrosted cake can stay on the counter in an airtight container for 2 days, or freeze the whole loaf (wrapped in plastic then foil) for up to a month. Thaw it overnight in the fridge and frost just before serving.
Frequently Asked Questions
Can I make this cake completely vegan?
Yes. Use a thick dairy-free yogurt and swap the cream cheese and butter in the frosting for vegan block alternatives. The rest of the recipe is already egg- and dairy-free.
Why did my cake sink in the middle?
It likely needed a few more minutes in the oven. An underbaked centre collapses as it cools. Next time, bake until the toothpick comes out with only moist crumbs, not wet batter.
Do I have to peel the carrots?
Not if you scrub them well. Unpeeled carrots work fine here, and they save you time, but be sure to grate them finely so the skin bits aren’t chewy.
Can I use a cream cheese frosting from a tub?
It will work in a pinch, but tub frostings are usually softer and can slide off the loaf. You can stir in an extra spoonful of powdered sugar to stiffen it a little.

Eggless Carrot Cake Recipe
Ingredients
Method
- Preheat oven to 350°F (180°C), grease a 9×5-inch loaf pan, and line with parchment. Whisk flour, baking powder, baking soda, salt, cinnamon, and nutmeg.
- In a separate bowl, whisk the flax egg, oil, both sugars, yogurt, and vanilla until smooth.
- Fold the wet mixture into the dry ingredients, then fold in the carrots, walnuts, and raisins just until combined.
- Pour batter into the pan, smooth the top, and bake for 40 to 45 minutes until a toothpick comes out with moist crumbs. Cool 10 minutes in the pan, then transfer to a rack to cool completely.
- Beat cream cheese, butter, powdered sugar, and vanilla until fluffy. Spread over the cooled loaf, slice, and serve.
