The Fudgiest Sweet Potato Chocolate Cake
This sweet potato chocolate cake is ridiculously moist and deeply chocolatey, and you’d never guess there’s a whole cup of sweet potato in the batter.

It comes together in one bowl, bakes up with a tender crumb, and somehow tastes even better the next day.
Why I Keep Coming Back to This Cake
The crumb is so fudgy it practically sticks to the fork, but it still slices cleanly. That soft, dense texture comes straight from the sweet potato, which just melts into the batter.
I love that it doesn’t need a mixer or any fancy steps. You stir everything together, pour it into a pan, and thirty minutes later you have a chocolate cake that tastes like it came from a bakery.
Ingredients

- 1 cup mashed sweet potato: from 1 medium sweet potato, roasted or steamed and cooled
- 1/2 cup neutral oil: vegetable, canola, or melted coconut oil
- 3/4 cup granulated sugar: adds sweetness and structure
- 1/4 cup packed light brown sugar: for moisture and a subtle caramel note
- 2 large eggs: at room temperature
- 1 teaspoon vanilla extract
- 1 1/2 cups all-purpose flour: spooned and leveled
- 1/2 cup unsweetened cocoa powder: natural or Dutch-process
- 1 teaspoon baking soda
- 1/2 teaspoon fine sea salt
- 1/2 cup semi-sweet chocolate chips: plus more for the top
Variations / Substitutions
- Swap the sweet potato for pumpkin puree: for a more earthy, slightly less sweet cake.
- Use melted butter instead of oil: for a richer flavor, though the cake will be less tender.
- Add 1 teaspoon instant espresso powder: it deepens the chocolate flavor without any coffee taste.
- Use white chocolate chips: for a sweeter, creamier contrast.
- Make it gluten-free: replace the flour with a 1:1 gluten-free baking blend.
If you like hidden-veggie bakes, our Chocolate Zucchini Bread is another favorite.
How to Make Sweet Potato Chocolate Cake
Step 1: Mix the Wet Ingredients

Preheat your oven to 350°F (180°C) and grease an 8-inch square baking pan, lining it with parchment if you want easy lifting. In a large bowl, whisk together the 1 cup mashed sweet potato, 1/2 cup oil, 3/4 cup granulated sugar, and 1/4 cup brown sugar until smooth. Add the 2 eggs and 1 teaspoon vanilla, then whisk again until everything looks glossy and combined.
The mixture will be thick and a little grainy from the sugar, but that’s fine. As you stir, it will darken slightly and smell sweet and earthy.
Step 2: Fold in the Dry Ingredients

Place a sieve over the bowl and add the 1 1/2 cups flour, 1/2 cup cocoa powder, 1 teaspoon baking soda, and 1/2 teaspoon salt. Sift them right into the wet mixture. Using a rubber spatula, gently fold the dry ingredients into the wet until you see no more white streaks. Then stir in the 1/2 cup chocolate chips.
Stop mixing as soon as the flour disappears. Overworking the batter can make the cake tough, and we want that fudgy, brownie-like texture.
Step 3: Bake the Cake

Scrape the batter into your prepared pan and smooth the top. Sprinkle extra chocolate chips over the surface if you like. Bake on the middle rack for 30 to 35 minutes, until a toothpick inserted in the center comes out with a few moist crumbs clinging to it.
The kitchen will start smelling like a bakery at about the 20-minute mark. Don’t worry if the top cracks a little as it rises. That’s normal, and the crack will settle back as the cake cools.
Step 4: Slice and Serve

Let the cake cool in the pan for 10 minutes, then lift it out onto a rack and cool completely before slicing. Use a sharp serrated knife and wipe it between cuts for the cleanest slices.
This cake is even more fudgy the next day, so it’s a great make-ahead dessert. A dusting of powdered sugar or a scoop of vanilla ice cream never hurts either.
A Few Tips Before You Bake
- Roast the sweet potato instead of boiling it. Roasting concentrates the sugars and removes extra water, giving you a richer flavor and a thicker puree.
- Don’t overmix once the flour goes in. Stop as soon as the streaks vanish, or the cake can turn out rubbery.
- Check for doneness early. Ovens run differently, and overbaking is the quickest way to lose that fudgy texture. If the toothpick has moist crumbs, pull it out.
- Let the cake cool completely before slicing so the crumb can set. If you cut into it warm, the slices will smush.
Bake times by pan size:
| Pan Size | Bake Time |
|---|---|
| 8×8-inch square pan | 30 to 35 minutes |
| 9-inch round pan | 25 to 30 minutes |
| 9×5-inch loaf pan | 50 to 55 minutes |
How to Store the Cake
- Refrigerate: Cover the cake tightly and refrigerate for up to 5 days.
- Reheating: Warm individual slices in the microwave for 15 seconds to get that just-baked fudginess back.
- Serve cold: It’s delicious straight from the fridge, almost like a traybake.
Frequently Asked Questions
Can I use canned sweet potato puree?
Yes, just make sure it’s 100% sweet potato with no added sugar or syrup.
Can I make this cake vegan?
Swap the eggs for flax eggs (2 tablespoons ground flaxseed mixed with 5 tablespoons water) and use dairy-free chocolate chips. The oil already makes it egg-free friendly.
Does it taste like sweet potato?
Not at all. The chocolate and cocoa mask the flavor completely; all you taste is deep, rich chocolate.
Why did my cake sink in the middle?
This cake is very moist, so a slight dip as it cools is normal. To minimize it, make sure your baking soda is fresh and avoid opening the oven door early.

Sweet Potato Chocolate Cake Recipe
Ingredients
Method
- Preheat oven to 350°F (180°C). Grease an 8-inch square pan. In a large bowl, whisk the sweet potato, oil, both sugars, eggs, and vanilla until smooth.
- Sift the flour, cocoa, baking soda, and salt over the wet mixture. Fold until just combined, then stir in the chocolate chips.
- Pour the batter into the pan, sprinkle top with extra chocolate chips if desired, and bake 30 to 35 minutes, until a toothpick has moist crumbs.
- Cool in the pan 10 minutes, transfer to a rack, and cool completely before slicing.
