The sweet potato gives this cake a softer, more substantial batter than a plain spice cake, and it’s easy to keep stirring after the flour goes in because the mixture looks so thick. I learned to stop as soon as the dry streaks disappear. That small pause helps keep the crumb tender instead of dense, and it makes this sweet potato cake with cream cheese frosting just as good for slicing as it is for sharing.
Cooked sweet potato brings moisture and gentle sweetness, while cinnamon and nutmeg keep the flavor warm without overwhelming it. Vegetable oil helps the cake stay moist, and the cream cheese frosting gives each slice a smooth, tangy finish. Let the cake cool completely in the pan before frosting; the finished top should be creamy and neat, with a soft, spiced crumb underneath.

Kitchen Note
Room-temperature eggs whisk smoothly with the sugar, so set them out ahead rather than using them cold. The wet mixture comes together more evenly before the sweet potato goes in.
Save this sweet potato cake with cream cheese frosting for its tender spiced crumb and smooth, tangy topping.
Why This Sweet Potato Cake Needs a Light Hand After the Flour Goes In
Mashed sweet potato gives the batter body, so it won’t look as loose as a basic oil cake. That’s not a reason to keep mixing. Once flour meets the wet ingredients, extra stirring develops gluten and can leave the baked cake tight instead of tender. Stir just until you can’t see dry streaks, then move on.
The sweet potato also brings moisture, which is why the mash needs to be cooled before it joins the eggs and sugar. Hot mash can warm the mixture unevenly, while a well-cooled mash blends in without that extra heat. The oil adds another source of moisture, helping balance the flour and giving the cake a soft crumb after it cools.
Keep the measured ingredients in balance rather than trying to compensate for a thick-looking batter. The cinnamon and nutmeg are there to season the sweet potato, not hide it. Once the batter is spread evenly in the pan, it bakes into a cake that holds its shape without losing that tender texture.
Why Cooked Sweet Potato and Vegetable Oil Make a Different Kind of Crumb

- Mashed sweet potato — It brings moisture and a mellow sweetness that gives this cake its distinct texture. Use it cooked, mashed, and cooled; hot mash changes the temperature of the wet mixture, and large lumps won’t distribute as evenly.
- Vegetable oil — Oil stays fluid in the cooled cake, helping the crumb remain soft. Keep it rather than changing the fat, since a different fat changes the texture this batter is built around.
- All-purpose flour and the leaveners — Flour gives the cake structure, while baking powder and baking soda help it rise. Measure carefully and whisk them with the spices so the leaveners don’t collect in one part of the batter.
- Cinnamon and nutmeg — Together they give the sweet potato a warm, gently spiced flavor. Ground spices work well here; freshness matters most if the jars have been open long enough to lose their aroma.
- Cream cheese and butter — Both need to be softened so they beat into a smooth frosting. Powdered sugar builds its sweetness and body; adding it gradually helps keep the frosting from puffing out of the bowl.
From Sweet Potato Batter to a Smooth Cream Cheese Finish
Whisk the dry ingredients evenly
Heat the oven to 350°F and coat a 9×13-inch baking pan with nonstick cooking spray. Whisk the flour, baking powder, baking soda, cinnamon, nutmeg, and salt together in a medium bowl. Break up any visible clumps as you whisk. An even mix helps the cake rise consistently from edge to center.
Build the sweet potato mixture
In a large bowl, whisk the sugar and room-temperature eggs until smooth. Whisk in the vegetable oil, cooled mashed sweet potato, and vanilla until the mixture looks uniform. You may still see the texture of the sweet potato, but there shouldn’t be separate streaks of oil. If the mash is lumpy, press the larger pieces against the side of the bowl as you mix.
Stop mixing when the flour disappears
Add the flour mixture to the sweet potato mixture and stir just until no dry streaks remain. Scrape the bottom of the bowl once so you don’t leave a pocket of flour there. The batter will be thick, so spread it evenly in the prepared pan rather than expecting it to level itself. Don’t keep stirring to make it look silky.
Bake until the center gives a useful cue
Bake at 350°F for 35–42 minutes. Check the center with a toothpick; it should come out with a few moist crumbs, not wet batter. If batter clings to the pick, give the cake more time and check again. Let the cake cool completely in the pan, about 1 1/2 hours, before you frost it.
Beat and spread the frosting
Beat the softened cream cheese and butter in a large bowl until smooth and creamy. Add the powdered sugar a cup at a time, then beat in the vanilla and salt until smooth. If you add the sugar all at once, it’s more likely to puff into the air. Spread the finished frosting over the fully cooled cake.
When to Leave This Cake Unfrosted—and Other Useful Changes
A dairy-free slice: skip the frosting
The cake itself contains no dairy, so leave off the cream cheese frosting for a dairy-free version. You’ll lose the creamy tang and sweetness on top, but the spiced sweet potato cake still works as a simple snack cake.
Go lighter on the frosting
Spread a thinner layer over the cake and keep any extra frosting covered in the refrigerator. This gives you more cake in each bite and keeps the cream cheese flavor from taking over the cinnamon and nutmeg.
Storage and Serving
- Refrigerator: Cover the frosted cake and refrigerate it for up to 4 days. The frosting firms up, and the cake feels denser when served cold.
- Freezer: Freeze slices until firm, then wrap them tightly and store for up to 2 months for best quality. Thaw in the refrigerator.
- Reheating: Don’t microwave the frosted cake; the topping can turn soft and greasy. Let a slice sit out briefly before serving so the frosting softens without warming the whole cake.
Questions That Come Up While Baking Sweet Potato Cake

Sweet Potato Cake with Cream Cheese Frosting
Ingredients
Equipment
Method
- Heat the oven to 350°F.
- Coat a 9x13-inch baking pan with nonstick cooking spray.
- Whisk the flour, baking powder, baking soda, cinnamon, nutmeg, and salt in a medium bowl.
- In a large bowl, whisk the sugar and eggs until smooth.
- Whisk in the oil, sweet potato, and vanilla.
- Add the flour mixture to the sweet potato mixture and stir just until no dry streaks remain.
- Spread the batter evenly in the prepared pan.
- Bake at 350°F for 35–42 minutes, until a toothpick inserted in the center comes out with a few moist crumbs.
- Cool the cake completely in the pan, about 1 1/2 hours, before frosting.
- Beat the cream cheese and butter in a large bowl until smooth and creamy.
- Beat in the powdered sugar a cup at a time.
- Beat in the vanilla and salt until smooth.
- Spread the frosting over the cooled cake.





