Desserts
This sweet potato coconut cake delivers moist, spiced layers with a toasted coconut crunch that tastes like a tropical vacation in every bite. The secret lies in blending sweet potatoes with coconut milk for natural sweetness and moisture, while toasted coconut flakes on top add that irresistible texture.
I developed this recipe after years of baking vegan desserts—this one stands out because it’s rich yet light, perfectly balanced between earthy sweet potato and sweet coconut.
The cake’s magic comes from simple techniques: roasting the sweet potatoes first to deepen their flavor, using coconut milk instead of oil for extra richness, and folding in toasted coconut flakes for that signature crunch.
It bakes up with a golden, slightly domed top and a tender, fudgy interior that’s impossible to resist. The spices—cinnamon, nutmeg, and a hint of vanilla—tie everything together with warm, comforting notes.
What makes this recipe truly special is how it satisfies cravings without being heavy. The sweet potatoes provide natural sweetness, while the coconut adds a tropical twist that makes it feel like a vacation dessert.
Whether you’re serving it at a summer gathering or enjoying a slice with coffee, this cake delivers restaurant-quality results with minimal effort. The best part? It’s foolproof—no fancy equipment or baking skills required.
For an extra touch, garnish with fresh mango slices or a dusting of powdered sugar, but the cake is delicious on its own. The moist, tender crumb and toasted coconut topping make it a standout dessert that’s as impressive as it is easy to bake.
Let’s get started—your taste buds will thank you.
Ingredients for sweet potato coconut cake
Sweet potatoes, coconut milk, and toasted coconut flakes create this tropical, moist cake.
| Ingredient | Amount | Notes |
|---|---|---|
| Sweet Potatoes 🍠 | 2 cups | Roasted, mashed smooth |
| Coconut Milk (Full-Fat) 🥥 | 1 ½ cups | Canned, well-shaken |
| All-Purpose Flour 🌾 | 2 cups | Sifted, gluten-free blend if needed |
| Coconut Sugar 🍯 | 1 cup | Or sub maple syrup |
| Coconut Oil (Refined) 🫒 | ½ cup | Melted, not butter |
| Vanilla Extract 🌿 | 1 tbsp | Pure, high-quality |
| Ground Cinnamon 🌶️ | 2 tsp | Freshly ground preferred |
| Ground Nutmeg 🌿 | ½ tsp | Freshly grated nutmeg |
| Baking Powder 🧂 | 1 ½ tsp | Aluminum-free preferred |
| Salt 🧂 | ½ tsp | Fine sea salt |
| Unsweetened Shredded Coconut 🥥 | 1 cup | Toasted, plus extra for topping |
| Applesauce 🍎 | ½ cup | Unsweetened, replaces eggs |
| Baking Soda 🧂 | ½ tsp | Activated with vinegar if needed |
The sweet potatoes are non-negotiable here—organic sweet potatoes from Trader Joe's work best, but any vibrant orange ones will do. Roast them first to deepen their flavor (400°F for 30 minutes), then mash until completely smooth. For coconut milk, full-fat canned brands like Thai Kitchen give the richest texture. If you can't find coconut sugar, maple syrup works 1:1, though the flavor will shift slightly. The coconut oil needs to be refined for neutral taste—no coconut flavor here. Toast your shredded coconut in a dry pan for 5 minutes until golden—this makes all the difference.
No applesauce? Flax eggs (1 tbsp ground flax + 3 tbsp water = 1 egg) work perfectly. Swap coconut sugar for brown sugar or agave, but adjust other liquids if needed. For the spices, Penzeys or bulk bins have the freshest ground cinnamon and nutmeg—if yours smells stale, toast it in a dry pan for 1 minute to wake up the flavor. The baking powder should be aluminum-free (like Rumford) to avoid metallic taste. If your coconut milk separates, just shake it back up before using—it's normal.
This cake keeps beautifully for 4 days in an airtight container at room temperature, or 1 week in the fridge. For longer storage, slice and freeze portions—3 months is plenty. The toasted coconut topping stays crisp for about 2 days if stored separately. I always make a double batch—half goes to friends, and the other half gets eaten too fast to freeze. Garnish with fresh mango slices if you're feeling fancy, but it's delicious plain too.
Why You'll Love This Recipe
- No Mixer Needed: I swear by this recipe when my hands are full—just mash the sweet potatoes, stir in coconut milk, and fold in flour. The batter’s thick but forgiving, so no stress if it’s not perfectly smooth.
- Taste Like a Dessert: That caramelized coconut sugar edge? It’s the star—deep, buttery sweetness with a hint of toasty coconut that makes it feel like a treat, even though it’s basically a cake. Honestly, I’ve had people ask if it’s from a bakery.
- Double Duty Cake: Bake it for breakfast, serve it at brunch, or cut it into squares for a snack—it’s that easy. My kids grab slices straight from the pan (yes, even on a Tuesday night), and it’s just as good cold the next day.
- Pantry Magic: Sweet potatoes and coconut milk stretch my budget, and coconut sugar costs less than refined sugar. Three ingredients alone—sweet potatoes, coconut milk, and flour—make this a reliable go-to when I’m low on staples.
Step-by-step instructions for sweet potato coconut cake
Here's how to create a perfectly moist tropical cake with that signature coconut crunch.
Roast and Mash the Sweet Potatoes
Preheat your oven to 400°F and pierce 2 medium sweet potatoes (about 2 cups peeled and cubed) with a fork. Place them on a baking sheet and roast for 45-50 minutes until fork-tender. The edges should be slightly caramelized while the centers remain soft.
Let them cool for 10 minutes before scooping out the flesh. Mash them until completely smooth—no lumps allowed. This step is crucial for that ultra-moist texture. I like to press the mashed sweet potatoes through a fine-mesh sieve to remove any skin fragments that could make the cake dense.
Mix Wet Ingredients for Perfect Texture
In a large mixing bowl, combine the mashed sweet potatoes, 1.5 cups coconut milk, 0.5 cup applesauce, 0.5 cup melted coconut oil, and 1 cup coconut sugar. Whisk until fully blended—you're looking for a smooth, thick batter that coats the back of your spoon.
Add the 1 tbsp vanilla extract, 2 tsp ground cinnamon, and 0.5 tsp ground nutmeg. Stir well to distribute the spices evenly. The coconut milk should be well-shaken first to prevent separation. This wet mixture forms the foundation of our moist cake—don't skip the whisking!
Combine Dry Ingredients and Fold Gently
In a separate bowl, sift together the 2 cups all-purpose flour, 1.5 tsp baking powder, 0.5 tsp salt, and 0.5 tsp baking soda. Whisk lightly just to combine—overmixing develops gluten and makes the cake tough.
Gradually add the dry ingredients to the wet mixture, folding gently with a spatula until just combined. You'll see some small lumps, and that's okay—this cake relies on tender texture rather than smooth perfection. Fold in the 1 cup unsweetened shredded coconut last, reserving about ¼ cup for topping. The coconut adds that tropical crunch we're after!
Bake Until Golden and Springy
Preheat your oven to 350°F and grease an 8-inch round cake pan or line it with parchment paper. Pour the batter into the prepared pan and sprinkle the reserved ¼ cup shredded coconut evenly on top. Bake for 45-50 minutes until a toothpick inserted in the center comes out clean and the top is golden brown.
Here's the thing—this cake continues cooking as it cools, so don't overbake. The edges should pull away slightly from the pan, and when pressed gently in the center, it should spring back slowly. For extra moisture, I like to tent the pan with foil during the last 10 minutes of baking to prevent the top from drying out.
Cool and Serve for Maximum Moisture
Let the cake cool in the pan for 15 minutes before transferring it to a wire rack to cool completely. This gradual cooling prevents cracking and helps the flavors meld. The cake should be warm but not hot when you serve it—this is when it's at its most moist and flavorful.
Slice with a sharp knife that's been dipped in hot water and wiped dry for clean cuts. Serve with a dollop of coconut whipped cream or a drizzle of caramelized coconut syrup. The contrast between the moist cake and the toasted coconut topping makes every bite special!
Pro Tips For Making Sweet Potato Coconut Cake
- Boil Sweet Potatoes Until Fork-Tender: I learned this the hard way—undercooked sweet potatoes turn your cake dense and gummy. Boil them until they collapse easily with a fork (about 20-25 minutes), then mash them while still warm so the starch breaks down properly.
- Use Cold Coconut Milk: Pouring cold full-fat coconut milk into your batter keeps the coconut oil solid, which prevents greasy layers in the cake. Just let the can sit in the fridge for 10 minutes before opening—it makes a noticeable difference in texture.
- Don’t Overmix the Batter: Once you fold in the flour, stop mixing after just 10-12 strokes. Overmixing develops gluten, which turns your cake tough instead of light. A few lumps are fine—this isn’t a pancake.
- Bake at 325°F, Not Hotter: Sweet potato coconut cakes need slow, steady heat to rise properly. Cranking the oven to 350°F or higher will burn the top before the center sets, leaving you with a dry exterior and a gooey middle. Patience here guarantees even baking.
Pro cooking tips for great sweet potato coconut cake
Roast for Depth
Roasting the sweet potatoes before mashing unlocks their natural sweetness and caramelized flavor. I always roast them at 400°F for 45-50 minutes until tender with slightly crispy edges—this creates that perfect balance of texture and sweetness.
For even better flavor, pierce them with a fork first to let steam escape. 🌱
Toast Coconut
The toasted coconut topping is what makes this cake special. Toast 1 cup unsweetened shredded coconut in a dry skillet over medium heat for 5 minutes, stirring constantly, until golden brown.
This adds that irresistible crunch that contrasts beautifully with the moist cake. Save about ¼ cup for the top of the cake before baking.
Mix Gently
When combining the wet and dry ingredients, resist the urge to overmix. Fold the dry ingredients into the wet mixture just until combined—overmixing develops gluten and makes the cake tough.
Use a spatula to gently lift and turn the batter, creating small lumps that contribute to the tender texture. This cake relies on its moisture, not a smooth finish. 🥄
Don't Overbake
This cake continues cooking as it cools, so pull it out when the center tests clean with a toothpick (around 45-50 minutes at 350°F). The edges should pull away slightly from the pan, and it should spring back slowly when pressed gently.
Overbaking dries out the cake—trust the toothpick test over time.
Cool Gradually
Let the cake cool in the pan for 15 minutes before transferring to a wire rack. This gradual cooling prevents cracking and helps the flavors meld together.
The cake will be warm but not hot when fully cooled—this is when it's at its most moist and flavorful. Patience here makes all the difference. 💫
Moisture Secrets
For extra moisture, tent the pan with foil during the last 10 minutes of baking to prevent the top from drying out. The combination of roasted sweet potatoes, coconut milk, and applesauce keeps this cake incredibly moist without being heavy.
If your cake seems dry, a quick spritz of coconut milk before serving brings it back to life.
Nutrition facts
Frequently asked questions
Can I substitute regular potatoes for sweet potatoes in this cake?
No, sweet potatoes are essential for this recipe! Their natural sweetness and moisture create the perfect texture, while regular potatoes would make the cake dense and less flavorful. If you must substitute, try yams—but roast them first to concentrate their sweetness.
How do I make this cake gluten-free?
Replace the all-purpose flour with a 1:1 gluten-free baking flour blend (like Bob's Red Mill) and add ½ tsp xanthan gum to improve texture. You may need 1-2 tbsp extra liquid since gluten-free flours absorb differently. The cake will still be moist but slightly denser.
Why does my cake turn out dry?
Overbaking is the most common cause—this cake continues cooking as it cools! Pull it out when a toothpick comes out clean (around 45-50 minutes). Also check your coconut milk—if it's light or watery, use full-fat canned coconut milk instead. For extra moisture, brush warm cake slices with coconut milk before serving.
Can I use fresh coconut instead of shredded coconut?
Yes, but you'll need to adjust the amount. Use 1 cup fresh coconut meat (about 2-3 small coconuts) instead of shredded, and toast it first by grating it and drying in a 350°F oven for 10 minutes. The flavor will be fresher, but the texture will be slightly chewier than store-bought flakes.
What's the best way to store leftovers?
Store in an airtight container at room temperature for 3-4 days or refrigerate for 1 week. For longer storage, slice and freeze portions for up to 3 months**. The toasted coconut topping stays crisp best when stored separately—just sprinkle fresh before serving!
