Vegan Carrot Walnut Cake Recipe With Exact Measures
In this article
Vegan carrot and walnut cake is a spiced, moist single-layer or loaf cake where grated carrot stands in for eggs and butter, keeping the crumb tender without any dairy. This version bakes in one 8-inch (20 cm) round pan or a 9x5-inch (23x13 cm) loaf pan and serves about 10. Toast the walnuts first; it is the one step that most improves the flavor.
Ingredients
- 2 cups (250 g) all-purpose flour
- 1 tsp baking soda
- 1 tsp baking powder
- 1 tsp ground cinnamon
- 1/2 tsp ground ginger
- 1/2 tsp fine salt
- 1 cup (200 g) granulated sugar
- 1/2 cup (120 ml) neutral oil, such as refined sunflower or canola
- 3/4 cup (180 ml) unsweetened plant milk (soy, oat, or almond)
- 1 tsp apple cider vinegar
- 1 tsp vanilla extract
- 2 cups (about 220 g) grated carrot, from about 3 medium carrots
- 3/4 cup (85 g) chopped walnuts, plus 2 tbsp for the top
Prep Phase
Toasting and grating
- Heat the oven to 350F/175C and place the rack in the center. Spread 1 cup (115 g) whole walnuts on a baking sheet and toast 7-9 minutes, until they smell nutty and are lightly golden at the edges. Cool 5 minutes, then chop 3/4 cup (85 g) and reserve 2 tbsp for the topping.
- Peel and grate the carrots on the large holes of a box grater until you have 2 packed cups (about 220 g). Do not use pre-shredded carrot strips; they are too dry and too thick to soften fully in the crumb.
- Line the bottom of an 8-inch (20 cm) round pan or 9x5-inch (23x13 cm) loaf pan with parchment and grease the sides.
Dry and wet mixing
- Whisk the flour, baking soda, baking powder, cinnamon, ginger, and salt in a large bowl until no lumps remain.
- In a second bowl, whisk the sugar, oil, plant milk, vinegar, and vanilla for 30 seconds until the sugar is partly dissolved and the mixture looks creamy. Let it sit 2 minutes so the vinegar slightly thickens the plant milk; this reacts with the baking soda for lift.
- Pour the wet mixture into the dry and stir with a spatula just until no dry streaks remain, about 20 strokes. Overmixing makes the crumb dense.
- Fold in the grated carrot and the 3/4 cup chopped walnuts with 3-4 strokes, distributing without extra mixing.
Baking
- Scrape the batter into the pan and level the top. Tap the pan once on the counter to release large air pockets.
- Bake at 350F/175C for 40-50 minutes for a round pan, or 55-65 minutes for a loaf, until the top is deep golden, the edges pull slightly from the pan, and a wooden skewer in the center comes out with a few moist crumbs but no wet batter.
- Cool in the pan on a wire rack for 15 minutes, then turn the cake out and cool completely, about 1 hour more, before frosting or slicing. The crumb firms as it cools; slicing warm makes it crumble.
Finishing and Serving
For a vegan cream cheese-style frosting, beat 1/2 cup (115 g) refined coconut oil (solid) with 4 oz (115 g) vegan cream cheese alternative, 2 cups (240 g) sifted powdered sugar, and 1 tsp vanilla for 2-3 minutes until fluffy. Spread it only on a fully cooled cake, or it will slide. Press the reserved 2 tbsp walnuts onto the top. Without frosting, dust the cake with powdered sugar and serve in wedges; it also works as a tea cake sliced thick. One 8-inch round cut into 10 wedges gives about 10 servings.
Substitutions
| Swap | Ratio | What changes |
|---|---|---|
| Whole wheat flour | Replace up to half the flour, 1:1 | Nuttier flavor, slightly denser crumb; add 2 tbsp extra plant milk |
| Brown sugar | 1:1 for granulated | Moister crumb, mild molasses note |
| Applesauce for oil | Replace up to half the oil, 1:1 | Lower fat, softer and stickier crumb |
| Pecans or hazelnuts | 1:1 for walnuts | Sweeter, milder nut flavor; toast the same way |
| Nut-free | Same weight in raisins or sunflower seeds | Seeds toast in 5-6 minutes; watch closely |
| Gluten-free blend | 1:1 blend with xanthan gum | Check the blend is certified gluten-free; crumb is slightly gummy when warm |
Storage Times
Unfrosted cake keeps about 3 days at room temperature under a cake dome or in an airtight container, and 5-7 days refrigerated. Because this cake has no eggs or dairy, the unfrosted version is the rare layer cake that holds well on the counter; the frosting is the perishable part. Once frosted with the vegan cream cheese-style topping, refrigerate within 2 hours and eat within 3-4 days. Freeze unfrosted or frosted slices wrapped tightly in plastic and placed in a freezer bag for up to 3 months; thaw at room temperature for 1-2 hours or in the fridge overnight. Do not leave frosted cake out longer than 2 hours, or 1 hour if the room is above 90F/32C.
Doneness and Fixes
The cue is a skewer with moist crumbs, not a clean one; a clean skewer usually means the cake is overbaked and will be dry by the next day. If the top browns before the center sets, tent it loosely with foil after 35 minutes. If the center sinks, the most likely cause is underbaking or expired baking soda; test soda by dropping 1/4 tsp into hot water; it should fizz vigorously. If the crumb is greasy, the oil was not fully emulsified into the batter before the flour went in; whisk the wet ingredients longer next time. Raw flour and raw batter should not be tasted, since flour can carry bacteria; the cake is safe once baked to a set, skewer-tested crumb.
Scaling the Cake
For a two-layer 8-inch cake, double every ingredient and split the batter between two greased and lined 8-inch pans; bake 32-40 minutes at the same temperature, checking at 32. For cupcakes, use the single recipe and fill 12 liners two-thirds full; bake 20-24 minutes, until domed and a skewer comes out with moist crumbs. A doubled recipe needs about 4 cups (500 g) grated carrot, roughly 5-6 medium carrots. Scaling beyond double is not reliable in a home mixer; bake two single batches instead.