The sweet potato chunks are ready when a fork slips through without catching, and the pot smells faintly sweet before anything goes into the oven. I used to mash them while they were still wet from draining; the casserole baked up softer than I wanted. Now I let them drain well and mash them smooth before building the filling. In this sweet potato casserole with toasted coconut, the center stays tender and lightly set, with a golden topping for contrast.
The filling gets its body from eggs and mashed sweet potatoes, not a pile of flour, so each bite stays soft rather than cake-like. I stir in melted butter, milk, a little sugar, and vanilla, then bake it in a buttered 9×13-inch dish. The coconut gets its own quick toast in a skillet and goes on after the casserole rests. The finished spoonful is creamy underneath with toasted coconut on top.

Kitchen Note
Let the mashed sweet potatoes cool for the full 10 minutes before adding the eggs. They should still be warm, but not piping hot, so the eggs mix in smoothly instead of starting to set in little streaks.
Save this sweet potato casserole with toasted coconut for a creamy center and a crisp, golden topping.
Why the Coconut Needs Its Own Skillet, Not the Casserole Oven
The sweet potato filling needs a steady bake to set, but sweetened shredded coconut browns much faster. Put it on top for the full casserole bake and the fine shreds can darken before the center is ready. A separate skillet gives you control over that short toasting window, and you can stop as soon as the coconut turns golden.
There’s a texture payoff, too. The casserole comes out soft and warm, then rests before the toasted coconut goes on. That keeps the topping from spending the whole bake in a moist layer against the filling. It won’t stay crisp forever once it meets the casserole, but adding it just before serving preserves the contrast at the table. The coconut also has a clearer toasted flavor when it isn’t buried under the oven’s longer heat.
Keep the skillet dry and use medium-low heat. Sweetened coconut can go from pale to deeply browned quickly, so frequent stirring matters more than trying to rush it. As soon as it’s golden, move it to a plate; leaving it in the hot pan can take it past the color you want.
What Makes the Filling Creamy and the Topping Toasted

- Sweet potatoes — Fresh sweet potatoes are the base and give the casserole its soft, substantial texture. Choose firm ones without shriveled or damaged spots, and cut them into even chunks so they cook at the same pace. Canned sweet potatoes bring extra moisture and often added syrup, so they’re not a dependable swap here.
- Eggs and whole milk — The eggs help the filling set as it bakes, while whole milk loosens the mash without making it watery. Two-percent milk works in the same amount, though the filling will be a little less rich. Keep the eggs; leaving them out changes the casserole from a set filling to a softer mash.
- Unsalted butter, sugar, and vanilla — Butter rounds out the sweet potatoes, while vanilla gives the filling a warm, familiar note. Unsalted butter lets the kosher salt stay in balance. If you only have salted butter, reduce the added salt a little rather than leaving the filling unseasoned.
- Sweetened shredded coconut — Its built-in sweetness helps the topping brown and gives it a toasty crunch. Sweetened coconut is the best fit for the intended finish; unsweetened works if you want a less-sweet topping, but it will taste less candy-like and needs close attention as it browns.
From Fork-Tender Potatoes to a Set, Toasted-Topped Casserole
Butter the Dish and Get the Potatoes Going
Heat the oven to 350°F and brush a 9×13-inch baking dish with 1 tablespoon of the melted butter. Put the peeled sweet potato chunks in a large pot and cover them with cold water by 1 inch. Bring the water to a boil over high heat, then lower the heat to maintain a simmer. Cook for 15–20 minutes, until a fork slides easily into the chunks.
Mash Until Smooth, Then Let the Heat Ease Off
Drain the sweet potatoes well and return them to the pot. Mash until smooth, breaking up any firm pieces before you add the other ingredients. Let the mash cool for 10 minutes; that pause keeps the eggs from beginning to set when they hit the warm potatoes. The mixture should be smooth rather than loose with pooling water.
Stir Together the Filling
Add the remaining 3 tablespoons of melted butter, granulated sugar, whole milk, lightly beaten eggs, vanilla, and kosher salt to the mashed potatoes. Stir until the mixture looks evenly blended, with no visible streaks of egg or butter. Scrape the bottom and sides of the pot as you mix. Don’t keep beating once the filling is smooth.
Toast the Coconut in a Dry Skillet
Set a dry 10-inch skillet over medium-low heat and add the sweetened shredded coconut. Stir frequently for 3–5 minutes, watching for the shreds to turn golden rather than waiting for them to brown deeply. The coconut will keep cooking briefly from the skillet’s residual heat, so transfer it to a plate as soon as it’s toasted. A dark panful will taste bitter against the sweet filling.
Bake Until the Center Is Set
Spread the filling in the prepared dish and bake for 30–35 minutes, until the center reaches 160°F. The top should look settled, while the filling remains tender when spooned. Let the casserole rest for 10 minutes before sprinkling the toasted coconut over it. Add the topping just before serving so it stays as crisp as possible.
Three Easy Ways to Adapt the Sweetness and Topping
Make the casserole dairy-free
Replace the butter with an equal amount of melted dairy-free butter and use unsweetened oat milk in place of whole milk. Keep the eggs, since they help the filling set. The casserole will be a little less rich, but it will still bake into a soft, spoonable center.
Add pecans to the coconut topping
Toast chopped pecans separately in a dry skillet, then stir them into the toasted coconut before topping the casserole. Their buttery crunch makes the finish more substantial, but they have a deeper, nuttier flavor than coconut alone. Toast them separately so you can judge their color without overbrowning the finer coconut.
Dial back the sweetness
Use unsweetened shredded coconut and reduce the granulated sugar in the filling to 1/4 cup. The sweet potatoes will come through more clearly, and the topping will taste more nutty than candy-sweet. Watch the coconut closely as it toasts, since it won’t brown in quite the same way as the sweetened kind.
Storage and Reheating
- Refrigerator: Cover leftovers and refrigerate within 2 hours; keep them for 3–4 days. The coconut softens as it sits on the filling.
- Freezer: Freeze the cooled casserole without the coconut topping, tightly wrapped, for up to 2 months. Thaw it overnight in the refrigerator, then add freshly toasted coconut after reheating.
- Reheating: Cover the casserole with foil and warm it in a 325°F oven until the center reaches 165°F. Add the coconut after reheating; warming the topping with the casserole makes it soft rather than crisp.
Questions That Come Up When Making This Casserole

Sweet Potato Casserole with Toasted Coconut
Ingredients
Equipment
Method
- Preheat the oven to 350°F.
- Brush a 9x13-inch baking dish with 1 tablespoon of the melted butter.
- Put the sweet potatoes in a large pot and cover with cold water by 1 inch.
- Bring to a boil over high heat.
- Reduce the heat to maintain a simmer and cook for 15–20 minutes, until the potatoes are easily pierced with a fork.
- Drain the potatoes well.
- Return the potatoes to the pot and mash until smooth.
- Let them cool for 10 minutes.
- Stir the remaining 3 tablespoons melted butter, granulated sugar, milk, eggs, vanilla, and salt into the mashed potatoes until evenly combined.
- Toast the coconut in a dry 10-inch skillet over medium-low heat for 3–5 minutes, stirring frequently, until golden.
- Immediately transfer the toasted coconut to a plate.
- Spread the sweet potato mixture in the prepared dish.
- Bake for 30–35 minutes, until the center reaches 160°F.
- Let the casserole rest for 10 minutes.
- Sprinkle the toasted coconut over the top before serving.