This glazed sweet potato cake is a moist, spiced loaf with a rich, creamy glaze that soaks into the crumb. It's a great way to use leftover roasted sweet potatoes, and the natural sweetness means you can cut back on refined sugar. Before you start, make sure you have about 1½ cups of mashed sweet potato (from roughly 2 medium sweet potatoes) and that all your ingredients are at room temperature for the best texture.
What You'll Need
- 2 medium sweet potatoes (to yield 1½ cups mashed)
- 1½ cups (190g) all-purpose flour
- 1 teaspoon baking powder
- ½ teaspoon baking soda
- 1 teaspoon ground cinnamon
- ½ teaspoon ground nutmeg
- ¼ teaspoon salt
- ½ cup (1 stick / 113g) unsalted butter, softened
- ¾ cup (150g) granulated sugar
- 2 large eggs, at room temperature
- 1 teaspoon vanilla extract
- ½ cup (120ml) buttermilk (or ½ cup milk + 1½ teaspoons lemon juice, left 5 minutes)
- For the glaze: 1 cup (120g) powdered sugar, 2–3 tablespoons milk or cream, ½ teaspoon vanilla extract
Step-by-Step
- Prepare the sweet potatoes: Preheat your oven to 400°F (200°C). Pierce the sweet potatoes with a fork, place them on a baking sheet, and roast for 45–60 minutes, until very soft. Let them cool, then peel and mash the flesh with a fork. Measure out 1½ cups and set aside. (You can also boil or steam them, but roasting concentrates the flavor.)
- Preheat and prep the pan: Lower the oven to 350°F (175°C). Grease a 9×5-inch loaf pan and line it with parchment paper, leaving an overhang on two sides for easy lifting.
- Mix the dry ingredients: In a medium bowl, whisk together the flour, baking powder, baking soda, cinnamon, nutmeg, and salt.
- Cream the butter and sugar: In a large bowl, beat the softened butter and sugar with an electric mixer on medium speed until light and fluffy, about 2–3 minutes. Scrape down the sides.
- Add eggs and vanilla: Beat in the eggs one at a time, then the vanilla, mixing until fully combined.
- Add the sweet potato: Mix in the mashed sweet potato until smooth. The batter may look slightly curdled—that's fine.
- Alternate dry and wet: With the mixer on low, add the dry ingredients in three additions, alternating with the buttermilk in two additions, beginning and ending with the dry. Mix just until no streaks of flour remain. Do not overmix.
- Bake: Pour the batter into the prepared pan and smooth the top. Bake for 50–60 minutes, or until a toothpick inserted in the center comes out clean or with just a few moist crumbs. If the top browns too quickly, loosely cover with foil after 30 minutes.
- Cool: Let the cake cool in the pan on a wire rack for 15 minutes, then lift it out using the parchment and cool completely on the rack. This is important—if you glaze it while warm, the glaze will melt and soak in completely.
- Make the glaze: In a small bowl, whisk together the powdered sugar, 2 tablespoons of milk, and vanilla. Add more milk a teaspoon at a time until it's thick but pourable—it should coat the back of a spoon.
- Glaze and serve: Pour the glaze over the cooled cake, letting it drip down the sides. Let the glaze set for 10–15 minutes before slicing. Store leftovers in an airtight container at room temperature for up to 3 days, or in the fridge for up to a week.
Common Mistakes
- Too much moisture: If your sweet potato mash is watery, the cake will be dense and gummy. Pat it with paper towels before measuring, or roast instead of boiling.
- Overmixing: Stirring the batter too much develops gluten and makes the cake tough. Mix just until combined.
- Glazing while warm: The glaze will melt and turn into a sticky syrup that soaks into the cake, leaving no visible glaze. Wait until the cake is completely cool.
- Opening the oven too early: The cake can sink in the middle if you open the oven door during the first 30 minutes of baking.
Tips
- For a deeper flavor, add ½ cup of chopped pecans or walnuts to the batter.
- If you don't have buttermilk, use the lemon juice method: add 1½ teaspoons lemon juice to ½ cup milk, let it sit for 5 minutes, then use.
- Use a kitchen scale for the flour to avoid packing—too much flour makes a dry cake.
- To test doneness, use a toothpick; if it comes out with wet batter, bake longer. If it's dry, it's done.
- Let the cake cool completely before slicing to get clean, neat pieces.
Troubleshooting
My cake is dense and heavy. This usually means too much sweet potato or too much liquid. Next time, pat the mash dry or reduce the buttermilk by 2 tablespoons. Make sure your baking powder is fresh (test by stirring a little into hot water—it should bubble).
The top cracked and the middle is still raw. Your oven may be running hot. Check with an oven thermometer, and if it's browning too fast, lower the temperature to 325°F (165°C) and bake longer. Cover the top with foil if needed.
The cake stuck to the pan. Always line with parchment paper, and make sure you grease the pan even if it's nonstick. If it still sticks, run a knife around the edges before lifting.
The glaze is too runny. Add more powdered sugar, a tablespoon at a time, until it thickens. If it's too thick, add a drop more milk.
The cake tastes too sweet. Reduce the granulated sugar to ½ cup (100g) next time—the sweet potato adds its own sweetness.
Frequently Asked Questions
Can I use canned sweet potato puree?
Yes, but make sure it's 100% puree with no added sugar or syrup. Drain any excess liquid before measuring.
Can I make this cake gluten-free?
Yes, substitute the all-purpose flour with a 1:1 gluten-free baking flour blend. The texture may be slightly denser but still good.
Can I freeze the cake?
Yes, wrap the unglazed cake tightly in plastic wrap and then foil. Freeze for up to 3 months. Thaw overnight in the fridge, then bring to room temperature and glaze.
Why did my cake sink in the middle?
This often happens if the oven door is opened too early, or if the batter was overmixed. Also, check that your baking powder is not expired.
How do I know when the sweet potatoes are done roasting?
They should be very soft and a knife should slide in with no resistance. The skins will have caramelized spots.
Can I skip the glaze?
Yes, the cake is delicious on its own. You can also dust it with powdered sugar instead.