This yam casserole recipe is made with fluffy sweet potatoes topped with a crunchy, candy-like topping. It’s the ideal Thanksgiving side dish to make in advance! 

close up image of wooden spoon digging into yam casserole

Pin this recipe now to save it for later

Whether you call them yams or sweet potatoes, there’s something to be said for this classic Thanksgiving dish. If you’ve tried our Sweet Potato Casserole, you will love this recipe too!

I have been making this yam casserole every Thanksgiving for the past few years. Recently, my family has been asking me to make it more often. They want this sweet, savory yam casserole at least once a week! I am happy to oblige because I agree, it is really good!

top down image of yam casserole in a casserole dish

Easy Yam Casserole Recipe with Pecans

My yam casserole filling is made with fresh cooked yams that are peeled, boiled and mashed. I add a few eggs, vanilla extract and brown sugar to the yams for the perfect taste and texture. The casserole bakes up fluffy and tender. The yam layer is nice and smooth, which is fantastic along with the crunchy pecan topping.

Speaking of the yam casserole topping, let me tell you a little more about this important component of my casserole. Many yam casseroles have marshmallows on top. I far prefer the crunchy brown sugar pecan crumble on my yams. However, if you like marshmallows, feel free to use both! Marshmallows do add a very pretty look to the casserole, in addition to increasing the sweetness of the yam side dish.

So are you ready to make the most perfect Thanksgiving side dish you have ever had? I will give you all the details here. Remember that while yam casserole is great for Thanksgiving, it is also great any day of the week. I just made it last Thursday!

ingredients to make yam casserole


See recipe card below this post for ingredient quantities and full instructions.

  • Yams – Six medium sized yams should be about 3 pounds. Try to weigh your yams when you buy them. The weight is the best measurement for this recipe to ensure you have the perfect amount of casserole filling. 
  • Dark brown sugar – I like dark brown sugar because it has a rich molasses taste that is delicious in this recipe. You can use light brown sugar as well.
  • Butter – Unsalted butter is best for both the yam casserole filling and the topping.
  • Milk – I use whole milk any time I am cooking. 
  • Eggs 
  • Salt 
  • Ground black pepper 
  • Vanilla – A little bit of vanilla really enhances the flavor of the yam filling.
  • Flour 
  • Pecans – Look for pre-chopped pecans in the grocery store, which will save you a little time.

Substitutions and Variations

I make this yam casserole quite often, especially in the fall. Try a few of these variations to keep your yam casserole exciting and new. 

  • Skip the pecan filling and use just marshmallows. This is a great way to make the yam casserole nut free.
  • Use chopped almonds in place of pecans for a different flavor and more crunchy topping. 
  • Use heavy cream in place of milk to make a richer, more decadent casserole.
steps to make yam casserole

How to Make Yam Casserole

  1. Preheat the Oven: Preheat your oven to 375ºF and grease a 9×13 baking pan.
  2. Cook the Yams: Boil a large pot of water and cook the yams for 15 minutes. They should be very tender and soft.
  3. Mix the Filling: Place the strained, cooked yams in a stand mixer along with all the other ingredients for the filling. Blend with a paddle attachment until smooth. Then, scoop the filling into the prepared casserole dish. 
  4. Make the Topping: Mix the flour, butter, brown sugar and pecans together with your hands until crumbly. Sprinkle the topping over the yam casserole dish. 
  5. Bake the Casserole: Bake the yam casserole for 25-30 minutes until the topping is golden brown. If you want to add marshmallows to your yam casserole, you can sprinkle 2 cups of mini marshmallows over the casserole after 20 minutes of baking. Pop the casserole back in the oven for 5 more minutes to brown the marshmallows and finish cooking the casserole. This is a great way to add a little sweetness and eye appeal to the dish. 

Quick Tip

Try making individual yam casseroles; they are perfect for buffets and also a true holiday show stopper. Scoop about a cup of yam filling into large, oven safe ramekins. Top each one with the pecan topping and bake for only 20 minutes.

wooden spoonful of yam casserole

Canned Yam Casserole

Thanksgiving is a very busy time in the kitchen. If you are looking to save a little bit of cooking time, use canned yams to make the yam casserole. This will eliminate the step of boiling the yams.

Use three cans of chopped yams to replace the 6 yams in this recipe. Strain the yams in the can and discard the syrup. Skip the cooking step, as the canned yams are already cooked. You should also reduce the brown sugar to just 1/4 cup in the filling since canned yams are typically very sweet thanks to the sugar syrup in the can.

close up image of yam casserole with mini marshmallows served on a white round plate with a silver fork

How to Store Yam Casserole

Once baked, yam casserole will keep in the fridge for 4-5 days. Be sure to keep it well wrapped so the pecans stay crunchy. Reheat the casserole in the oven when you are ready to eat. 

You can also freeze this casserole for up to two months. Wrap it tightly in plastic wrap or place it in an airtight container with a lid. To reheat the frozen yam casserole, put it back in the oven for 20 minutes to thaw and make the topping crunchy again.

 If you choose to freeze the casserole, skip the marshmallow topping. You can add them when you reheat the casserole before eating it. 


What is the difference between yam and sweet potato casserole?

In the United States, “yam” and “sweet potato” is a term used for the same vegetable, so yam casserole and sweet potato casserole are the same dish. Technically speaking, there is a different vegetable called yams that originates in Africa, but it is much more starchy and less sweet than the sweet potatoes used to make casseroles here.

Is it better to boil or bake yams?

Boiling yams is faster, but baking them will bring out more of their natural sweetness. In this recipe, the yams are boiled and then baked.

Why do people put marshmallows on yams?

With yams, you can either add contrasting flavors for balance, or lean into the sweetness by adding sugar, maple syrup, or marshmallows. Marshmallows add sweetness and a bit of nostalgia to a yam casserole!

How do you keep yams from getting stringy?

Cut the ends off of the yams when you’re doing the prep and discard them. It’s the ends that are stringy.

More Thanksgiving Favorites

Yam Casserole

This yam casserole recipe is made with fluffy sweet potatoes topped with a crunchy, candy-like topping. It's the ideal Thanksgiving side dish to make in advance! 
No ratings yet
Course: Dinner, Side Dish
Cuisine: American
Servings: 8 servings
Prep Time: 20 minutes
Cook Time: 30 minutes
Total Time: 50 minutes


  • 9×13 baking dish
  • Large pot
  • stand mixer fitted with a paddle attachment
  • Mixing bowls


Yam Casserole

  • 6 medium yams, about 3 pounds, peeled and cubed
  • 1/2 cup dark brown sugar
  • 1/2 cup butter, softened
  • 1 teaspoon salt
  • 1/2 teaspoon ground black pepper
  • 1/2 cup milk
  • 2 large eggs
  • 1/2 teaspoon vanilla extract


  • 1/2 cup flour
  • 1/2 cup brown sugar
  • 4 Tablespoons butter
  • 1 cup chopped pecans


  • Preheat your oven to 375 degrees F. 
  • Grease a 9×13 baking dish and set aside.
  • Bring a large pot of water to a boil and add the cubed yams. Boil for 15 minutes then strain the yams and discard the water.
    6 medium yams, about 3 pounds, peeled and cubed
  • Add the yams to a stand mixer fitted with a paddle attachment along with the brown sugar, butter, salt, black pepper, milk, eggs and vanilla extract.
    1/2 cup dark brown sugar, 1/2 cup butter, softened, 2 large eggs, 1/2 cup milk, 1 teaspoon salt, 1/2 teaspoon ground black pepper, 1/2 teaspoon vanilla extract
  • Beat the yams until well blended and creamy.
  • Scoop the yam mix into the greased baking dish.
  • In a separate, medium sized bowl, mix all of the topping ingredients together until well blended. The topping should be crumbly like a pie topping.
    1/2 cup flour, 1/2 cup brown sugar, 4 Tablespoons butter, 1 cup chopped pecans
  • Sprinkle the topping over the yam casserole in the pan.
  • Bake the casserole for 25 to 30 minutes. The topping should be golden brown and slightly crisp.
  • Let cool for 10 minutes before scooping and serving.


If you’d like to add marshmallows to the yam casserole, remove the casserole from the oven after 20 minutes, sprinkle 2 cups of mini marshmallows on the top of the casserole and return it to the oven for 5-10 more minutes. The marshmallows will be nice and golden brown.


Serving: 1serving | Calories: 777kcal | Carbohydrates: 124g | Protein: 9g | Fat: 29g | Saturated Fat: 12g | Polyunsaturated Fat: 4g | Monounsaturated Fat: 11g | Trans Fat: 1g | Cholesterol: 88mg | Sodium: 485mg | Potassium: 2716mg | Fiber: 14g | Sugar: 30g | Vitamin A: 1057IU | Vitamin C: 54mg | Calcium: 118mg | Iron: 3mg
Did you make this recipe?Mention @kasey_allthingsmamma or tag #allthingsmamma!

Categories: , , , ,

About Kasey Schwartz

For over 15 years, Kasey Schwartz, the mastermind behind All Things Mamma, has been the ultimate go-to for mouthwatering family recipes. Her work has been featured on, Buzz Feed, Better Homes and Gardens, and more, making her your go-to mom next door for all things delicious and family-friendly.


  1. How many eggs? The is no indication in your list of ingredients.

    1. Shyanne - ATM Team says:

      2 eggs! Thank you for catching that. We have updated the recipe card!

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating

This site uses Akismet to reduce spam. Learn how your comment data is processed.