Skip to main content
Zimt

Home baking recipes and cinnamon favourites

How to Make Avocado Cake from Scratch – Easy Moist Recipe

Making an avocado cake from scratch gives you a moist, buttery crumb with a subtle green hue and a healthy twist on traditional butter‑rich cakes. The ripe avocado replaces much of the butter, adding natural creaminess, healthy fats, and a tender texture while keeping the flavor mild enough to pair with vanilla, chocolate, or citrus. This guide walks you through every step – from selecting the perfect avocados to baking, cooling, and storing the finished cake – so you can achieve consistent, bakery‑level results in your own kitchen.

What You'll Need

  • 2 large ripe Hass avocados (about 1 ½ cups mashed)
  • 1 ½ cups (190 g) all‑purpose flour
  • ¾ cup (150 g) granulated sugar
  • ¼ cup (55 g) packed light brown sugar
  • ½ cup (120 ml) whole milk, at room temperature
  • ¼ cup (60 ml) vegetable oil or melted neutral‑flavor oil
  • 3 large eggs, pasteurized or fully cooked, at room temperature
  • 2 teaspoons baking powder
  • ½ teaspoon baking soda
  • ¼ teaspoon salt
  • 1 ½ teaspoons pure vanilla extract
  • Optional: zest of one lemon or orange, ½ cup (80 g) chocolate chips, or ¼ cup (30 g) chopped nuts
  • 9‑inch (23 cm) round or square cake pan, greased and lined with parchment
  • Mixing bowls, hand mixer or stand mixer, rubber spatula, measuring cups and spoons, cooling rack

Step‑By‑Step

Start by preparing the avocados and dry ingredients while the oven preheats. This timing ensures the batter stays at a consistent temperature, which is critical for even leavening. Use a sharp knife to cut the avocados in half, remove the pits, and scoop the flesh into a bowl. Mash until completely smooth, adding a splash of milk if needed to eliminate lumps. In a separate bowl, whisk together flour, baking powder, baking soda, and salt; this aerates the flour and prevents clumping, giving the cake a light crumb.

  1. Preheat the oven to 350 °F (175 °C). Place the rack in the center of the oven.
  2. In a large mixing bowl, combine the mashed avocado, granulated sugar, and brown sugar. Beat with a hand mixer on medium speed for 2‑3 minutes, until the mixture is pale and fluffy.
  3. Add the eggs one at a time, beating well after each addition. This incorporates air and creates a stable emulsion that helps the cake rise.
  4. Stir in the vanilla extract and the milk, mixing just until incorporated. Over‑mixing at this stage can develop gluten, resulting in a dense cake.
  5. Gradually add the dry‑ingredient mixture to the wet mixture, folding with a rubber spatula. Stop mixing when no streaks of flour remain.
  6. If using optional lemon zest, chocolate chips, or nuts, fold them in now, distributing evenly throughout the batter.
  7. Pour the batter into the prepared pan, smoothing the top with the spatula. Tap the pan lightly on the counter to release any trapped air bubbles.
  8. Bake for 30‑35 minutes, or until a toothpick inserted into the center comes out clean and the top is golden‑brown. The internal temperature should reach at least 200 °F (93 °C).
  9. Allow the cake to cool in the pan for 10 minutes, then invert onto a wire rack to cool completely before frosting or serving.

While the cake cools, you can prepare a simple glaze or frosting if desired—cream cheese frosting, a light lemon glaze, or even a dusting of powdered sugar work beautifully. Once the cake is fully cooled, spread the frosting evenly, then slice with a serrated knife for clean cuts. Store any leftovers in an airtight container at room temperature for up to two days, or refrigerate for up to four days to maintain moisture. For longer storage, wrap tightly and freeze for up to two months; thaw in the refrigerator before serving.

Common Mistakes

One frequent error is using underripe avocados, which are firmer and less buttery, resulting in a dry, crumbly texture. Always test avocados by gently pressing the skin; they should yield slightly under pressure. Another mistake is over‑mixing the batter after adding the flour, which can develop gluten and make the cake tough. Mix only until the flour disappears. Additionally, neglecting to preheat the oven or opening the door too often during baking can cause the cake to collapse or bake unevenly.

Using regular eggs that have not been pasteurized can pose a food‑safety risk, especially if the batter is under‑cooked. Ensure the cake reaches the recommended internal temperature of 200 °F (93 °C) to eliminate any potential pathogens. Finally, forgetting to grease and line the pan can lead to a stuck cake, making it difficult to remove without breaking the crumb.

Tips

For an extra‑moist crumb, replace half of the milk with buttermilk or add a tablespoon of plain yogurt; the acidity reacts with the baking soda to create lift. If you prefer a sweeter cake, increase the granulated sugar by ¼ cup, but keep the brown sugar ratio to retain moisture. To enhance the avocado flavor without overwhelming the palate, add a pinch of sea salt or a splash of lime juice to the batter.

When frosting, consider a light cream cheese frosting flavored with a bit of orange zest; the tang pairs beautifully with the avocado’s richness. For a decorative finish, sprinkle toasted coconut flakes or sliced almonds on top before the frosting sets. Finally, let the cake rest for at least an hour after frosting; this allows the flavors to meld and the crumb to settle.

Troubleshooting

If the cake is dense or does not rise, check that your baking powder and baking soda are fresh (they lose potency after about six months). Also verify that the avocados were fully ripe; firmer fruit provides less moisture and fat. If the top cracks or browns too quickly, lower the oven temperature by 15 °F (about 10 °C) and tent the cake with foil for the last 10 minutes of baking.

Should the cake turn out dry, it may have been over‑baked. Use a digital thermometer to monitor the internal temperature; remove the cake as soon as it hits 200 °F (93 °C). If the crumb is crumbly, it could be due to insufficient liquid; add an extra tablespoon of milk or a splash of orange juice next time. For a gummy or under‑cooked center, increase the baking time by 5‑10 minutes and test again with a toothpick.

Frequently Asked Questions

Can I use frozen avocados?

Yes, thaw frozen avocados completely and drain any excess liquid before mashing. The texture may be slightly softer, but the flavor remains unchanged.

Is it safe to eat the batter raw?

No. Raw batter contains raw eggs and flour, which can harbor bacteria. Always bake the cake until it reaches the recommended internal temperature.

Can I substitute gluten‑free flour?

Absolutely. Use a 1‑to‑1 gluten‑free all‑purpose blend that contains xanthan gum, or add ¼ teaspoon xanthan gum per cup of flour to maintain structure.

How long does the cake stay fresh?

At room temperature, keep it covered for up to two days. Refrigerated, it stays moist for four days. For longer storage, freeze tightly wrapped for up to two months.

What variations work well?

Chocolate avocado cake (add cocoa powder and chocolate chips), citrus‑zest avocado cake, or a spiced version with cinnamon and nutmeg are popular variations.

Do I need a toothpick to test doneness?

A toothpick or cake tester should come out clean, and the internal temperature should read at least 200 °F (93 °C). Both methods confirm the cake is fully baked.

Read next