Whether you call sweet potato casserole a dessert, a side dish, or both, it’s rich, comforting, and exactly the kind of thing you want on the holiday table. Creamy mashed sweet potatoes form the base and a crunchy cinnamon-pecan streusel crowns the top—pure comfort in a casserole dish. This version is naturally gluten-free and dairy-free, yet tastes like the classic, so no one will miss the usual dairy ingredients.

Can You Believe Thanksgiving is Almost Here?
With the holidays approaching, planning the menu can feel overwhelming even for experienced cooks. Starters are straightforward, and the turkey is often an easy solution, but finding reliable, crowd-pleasing sides can be stressful.
That’s why sweet potato casserole is such a lifesaver: it’s simple to prepare, crowd-pleasing, and easy to adapt for dietary needs. Make it gluten-free and dairy-free without sacrificing flavor—everyone will enjoy it.

What Is Sweet Potato Casserole?
Sweet potato casserole is a classic American dish, particularly popular in the southern United States and at holiday meals. The filling is made from cooked, mashed sweet potatoes mixed with a liquid, a binder, a fat, and a sweetener. The dish is finished with a crunchy pecan-cinnamon streusel or, in some versions, a marshmallow topping.
This comforting dish is a Thanksgiving staple and often appears alongside other holiday favorites at Christmas as well.

Dessert or Side Dish?
The sweet, spiced flavors often associated with fall make this casserole feel indulgent, which leads to the debate: dessert or side dish? Traditional ingredients are similar to sweet potato pie, so some serve it as dessert—especially when topped with marshmallows. Others keep it as a sweet side for the main course. Either way, it belongs on your holiday menu.

A Gluten-Free and Dairy-Free Version
This recipe swaps coconut oil for butter and almond milk for dairy milk, creating a version that’s friendly to people with gluten or dairy sensitivities while keeping the familiar flavor and texture. The changes are subtle, and the final dish tastes like the traditional casserole—rich, spiced, and crunchy on top.
Why This Recipe Works
- Simple ingredients: Most items are pantry staples or easy to find at the store.
- Easy to prepare: No complex techniques—mix the filling, top, and bake.
- Adaptable: Naturally gluten-free and easily dairy-free without losing flavor, so it suits many diets while pleasing the whole table.

Ingredient Notes and Substitutions
- Sugar: Light brown sugar is used here for its molasses flavor, but white sugar, dark brown, cane sugar, or coconut sugar can be substituted. For lower-glycemic options, use a suitable sugar substitute at a 1:1 ratio.
- Coconut oil: Refined coconut oil provides a neutral flavor. You can substitute an equal amount of vegan butter or regular dairy butter if dairy is acceptable.
- Non-dairy milk: Almond milk is used, but other plant milks (oat, rice, cashew, or coconut) work well. Use regular milk if desired.
- Eggs: Eggs act as a binder and help set the filling; they are recommended for best texture.
- Nuts: Pecans are traditional in the topping; walnuts, almonds, or hazelnuts are fine alternatives.
- Spices: Ground cinnamon brings classic fall warmth; pumpkin pie spice can be used instead for a deeper blend.
How to Make Mashed Sweet Potatoes
You can bake or microwave the sweet potatoes. For the oven method, prick whole sweet potatoes and bake at 425°F for about 45 minutes, or until tender. Slice and scoop the flesh, then mash. For the microwave, prick potatoes and microwave about 5 minutes per medium potato (so three large potatoes take roughly 15 minutes), then slice and mash the flesh.

How to Make Gluten-Free Sweet Potato Casserole
1. Preheat and Grease
Preheat the oven to 350°F. Grease a 9″ x 13″ casserole dish and position the oven rack in the middle.
2. Prepare the Sweet Potato Filling
In a large bowl, combine mashed sweet potatoes, sugar, melted coconut oil, beaten eggs, almond milk, and vanilla. Mix until smooth and evenly combined. A whisk or hand mixer works well to achieve a creamy texture.

3. Prepare the Pecan Crumble Topping
Mix chopped pecans, melted coconut oil, ground cinnamon, and sugar in a small bowl until the pecans are coated and the mixture is crumbly but cohesive.

4. Transfer Filling to the Dish
Spread the sweet potato mixture evenly in the prepared casserole dish.

5. Add the Topping
Spoon the pecan crumble evenly over the sweet potato layer, covering it with a crunchy, spiced blanket.

6. Bake
Bake for about 35 minutes. If the topping looks close to burning, tent foil over the dish for the last 10 minutes to protect the nuts while the filling finishes setting.

7. Serve and Enjoy
Serve hot or warm. Leftovers can be enjoyed cold or reheated; this casserole also makes a comforting breakfast on holiday mornings.

Helpful Tips and Variations
- Nuts: Swap pecans for walnuts, almonds, or hazelnuts if preferred.
- Nut-free topping: Replace nuts with gluten-free oats for a chewy, crisp topping.
- Prevent burning: Tent with foil during the final minutes if the topping darkens too quickly.
- Make ahead: Mash the sweet potatoes 1–2 days ahead or assemble and refrigerate the uncooked casserole, then bake just before serving.
- Freezing: Bake first, cool completely, then freeze in a suitable container for up to 2 months. Thaw overnight in the refrigerator before reheating.

Recipe FAQs
Yes. Mashed sweet potatoes can be prepared 1–2 days ahead. You can also bake the casserole 1–2 days before, refrigerate covered, and reheat before serving.
Cover and refrigerate for 3–4 days in an airtight container or wrapped dish.
Yes—after baking and cooling, freeze in a freezer-safe container for up to 2 months. Thaw overnight in the refrigerator before reheating.
Stir in 1–2 teaspoons of gluten-free flour or cornstarch to the mashed potatoes to absorb excess moisture and firm the filling.

Related Gluten-Free Sweet Potato Ideas
- Moist Sweet Potato Bread (gluten-free, dairy-free)
- Sweet Potato Gnocchi (gluten-free, vegan)
- Air-Fried Sweet Potato Wedges (gluten-free, vegan)
- Spicy Cinnamon Sweet Potato Fries (gluten-free, vegan)
- Sweet Potato Pie (gluten-free, dairy-free)
Other Thanksgiving Sides to Consider
- Skillet Cornbread (gluten-free, dairy-free)
- Cornbread Stuffing (gluten-free, dairy-free)
- Jalapeño Cornbread (gluten-free, dairy-free)
- Crispy Hasselback Potatoes (gluten-free, vegan)
- Crispy Air Fryer Brussels Sprouts (gluten-free, vegan)
- Shaved Brussels Sprouts with Lemon and Parmesan (gluten-free)
- Soft Gluten-Free Dinner Rolls (dairy-free)
- Rosemary Cornbread (gluten-free, dairy-free)
- Easy Cornbread Muffins (gluten-free, dairy-free)
- French Toast Casserole (gluten-free, dairy-free)
P.S. If you try this recipe, share your feedback and star rating where you found it. Enjoy the holidays and happy cooking!