Classic Sweet Potato Casserole Recipe
Roasted, not boiled: this sweet potato casserole has a silky spiced filling, a crunchy brown sugar pecan crumble, a make-ahead plan and a marshmallow option.

Here's the one thing nobody tells you: never boil the sweet potatoes for a sweet potato casserole. Boiled chunks soak up water, which comes back out as a loose filling and a soggy topping. Roasting them whole fixes that, and it also makes them sweeter. Sweet potatoes contain an enzyme, beta-amylase, that turns starch into maltose as the flesh heats. A whole potato in the oven warms slowly, so the enzyme has time to work. A microwave heats too fast for much conversion to happen, and boiling adds water on top of that. Same potatoes, noticeably sweeter mash, before you've added any sugar.
Why You'll Love This Recipe
- Roasted, never boiled: Roasting whole potatoes in their jackets locks in natural sugars and eliminates excess water for a velvety, spoonable filling.
- Crunchy brown sugar pecan crumble: Double-textured topping stays crisp on top with a gooey, caramelized layer underneath.
- Not overly sweet: Uses just 1/3 cup of sugar in the filling so natural roasted sweet potato flavor shines through.
- Make-ahead holiday essential: Assemble the filling up to 2 days ahead and bake cold when the oven frees up on Thanksgiving.
- One base, two toppings: Default recipe features rich pecan crumble, with an optional toasted marshmallow version or half-and-half split.
Taste the mash before the raw eggs go in. Sweet potatoes vary widely in moisture and natural sugar from batch to batch. Once the butter and spices are beaten in, taste a spoonful.
If your potatoes are mild, add 1 extra tablespoon of brown sugar or an extra pinch of salt now. Once the raw eggs are beaten in, tasting is no longer safe.
Read Before You Start
Roast whole sweet potatoes in their jackets: Do not boil or steam cut sweet potatoes; roasting allows natural beta-amylase enzymes to turn starches into sweet maltose while evaporating moisture.
Cool mash before adding eggs: Allow the hot mashed potatoes to cool for 10 minutes until warm (below 120°F) before beating in eggs to prevent scrambling.
Bake to 160°F: An instant-read thermometer inserted in the center should read 160°F, ensuring eggs are safely cooked and the filling sets without watery weeping.
Ingredient Deep Dive & Notes
Sweet potatoes: Look for firm, unblemished orange-fleshed varieties (often labeled jewel or garnet). Avoid soft spots or sprouted eyes. Roast them whole with skins on.
Unsalted butter: Divided between the filling (for rich emulsion) and topping (to bind the crumble into damp pea-sized sand clumps).
Light brown sugar: Adds subtle molasses depth without overpowering the sweet potatoes.
Eggs: Act as a gentle binder and leavener, lifting the puree from baby food density into a light, custardy souffle-like bake.
Whole milk: Splashed in gradually until the mash holds soft mounds on a spoon; adjust based on potato starch content.
Pecans: Coarsely chop halves so you get a mix of crunchy nut chunks and buttery crumbs.
Alcohol-free vanilla: Imparts fragrant floral sweetness while keeping the dish halal-friendly and family-safe.
Equipment Needed
- Rimmed baking sheet with aluminum foil or parchment paper
- 9x13-inch ceramic or glass baking dish
- Hand electric mixer or sturdy potato masher
- Instant-read digital kitchen thermometer

Ingredients for sweet potato casserole: whole sweet potatoes, brown sugar, butter, eggs, milk, pecans, flour and spices
Detailed Step-by-Step Cooking Guide
Roast sweet potatoes whole at 400°F

Roasted whole sweet potatoes on a foil-lined baking sheet, one split open with caramelized syrup on the foil
Peel skins and beat smooth filling

Smooth sweet potato casserole filling in a mixing bowl, holding a soft mound on a wooden spoon
Scatter brown sugar pecan crumble

Unbaked sweet potato casserole topped with brown sugar pecan crumble in a 9x13 baking dish
Bake Times, Filling Texture & Moisture Control
Potatoes were boiled instead of roasted whole, or milk was poured in all at once. Whole roasting eliminates excess water. Ensure the center bakes to 160°F so the egg custard sets firmly.
Oven rack was too high or brown sugar caramelized early. Tent a loose sheet of foil over the top after 20 minutes of baking to protect the pecans.
Some larger sweet potatoes have woody fibers near the tapered ends. Beat the mash with an electric hand mixer on medium speed; strings wrap around the beaters and can be easily wiped away.
The casserole was served piping hot straight from the oven. Rest the baked dish for 10 minutes at room temperature so starch and egg set cleanly.

Close-up of a scoop of sweet potato casserole showing creamy orange filling under a crunchy pecan topping
Marshmallow Topping & Holiday Table Variations

Sweet potato casserole with toasted mini marshmallows browned golden on top in a baking dish
How to Serve, Store & Reheat
Rest 10 minutes before scooping. Spoon warm alongside roasted turkey, ham, or prime rib.
Cover leftover casserole tightly with foil or transfer to airtight containers and refrigerate for up to 4 days.
Reheat single portions in the microwave for 1 to 2 minutes, or warm the entire foil-covered baking dish in a 325°F oven for 20 minutes until heated through. Uncover for the last 5 minutes to re-crisp the pecan crumble.
Freeze unbaked filling in a freezer-safe dish tightly wrapped in plastic and foil for up to 2 months. Freeze pecan topping separately in a zip-top bag. Thaw overnight in the fridge, scatter topping, and bake at 350°F for 40 to 45 minutes. (Do not freeze with marshmallows).

Holiday dinner plate with a scoop of sweet potato casserole beside sliced roast turkey and green beans
Dietary Modifications
The filling is 100% naturally gluten-free. For the topping, replace all-purpose flour with a 1:1 gluten-free measure-for-measure flour blend or 1/2 cup almond flour.
Use dairy-free plant butter sticks in both filling and topping, and swap whole milk for unsweetened oat milk or full-fat coconut milk.
Omit eggs from the filling. The casserole bakes into a soft, spoonable whipped mash rather than a puffed souffle set; bake 25 minutes until hot.
Replace chopped pecans with 1 cup rolled old-fashioned oats plus 1/4 cup raw pumpkin seeds for excellent crunch.
Don't serve sweet potato casserole straight out of the oven. At 160°F the filling is set but still soft, and it keeps firming as it cools, because both the egg and the cooked starch thicken as the temperature drops.
That's why the first scoop from a just-baked dish slumps across the plate while a scoop 10 minutes later holds its shape.
If dinner runs late, hold the dish uncovered in a 200°F oven for up to 30 minutes, which keeps it hot and safe without drying the edges.
Allergen Notice: Contains milk/dairy (butter, milk), eggs, wheat/gluten (flour in topping), and tree nuts (pecans). Nut-free and gluten-free swaps detailed above.
Frequently Asked Questions
Recipe Visual Gallery (7 Full Photos)







Recipe Card & Steps
Ingredients Checklist
Click an item to check it off as you prep
For the filling
- 4 pounds orange-fleshed sweet potatoes (about 8 medium, 8 ounces each)
- 6 tablespoons unsalted butter, melted
- 1/3 cup packed light brown sugar
- 3/4 teaspoon fine sea salt
- 1/2 teaspoon ground cinnamon
- 1/4 teaspoon ground nutmeg
- 2 large eggs
- 1 teaspoon alcohol-free vanilla
- 1/2 cup whole milk, plus 1 to 2 tablespoons if the mash is stiff
- 1 teaspoon softened butter, for greasing the baking dish
For the pecan topping
- 3/4 cup packed light brown sugar
- 1/2 cup all-purpose flour
- 1/2 teaspoon ground cinnamon
- 1/4 teaspoon fine sea salt
- 6 tablespoons unsalted butter, melted
- 1 1/4 cups pecan halves, coarsely chopped
Step-by-Step Instructions
Follow along and mark each step complete as you cook
Roast whole sweet potatoes
Heat the oven to 400°F (200°C) and line a rimmed baking sheet with foil or parchment paper. Scrub the sweet potatoes, prick each 3 or 4 times with a fork, and arrange them on the sheet. Roast for 55 to 65 minutes, until a paring knife slides into the thickest part with zero resistance and dark caramelized syrup bubbles onto the foil.
Cool and prep baking dish
While the potatoes roast, butter a 9x13-inch baking dish, melt the 12 tablespoons of butter (divided for filling and topping), and chop the pecans. Let the roasted potatoes cool on the baking sheet for 15 minutes, just until you can handle them safely, and reduce the oven temperature to 350°F (175°C).
Mash filling base
Slit each sweet potato lengthwise and peel away the puffed skins. Scoop the flesh into a large mixing bowl (yielding about 5 cups). Add 6 tablespoons melted butter, 1/3 cup brown sugar, 3/4 teaspoon salt, 1/2 teaspoon cinnamon, and 1/4 teaspoon nutmeg. Beat with a hand mixer on medium speed for 1 minute until completely smooth, wiping strings off the beaters as you go.
Mix brown sugar pecan crumble
Let the warm mash cool for 10 minutes. Meanwhile, in a medium bowl, stir together 3/4 cup brown sugar, 1/2 cup flour, 1/2 teaspoon cinnamon, and 1/4 teaspoon salt. Pour in the remaining 6 tablespoons melted butter and stir with a fork into damp, pea-sized clumps. Fold in the chopped pecans.
Taste, temper eggs, and finish filling
Taste the warm mash and add a spoonful of sugar or pinch of salt if your potatoes are mild. Beat in the eggs, vanilla, and 1/4 cup milk, then add the remaining milk a splash at a time until the filling looks like thick, glossy mashed potatoes that hold soft mounds on a spoon.
Assemble in baking dish
Spread the sweet potato filling evenly into the prepared buttered dish and smooth the surface. Scatter the pecan crumble topping evenly all the way to the edges without pressing it down into the mash.
Bake until set and golden
Bake at 350°F (175°C) for 30 to 35 minutes, until the pecan topping is deep golden brown, the edges are lightly puffed, and the center reaches 160°F (71°C) on an instant-read thermometer. Tent loosely with foil if the pecans brown too quickly.
Rest before scooping
Transfer the dish to a wire rack and rest for 10 minutes before serving. The filling continues to set and firm up as the temperature gently drops, allowing neat, beautiful spoonfuls that hold their shape.
Ratings & Reviews
Leave a Review
Made this recipe? Share your thoughts, tweaks, and honest rating with other home cooks!
Community Reviews (0)
You Might Also Enjoy
More delicious recipes in Salads & Sides.