This post may contain affiliate links. Please read our disclosure policy.
There’s nothing more comforting or holiday-worthy than a big, warm pan of homemade sweet potato casserole — especially one loaded with creamy sweet potatoes, warm spices, coconut, and gooey marshmallows. This version bakes into a rich, velvety base and is finished with an ultra-crunchy pecan–cornflake crumble that always steals the show.
What makes this casserole special is how the mashed sweet potatoes become silky and custard-like thanks to room-temperature, lightly beaten eggs and a splash of evaporated milk. Mini marshmallows melt into the filling for extra softness, shredded coconut adds subtle chew and warmth, and the buttery cornflake-pecan topping bakes up crunchy and caramelized for the perfect contrast. It’s cozy, nostalgic, and usually the first dish to disappear at gatherings.
Grab a 9×13-inch baking dish and get ready — this sweet potato casserole is likely to become a new family favorite.

Before You Begin
- Cool the potatoes slightly before adding the eggs so they don’t scramble.
- Use room-temperature, lightly beaten eggs for the smoothest custard-style texture.
- Drain the potatoes very well and let them steam off excess moisture for 1–2 minutes.
- Crush cornflakes finely so the topping clings and bakes evenly.
- Watch the topping closely during the final bake — it browns quickly at 400°F.
How to Prepare the Sweet Potatoes
There are a few ways to cook sweet potatoes — baking, microwaving, or boiling — and each affects flavor and texture differently. Baking intensifies natural sweetness and yields rich, creamy flesh. Microwaving is fast and works well when you’re short on time. Boiling is convenient but can introduce extra moisture and slightly mute sweetness if not drained thoroughly. Cooking time varies by potato size, so test tenderness with a fork.
How to Bake Sweet Potatoes
- Preheat oven to 425°F. Line a rimmed baking sheet with parchment or foil.
- Wash and scrub the sweet potatoes; prick all over with a fork to let steam escape.
- Bake 45–60 minutes, or until very tender when pierced with a fork.
How to Microwave Sweet Potatoes
- Wash, scrub, and prick the sweet potatoes all over with a fork.
- Microwave on High for 5 minutes and check for tenderness.
- Continue in 1-minute intervals until soft enough to mash.
Do the sweet potatoes need to be peeled?
For this casserole, peel the sweet potatoes. The peeled, mashed flesh gives the smooth, velvety texture that makes the filling custard-like and easy to blend with the other ingredients.
Sweet Potato Casserole Ingredients + Key Notes
Sweet Potatoes — Peel and cube 4 pounds. Fresh sweet potatoes give the dish its signature velvety texture, natural sweetness, and color.
Sugar — Adds sweetness and helps the filling set like a smooth custard.
Eggs — room temperature and lightly beaten — This step prevents curdling and ensures a silky, even texture.
Butter — Adds richness and classic holiday flavor.
Evaporated Milk — Creates a creamy texture without weighing the filling down.
Cinnamon + Nutmeg — Warm spices that balance sweetness and bring cozy flavor.
Mini Marshmallows — Melt into the filling for pockets of gooey sweetness.
Shredded Coconut — Offers subtle chew and depth; use sweetened or unsweetened to taste.
Salt — A small amount lifts and balances the sweetness.
Cornflakes, Pecans, Brown Sugar, Butter — Combine for a crunchy, caramelized topping that contrasts beautifully with the soft filling.

The Science Behind Perfect Sweet Potato Filling
Sweet potato casserole behaves like a custard: eggs bind the filling as they set. If cold eggs are added to very hot potatoes, the proteins tighten and can form rubbery strands. Bringing eggs to room temperature and lightly beating them gives those proteins a head start so they warm gently and disperse evenly. Cooling the potatoes until they’re warm but not steaming allows the eggs to fold in smoothly, resulting in a velvety, well-set filling rather than a grainy or curdled one.
How to Make Sweet Potato Casserole
Start by boiling and draining the cubed sweet potatoes, then let them cool until warm but not steaming. Mash them smooth, then blend in sugar, room-temperature eggs, melted butter, evaporated milk, spices, mini marshmallows, shredded coconut, and salt. Spread the mixture into a buttered 9×13-inch pan and bake until set. While the casserole bakes, mix crushed cornflakes, dark brown sugar, chopped pecans, and melted butter for the topping. Increase the oven temperature, sprinkle the topping over the hot casserole, and bake a short time more until the topping is golden and crisp. Let rest briefly before serving so the filling finishes setting and the topping stays crunchy.
Ingredients
Sweet Potatoes:
- 4 pounds sweet potatoes, peeled and cubed
- 1 1/2 cups sugar
- 4 large eggs, at room temperature and lightly beaten
- 1/2 cup butter, melted
- 1 cup canned evaporated milk
- 1 teaspoon ground nutmeg
- 1 teaspoon ground cinnamon
- 2 cups mini marshmallows
- 1 cup shredded coconut
- 1/2 teaspoon salt
Topping:
- 1 1/2 cups cornflakes, crushed
- 1/2 cup dark brown sugar, firmly packed
- 1 cup chopped pecans
- 1/2 cup butter, melted
Instructions
- Prepare the dish and oven: Preheat oven to 375°F (190°C). Butter or spray a 9×13-inch baking dish and set aside.
- Cook the sweet potatoes: Place cubed sweet potatoes in a large pot and cover with cold water. Bring to a boil, then simmer until very tender, about 15 minutes. Drain thoroughly, return to the warm pot for 1–2 minutes so excess moisture evaporates, then let cool 10–15 minutes until they no longer release steam. This prevents the eggs from cooking when added.
- Make the filling: Transfer the cooled potatoes to a large bowl and mash until completely smooth. Add sugar, eggs, melted butter, evaporated milk, nutmeg, cinnamon, 1/2 teaspoon salt, mini marshmallows, and shredded coconut. Mix until fully combined, then pour into the prepared baking dish and smooth the top.
- Bake the casserole base: Bake 70–90 minutes, or until the center is set and no longer jiggles when gently shaken.
- Prepare the topping: While the casserole bakes, stir crushed cornflakes, brown sugar, chopped pecans, and melted butter in a medium bowl and set aside.
- Add topping and finish baking: Increase oven to 400°F. Sprinkle the topping evenly over the hot casserole and return to the oven for about 10 minutes, or until the topping is lightly golden and crisp. Watch closely to avoid over-browning.
- Cool and serve: Let the casserole rest 10–15 minutes before serving so the filling sets and the topping remains crisp.
Pro Tips
- Always use room-temperature eggs for the silkiest texture.
- Allow potatoes to stop steaming before adding eggs to prevent curdling.
- Drain sweet potatoes thoroughly — excess water thins the custard and delays setting.
- Finish baking at a higher temperature for a caramelized, crunchy topping, but monitor closely.
Troubleshooting
Loose center
If the center is loose, it may simply need more time. Custard-style sweet potato casseroles should be set around the edges with a gentle jiggle in the middle; it will finish setting as it cools.
Eggs scrambled slightly
This occurs when potatoes are too hot or eggs are cold. Let potatoes cool until warm (not steaming) and use room-temperature eggs.
Topping browns too fast
Ovens vary. If your oven runs hot, lower the temperature to 375°F or loosely cover the dish with foil for the final minutes.
Filling too sweet
If the casserole tastes too sweet for your preference, a light sprinkle of flaky salt on top balances the flavor nicely.

What to Serve With Sweet Potato Casserole
This casserole complements classic holiday mains and bright, crisp sides alike. Fresh salads, buttery potatoes, roasted turkey, pork tenderloin, or creamy casseroles all pair beautifully. For dessert, classic cobblers and pies provide a cozy finish to the meal.
Storing, Reheating, Freezing, and Make-Ahead
Storing
- Cover leftovers tightly and refrigerate for up to 4 days.
Reheating
- Warm in a 350°F oven for 15–20 minutes until heated through. If reheating in glass or ceramic, bring to room temperature first to avoid cracking.
Freezing
- Freeze the baked casserole (without the topping) for up to 2 months. Thaw completely, add topping, and bake 10 minutes at 400°F to finish.
Make-Ahead
- Assemble the filling a day ahead and refrigerate. Bake as directed, prepare the topping fresh, and add it during the final 10 minutes.
Nutrition (per serving)
Serving: 1 serving | Calories: 616 kcal | Carbohydrates: 90 g | Protein: 7 g | Fat: 27 g | Saturated Fat: 14 g | Sodium: 305 mg | Fiber: 6 g | Sugar: 59 g | Vitamin A: 22131 IU
Thanks for stopping by the kitchen — happy cooking!