Dinners

Vegan Chocolate Avocado Cake Recipe

Updated · By Stir & Share

Total timeprep + cook
50 min
Prep
15 min
hands-on
Cook
35 min
oven or stovetop
Serves
8
as written

Save

This vegan chocolate avocado cake is a moist, deeply chocolatey single-layer cake that gets its fat and tenderness from ripe avocado instead of butter or eggs. The crumb is soft and slightly dense, closer to a brownie-cake than a light sponge, and the flavour is pure cocoa with no avocado taste once it bakes. It suits a weeknight bake, a lunchbox slice or a potluck dessert, and it comes together in one bowl with a whisk.

Vegan Chocolate Avocado Cake Ingredients

  • 1 large ripe avocado, about 1 cup (150 g) mashed flesh
  • 1 cup (240 ml) unsweetened plant milk, such as soy or oat
  • 1 tbsp (15 ml) white or apple cider vinegar
  • 1 cup (200 g) granulated sugar
  • 1/3 cup (80 ml) neutral oil, such as sunflower or canola
  • 1 tsp (5 ml) vanilla extract
  • 1 1/2 cups (190 g) all-purpose flour
  • 1/2 cup (45 g) unsweetened cocoa powder
  • 1 tsp (4 g) baking soda
  • 1/2 tsp (3 g) fine salt
  • 1/2 cup (85 g) vegan dark chocolate chips, optional

Instructions

  1. Prep the oven and pan (5 min): Heat the oven to 350°F (175°C). Grease an 8-inch (20 cm) round cake pan or line the base with parchment. A 9-inch (23 cm) pan also works and gives a slightly thinner cake that bakes a few minutes faster.
  2. Sour the milk (5 min): Stir the vinegar into the plant milk and set aside for 5 minutes. It will look slightly curdled; that is what makes the cake rise along with the baking soda.
  3. Mash the avocado (3 min): Mash the avocado in a large bowl until no lumps remain. A few small specks are fine, but large chunks leave green pockets in the crumb.
  4. Mix the wet ingredients (2 min): Whisk the sugar, oil and vanilla into the avocado, then whisk in the soured milk. The mixture should be smooth and pourable.
  5. Add the dry ingredients (3 min): Sift in the flour, cocoa, baking soda and salt. Fold with a spatula until just combined, then stir in the chocolate chips. Stop as soon as no dry flour shows; overmixing makes the cake tough.
  6. Bake (30-35 min): Scrape into the pan and smooth the top. Bake at 350°F (175°C) for 30-35 minutes, until the centre springs back when pressed and a skewer inserted in the middle comes out with a few moist crumbs, not wet batter. The internal temperature of a fully baked cake is about 200-210°F (93-99°C) if you check with a thermometer.
  7. Cool (15 min): Leave in the pan for 10 minutes, then turn out onto a rack to cool completely before slicing, about 15 minutes more.

Avocado Swaps and What Changes

Avocado is doing two jobs here: fat for tenderness and moisture for a soft crumb. If you swap it, expect a different texture.

  • Unsweetened applesauce: use 1 cup (245 g) in place of the avocado. The cake is lighter and a little sweeter, and it can taste slightly fruity against the cocoa.
  • Plain vegan yogurt: use 1 cup (245 g). The crumb is denser and tangier, closer to a sour cream chocolate cake.
  • Mashed banana: use 1 cup (225 g). Banana flavour comes through clearly, so it reads as a chocolate-banana cake.
  • Oil only: use 1/2 cup (120 ml) oil and add 2 tbsp (30 ml) extra plant milk. The cake is moister but less sturdy and can crumble at the edges.
  • Gluten-free: replace the all-purpose flour with a 1:1 gluten-free baking blend plus 1/2 tsp xanthan gum if the blend does not include it. The cake is more fragile and bakes 5 minutes faster.
  • Cocoa: Dutch-process cocoa gives a darker colour and milder flavour; natural cocoa gives a sharper chocolate taste. Both work with the baking soda in this recipe.

Doneness Cues and Fixes

A chocolate cake hides browning, so rely on touch and a skewer rather than colour. Press the centre lightly with a fingertip: it should spring back and feel firm, not leave an indentation. A skewer should come out with a few moist crumbs; wet batter means another 5 minutes. If the top darkens too fast, tent it loosely with foil and keep baking.

If the cake sinks in the middle after cooling, it was underbaked or the batter was overmixed. If it is dry and crumbly, it baked too long or the avocado was underripe and low in fat. If it tastes bitter, the cocoa was old or the baking soda was not mixed evenly; sift the dry ingredients next time. A gummy layer at the bottom usually means the oven ran cool, so check with an oven thermometer.

Let the cake cool completely before slicing. Warm cake tears and the crumb compresses, so a 15-minute rest on the rack matters as much as the bake.

Frosting, Serving and Storage

The cake is rich enough plain, but a simple chocolate ganache makes it party-ready. Warm 1/2 cup (120 ml) plant milk and pour it over 4 oz (115 g) chopped vegan dark chocolate; stir until smooth and spread over the cooled cake. For a lighter finish, dust with cocoa or serve with fresh raspberries.

Cut into 8 wedges and serve at room temperature. Store leftovers in an airtight container in the fridge for up to 4 days; bring a slice to room temperature for 20 minutes before eating, since cold cake tastes firmer and less sweet. The unfrosted cake freezes well for up to 3 months: wrap each wedge in parchment, then in foil, and thaw overnight in the fridge. Frosted cake also freezes but the ganache may weep slightly on thawing.

Refrigerate within 2 hours of baking or serving. Do not leave a cut cake with ganache at room temperature overnight.

Avocado Cake Questions Answered

Can the avocado be underripe or overripe?

Use an avocado that yields to gentle pressure, like one you would eat on toast. Underripe avocado stays lumpy and gives a drier cake; overripe, brown-fleshed avocado tastes bitter and can make the crumb dense. If the only avocado you have is firm, ripen it in a paper bag with a banana for a day or two.

Does the cake taste of avocado?

No. Cocoa is strong enough to mask it, and the avocado is only 1 cup in a full cake. The colour stays brown, not green, because the cocoa dominates.

Can this be made as cupcakes or a layer cake?

Yes. For cupcakes, fill liners two-thirds full and bake at 350°F (175°C) for 18-22 minutes, until the tops spring back. For a two-layer cake, divide the batter between two 8-inch (20 cm) pans and bake for 25-30 minutes; the layers are thinner, so check earlier. Double the ganache if you frost between the layers.

Is the batter safe to taste raw?

No. Raw flour can carry harmful bacteria, so keep the batter away from the spoon. If you want to taste for sweetness, heat-treat the flour first: spread it on a tray and bake at 160°F (71°C) for 5-10 minutes, then cool completely before using it in any no-bake mixture. This cake contains no eggs, but the raw-flour caution still applies.

Why did my cake crack on top?

A domed, cracked top usually means the oven ran hot or the pan was too small, so the batter set at the edges before the centre caught up. Use the pan size in the recipe, check the oven temperature, and tap the filled pan on the counter once to release large air bubbles before baking.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).