Easy Appetizers

Simple appetizers, snacks and home cooking answers

Sweet Potato Chocolate Cake Vegan and Gluten-Free

· 7 min read · Baking and Desserts

In this article
  1. Balance the Flour Blend for Proper Structure
  2. Prepare the Sweet Potato Base
  3. Combine Ingredients and Bake the Cake
  4. Ingredients
  5. Instructions
  6. Prevent the Cake from Sinking or Staying Gooey
  7. Adjust the Recipe for Different Pan Sizes
  8. Store the Cake Safely
  9. Sweet Potato Cake Substitutions

This chocolate cake uses mashed sweet potato to provide moisture and structure without eggs or dairy. It has a dense, fudge-like texture and a deep cocoa flavor, making it a good choice for a potluck or a weekend treat. Because it lacks gluten and animal proteins, it relies on a blend of flours and a specific leavening balance to avoid becoming too gummy.

Balance the Flour Blend for Proper Structure

Using a single gluten-free flour often results in a cake that is either too gritty or too fragile. A combination of almond flour and a gluten-free all-purpose blend (containing xanthan gum) provides the best balance of protein and starch. Almond flour adds a moist, nutty crumb that mimics the fat found in traditional cakes, while the starch blend ensures the cake holds its shape when sliced. If your gluten-free blend does not list xanthan gum on the label, add 1/2 teaspoon (2 g) to the dry ingredients to prevent the cake from crumbling.

The ratio of wet to dry ingredients is critical in vegan gluten-free baking. Sweet potato puree is heavy and contains significant water, which can weigh down the batter. To counteract this, use a high-quality cocoa powder that is processed for baking. The cocoa powder acts as a drying agent and a flavor enhancer. When measuring the flour, spoon it into the cup and level it off with a knife rather than scooping directly from the bag, which packs the flour and can lead to a dry, heavy cake.

Prepare the Sweet Potato Base

The consistency of the sweet potato puree determines the final texture of the cake. Steam or bake the sweet potato until it is completely soft, then mash it or process it in a food processor until it is entirely smooth with no lumps. If the puree is too chunky, the cake will have uneven pockets of moisture and may not rise consistently. For a standard 8-inch (20 cm) cake, you will need about 1 cup (240 g) of puree.

Ensure the puree is at room temperature before mixing it with other wet ingredients. Adding cold puree to melted coconut oil or room-temperature maple syrup can cause the fats to seize or the sugars to clump, resulting in an uneven batter. If you are using canned sweet potato puree, check the label to ensure there are no added sugars or salt, as these will alter the flavor profile of the chocolate cake.

Combine Ingredients and Bake the Cake

Mix the wet ingredients first to create an emulsion before adding the dry powders. This ensures the leavening agents, like baking soda, are evenly distributed and react immediately upon hitting the heat of the oven. Stir the batter only until the flour streaks disappear; over-mixing gluten-free batter can sometimes incorporate too much air, leading to a cake that rises quickly and then collapses in the center.

Bake the cake at 350°F (175°C) for 35-45 minutes. Check for doneness by inserting a toothpick into the center; it should come out clean or with just a few moist crumbs attached. Because this cake is very moist due to the sweet potato, the center may feel slightly softer than a traditional sponge cake. Avoid over-baking, as gluten-free flours can dry out quickly once they pass the point of doneness, turning the fudge-like texture into something sandy.

Serves 8 · Prep 20 min · Cook 40 min · Total 1 hr

Ingredients

  • 1 cup (240 g) smooth sweet potato puree, room temperature
  • 1/2 cup (120 ml) maple syrup or agave nectar
  • 1/3 cup (80 ml) melted coconut oil or neutral oil
  • 1 teaspoon (5 ml) vanilla extract
  • 1 cup (120 g) almond flour
  • 1 cup (140 g) gluten-free all-purpose flour blend (check label for xanthan gum)
  • 1/2 cup (45 g) unsweetened cocoa powder
  • 1 teaspoon (5 g) baking soda
  • 1/2 teaspoon (3 g) salt
  • 1/2 cup (120 ml) warm water or unsweetened almond milk

Instructions

  1. Preheat the oven to 350°F (175°C). Grease an 8-inch (20 cm) round cake pan and line the bottom with parchment paper to prevent sticking.
  2. In a large bowl, whisk together the sweet potato puree, maple syrup, melted coconut oil, and vanilla extract until the mixture is smooth and combined.
  3. In a separate medium bowl, sift together the almond flour, gluten-free all-purpose flour, cocoa powder, baking soda, and salt. Sifting is necessary to remove lumps from the almond flour and cocoa powder.
  4. Gradually stir the dry ingredients into the wet ingredients using a spatula.
  5. Pour in the warm water or almond milk and stir until the batter is glossy and smooth.
  6. Pour the batter into the prepared pan and smooth the top with a spatula.
  7. Bake for 35-45 minutes, or until a toothpick inserted into the center comes out clean or with a few moist crumbs.
  8. Remove from the oven and let the cake cool in the pan for 20 minutes.
  9. Carefully invert the cake onto a wire rack to cool completely before frosting or slicing.

Prevent the Cake from Sinking or Staying Gooey

The most common issue with this cake is a raw or gooey center despite the edges being cooked. This usually happens if the oven temperature is too high or if the sweet potato puree was too watery. If the cake is not setting, bake it for an additional 5-10 minutes. To avoid this, ensure your oven is fully preheated and use an oven thermometer to verify the temperature is exactly 350°F (175°C). If you use a deeper pan, such as a 2-inch deep pan instead of a 1.5-inch pan, the baking time will increase by about 10-15 minutes.

Another common error is skipping the cooling period. Gluten-free and vegan cakes rely on the starch and fats to set as they cool. Slicing the cake while it is still hot can cause the structure to collapse, leaving you with a dense, gummy mass. Let the cake cool for at least 2 hours before removing it from the pan or adding frosting. This allows the moisture from the sweet potato to redistribute and the crumb to firm up.

Adjust the Recipe for Different Pan Sizes

When changing the pan size, you must adjust the baking time to ensure the center cooks through without burning the edges. For a 9-inch (23 cm) pan, the batter will be thinner, and the cake will typically bake faster, usually in 30-35 minutes. For a 6-inch (15 cm) pan, the cake will be much thicker and may require 45-55 minutes at 350°F (175°C). Always use the toothpick test rather than relying solely on the timer.

If you want to make cupcakes, divide the batter among 12 lined cupcake tins. Bake at 350°F (175°C) for 20-25 minutes. Cupcakes have more surface area exposed to heat, so they cook significantly faster than a whole cake. Check them at the 20-minute mark to ensure they do not dry out. A worked example for a double batch would require 2 cups (480 g) of sweet potato puree and 2 cups (280 g) of gluten-free flour blend, baked in two 8-inch pans for the same duration of 35-45 minutes.

Store the Cake Safely

Because of the high moisture content from the sweet potato, this cake is more perishable than a standard flour-and-butter cake. Store the cake in an airtight container in the refrigerator. It will stay fresh for about 3-5 days. To serve, let a slice sit at room temperature for 15-20 minutes or warm it briefly in the microwave for 10-15 seconds to soften the coconut oil and improve the texture.

For longer storage, wrap individual slices in parchment paper and place them in a freezer-safe bag. The cake keeps well in the freezer for up to 3 months. Thaw a slice in the refrigerator overnight or at room temperature for 2 hours before eating. If reheating a frozen slice in the oven, do so at 300°F (150°C) for 5-10 minutes to avoid drying out the exterior while the center is still cold.

Sweet Potato Cake Substitutions

If you do not have almond flour, you can substitute it with an equal weight of sunflower seed flour or more of the gluten-free all-purpose blend, though the cake will be slightly less moist. For the sweetener, coconut sugar can replace maple syrup in a 1:1 ratio by volume, but this will result in a slightly grainier texture and a more caramel-like flavor. If you prefer a lighter cake, replace the coconut oil with an equal amount of unsweetened applesauce, though this will make the cake softer and more like a pudding.

To change the flavor profile, add 1 teaspoon (5 g) of ground cinnamon or 1/2 teaspoon (2 g) of ground nutmeg to the dry ingredients. This complements the sweet potato and creates a warmer, spiced chocolate taste. If you want a richer chocolate flavor, use Dutch-processed cocoa powder instead of natural cocoa powder, but be aware that Dutch-processed cocoa is less acidic and may require an extra 1/4 teaspoon (1 g) of baking soda to achieve the same lift.