Gluten-Free Sweet Potato Casserole
This delicious Gluten-Free Sweet Potato Casserole is an American favorite. Serve it at the holidays, or at any time for year for a crowd-pleasing side dish. This classic recipe is made gluten-free with both egg-free and dairy-free options.

It just isn’t the holidays without Sweet Potato Casserole!
This gluten-free version with a pecan topping is bound to become a new holiday favorite. It’s actually quite simple to make gluten-free. You just use gluten-free all purpose flour in place of regular flour.
All of the other ingredients – sweet potatoes, sugar, butter, and pecans are naturally gluten-free. This recipe also has egg-free and dairy-free options too! I can’t tell you how much I love this recipe, I look forward to making it every holiday season.
Key Ingredients

- Sweet potatoes – You will need six cooked sweet potatoes with the skins removed. It’s important to cook the sweet potatoes properly. If you overcook the sweet potatoes they can get watery and if they’re undercooked they lose their creaminess. Cook them until they a fork easily slides into the flesh (you can also use frozen sweet potatoes in this recipe; just defrost them first).
- Gluten-free flour – I prefer Bob’s Red Mill 1:1 All Purpose Flour but you can use your favorite gluten free flour brand. For a paleo version, use almond flour.
- Butter – I usually use regular butter for this recipe (even though I usually avoid dairy), but you can easily swap regular butter for a vegan version.
- Eggs – for many years, this recipe included eggs. Since 2025, though, I have started leaving them out with no change in the outcome (one of my friends is allergic to eggs so I tested it without them and it was fine). So, I’ve decided to make them optional.
Please see the recipe card at the end of this post for the exact ingredients and measurements.
Recipe Steps

Step One: Combine your cooked sweet potatoes with the sugar.

Step Two: Mix together until smooth with other ingredients.

Step Three: Pour into a baking dish.

Step Four: Make topping and cover the top of the casserole. Bake until done (see recipe card below for exact instructions).
I hope you agree that this sweet potato casserole recipe is perfect for your holiday table.
It tastes like traditional sweet potato casserole, but without the marshmallows. The pecan crumble topping is sweet delicious and helps make this the perfect side dish for your Thanksgiving table.
I made it for Thanksgiving this year and it was one of the only side dishes that disappeared with virtually no leftovers!

Recipe Benefits
- It’s perfect for the holiday season, but you can make it at any time of year.
- It’s great for meal prepping or holiday prepping. You can prep the dish ahead of time and then just assemble and bake. Make the crumb topping and the sweet potato mixture separate and refrigerate until time to bake.
- It’s easy to make dairy-free or even paleo.
How to Cook Sweet Potatoes (Boil, Bake, or Microwave)
- Bake: 400 °F for 45–60 minutes until a fork slides in easily (best flavor).
- Instant Pot: Cook with 1 cup of water on high pressure for 25-28 minutes. See my full guide for pressure cooking sweet potatoes.
- Boil: Peel and cube; simmer 15–20 minutes until tender; drain well to avoid a watery filling.
- Microwave: Pierce each potato and microwave 6–8 minutes, flipping halfway through; cool, peel, and mash.
Recipe FAQs
Use ghee in place of regular butter and almond flour in place of gluten-free flour.
Yes! Be sure to check the ingredients to make sure they’re gluten-free. Bake the casserole for 30 minutes and carefully remove from the oven. Top with mini marshmallows and bake for 5 more minutes. The tops should turn golden brown. Alternatively, try this recipe for Instant Pot Candied Yams!
Yes! There are several ways to prep this dish. You can cook the sweet potatoes and make the sweet potato filling ahead of time. Place it in a large mixing bowl and cover with plastic wrap or store in an airtight container until you’re ready to bake.
Alternatively, you can prep the entree dish and store it in the fridge. Then, on Thanksgiving day, bake it and serve.
I do not recommend freezing leftover sweet potato casserole as the topping will not retain the same texture.
Yes. Drain and mash the canned sweet potatoes or yams first. Because canned varieties are softer and often sweetened, you’ll need to reduce the amount of sugar. Don’t add any sugar to the filling and reduce the sugar in the topping from 3/4 cup to 1/2 cup (and reduce the flour from 1/2 cup to 1/4 cup).
Cool completely, cover, and refrigerate up to 4 days. Reheat in the oven at 350°F for 10–15 minutes or in the microwave for 1–2 minutes per serving until warm.
I hope you make this recipe! If you do, please leave a comment and a starred review below.
And, consider following me on social media so we can stay connected. I’m on Facebook, Pinterest, Instagram, and YouTube!
Gluten-Free Sweet Potato Casserole Recipe
This delicious Gluten-Free Sweet Potato Casserole is an American favorite. Serve it at the holidays, or at any time for year for a crowd-pleasing side dish. This classic recipe is made gluten-free with both egg-free and dairy-free options.
- Total Time: 45 minutes
- Yield: 10 1x
Ingredients
- For the filling:
- Nonstick cooking spray
- 6 large sweet potatoes (about 3–4 pounds uncooked), cooked with skin removed
- 2 teaspoons coconut sugar (you can also use brown sugar)
- 2 eggs, beaten (leave out for egg allergies)
- 1 teaspoon vanilla extract
- 1 tablespoon butter (use vegan butter for dairy allergies)
- For the topping:
- 1/2 cup gluten-free baking flour like Bob’s 1-to-1 Gluten-Free Baking Flour (you can also use almond flour)
- 3/4 cup coconut sugar (you can also use brown sugar)
- 3/4 cup chopped pecans
- 5 tablespoons cold butter, chopped (you can use vegan butter for dairy allergies)
Instructions
- Preheat your oven to 350°F. Spray a casserole dish with nonstick cooking spray and set aside.
- In a large mixing bowl, combine the cooked sweet potato flesh, 2 teaspoons of coconut sugar, eggs (if using), vanilla, and 1 tablespoon of butter. Use a spatula or a hand mixer to mix the ingredients together until they are smooth.
- Pour the sweet potato mixture into your casserole dish and use a spatula to smooth the surface of the mixture.
- Next, in a medium bowl, combine the filling ingredients including the flour, 3/4 cup of sugar, the chopped nuts, and the chopped, cold butter. Use clean hands to mix together the ingredients. The topping mixture should have a crumbly texture.
- Divide the crumble topping over the sweet potato mixture in the casserole dish.
- Bake for 30-35 minutes, or until the topping has started to turn a golden brown.
- Serve warm.
Notes
- To cook the sweet potatoes, wash and pat them dry. Poke holes with a fork all around each potato and bake at 400°F for 45-60 minutes. Remove them from the oven and let them cool slightly. Then, carefully remove the skins and place the cooked sweet potato flesh in a large bowl. Alternatively, you can make Instant Pot Sweet Potatoes which saves a lot of time.
- If you aren’t on a gluten-free diet, you can use regular all-purpose flour instead of a gluten-free flour.
- You can use a 9×13 casserole dish or a square one as well.
- If you don’t like pecans, you can substitute them for chopped almonds or walnuts.
- For egg-free diets, leave out the eggs (don’t worry, I tested it without eggs and it was great).
- Store any leftovers in a covered container in the refrigerator for up to 4 days. Reheat before serving.
- Prep Time: 15 minutes
- Cook Time: 30 minutes
- Category: Side dish
- Method: Oven
- Cuisine: Holiday
- Diet: Gluten Free
Nutrition
- Serving Size: 1/10 of recipe
- Calories: 287
- Sugar: 18.9 g
- Sodium: 69.5 mg
- Fat: 13.8 g
- Saturated Fat: 5.1 g
- Carbohydrates: 38.2 g
- Fiber: 3.3 g
- Protein: 3.7 g
- Cholesterol: 55.5 mg
More Gluten-Free Holiday Recipes You Might Like
- Air Fryer Baked Apples
- Gluten Free Apple Pear Crisp
- Chocolate Chip Sweet Potato Muffins
- Cinnamon Sweet Potato Bread
- Dairy-Free Pumpkin Pie Pudding
- Roasted Sweet Potato and Kale
Or, check out my entire index of healthy holiday recipes, all made gluten-free and dairy-free!
Don’t Miss These Thanksgiving Side Dishes!
Don’t forget to join my newsletter list to get exclusive clean eating recipes and tips. The newsletter is 100% free with no spam; unsubscribe anytime.
About the Author: Carrie Forrest has a master’s degree in public health with a specialty in nutrition and is a certified holistic nutritionist. She is a top wellness and food blogger with over 5 million annual visitors to her site. Carrie has an incredible story of recovery from chronic illness and is passionate about helping other women transform their health. Send her a message through her contact form.





I love that this is easier and healthier and that you’ve included dietary options so I can customize it! Plus, it looks so creamy. Perfect side dish for the upcoming holiday season!
This sounds so delicious. And it’s so healthy too. I bet my family would love this. I must give this recipe a try. Thanks for sharing.
Over the weekend, I tested this recipe out for Thanksgiving and it was so easy to make and so delicious. My husband and I couldn’t get enough and our teenage daughter, who normally doesn’t like sweet potato dishes, even liked it. Thanks for a great recipe!
One of the reasons I love this time of year is because of all of the sweet potato recipes. I have never tried anything like this, so I am super curious to give it a go!!
Incredibly healthy soufflé that would be a perfect dish for a small group of visitors. Definitely something I would enjoy myself, too. And great tip on making the whole casserole in advance!
I didn’t grow up with sweet potato casserole but when I had my first bite while traveling down south I was immediately in love! Absolutely LOVING the granola topping!
I love this recipe as an alternative to the usual casseroles. A great way to use sweet potatoes! And that granola topping, it really is an amazing idea!