Green Bean Casserole

4.90 from 65 votes

Green bean casserole from scratch with frozen green beans, homemade mushroom sauce, and crispy baked onions instead of canned soup.

Jump to Recipe
Prep Time 35 minutes
Servings 8 servings
Comments
33

This post may contain affiliate links. Please read our disclosure policy.

The first time I had a green bean casserole from scratch was long after the canned version I grew up with. Back then, it was very heavy, with canned soup and crispy onions, also from a can, and while it was okay, it wasn’t exactly fresh. Now I make my own green bean casserole from scratch with fresh mushrooms, a simple homemade cream of mushroom soup, and a homemade crispy onion topping. It’s soo good!

Easy green bean casserole in baking dish.
Save this recipe!
Type your email & I’ll send it to you!

Recipe testing notes

For the past 10 years, I’ve tested every recipe before sharing it with you! These notes give you a peek into the process of developing this green bean casserole recipe.

The homemade mushroom soup was the whole reason I wanted to develop this. I cook the mushrooms down until they’ve browned and released their liquid, because that’s where all the deep flavor comes from, and rushing that step left the sauce watery and bland.

The baked onions took the most trial and error. Slicing them really thin, a mandoline helps here, is what lets them crisp up instead of going leathery. But the bigger lesson was watching them like a hawk at the end, because they go from golden to burnt in a matter of a minute or two. Spreading them in a single layer so they’re not crowded helped them crisp evenly too.

Happy Cooking!
– Yumna

Green Bean Casserole Ingredients

Ingredients for recipe: panko, water, flour, cornstarch, milk, salt and pepper, oil, soy sauce, garlic, onions, green beans, and sliced mushrooms.
  • Green beans: I use frozen cut green beans because they’re convenient and you don’t need to thaw them first. If you’d rather make a fresh green bean casserole, blanch 2 pounds of trimmed fresh green beans for 4–5 minutes, then drain well before assembling. Here’s a quick tutorial on how to blanch vegetables!
  • Mushroom sauce: Button mushrooms, onion, minced garlic, olive oil, milk, cornstarch, water, reduced-sodium soy sauce, salt, and black pepper create the sauce. Try cremini, shiitake, or oyster mushrooms, or a mix! Read my tips on how to slice mushrooms and how to slice an onion evenly so they brown instead of steaming. I use 2% milk to keep things lighter, but you can use whole milk, half and half, or heavy cream if you like. To make this dish vegan, use an unsweetened plant-based milk like oat, almond, or soy. To make it gluten-free, use tamari or coconut aminos in place of soy sauce.
  • Crispy onion topping: Onion, all-purpose flour, panko breadcrumbs, olive oil, salt, and black pepper. Slice the onion as evenly as possible so everything crisps at the same rate. A mandoline makes this much easier if you have one!

How to Make Green Bean Casserole

These step-by-step photos show how I make green bean casserole from scratch. For the full ingredient list and detailed instructions, scroll down to the recipe card below, or jump straight to the → Green Bean Casserole Recipe

1. Prep the onion topping

Sliced onions tossed with breading before cooking.

Coat the sliced onions with the flour, panko, seasonings, and olive oil, then spread them into an even layer on a parchment-lined baking sheet.

2. Bake until crispy

Panko coated sliced onions after baking.

Bake the onions, tossing once halfway through, until they’re golden brown and crisp. Keep an eye on them near the end so they don’t burn.

3. Brown the mushrooms

Mushrooms and oil in a large skillet.

Cook the mushrooms in olive oil until they’ve released their moisture and are nicely browned.

4. Add the onion and garlic

Thinly sliced onions and garlic added to pan with cooked mushrooms.

Stir in the onion and garlic, then continue cooking until the onion softens and the garlic smells fragrant.

5. Add the milk

Milk and slurry added to sauteed veggies in pan.

Pour in the milk and bring everything to a gentle simmer while stirring occasionally.

6. Finish mushroom soup

Soy sauce, salt and pepper added to recipe.

Make the cornstarch slurry before adding it to the skillet so it blends in smoothly without lumps. Whisk in the cornstarch slurry until the sauce thickens, then stir in the soy sauce, salt, and pepper.

7. Add the green beans

Frozen green beans added to a baking dish.

Spread the frozen green beans evenly in a baking dish.

8. Coat with mushroom sauce

Mushroom cream sauce added on top of frozen green beans in a baking dish.

Pour the mushroom sauce over the green beans and stir until everything is evenly coated.

9. Add crispy onion topping

Prepared casserole with onion topping before baking.

Scatter the baked onions over the top so the casserole is evenly covered.

10. Bake the casserole

Recipe after baking and crisp.

Bake until the filling is bubbling around the edges and the onion topping is deeply golden.

I have made the Campbell soup green bean casserole. My son, who is in his 20s, hated it. I printed your recipe to make. I decided I was just going to skip it and make a quicker recipe. He saw your recipe and wanted to make it. It was delicious, and we ate all the leftovers. Everyone loved this green bean casserole. Love your recipes ❤️❤️Lori

Full From Scratch Green Bean Casserole Recipe

Homemade green bean casserole recipe.

Green Bean Casserole Recipe

Author: Yumna Jawad
4.90 from 65 votes
Green bean casserole made from scratch with a homemade mushroom sauce and baked crispy onions. No canned soup!
Prep Time35 minutes
Cook Time25 minutes
Total Time1 hour
Servings8 servings

Video

Email This Recipe
Enter your email and I’ll send this directly to you. You’ll get new recipes from me every week!

Ingredients
  

For the Baked Crispy Onion Topping:

For the Mushroom Sauce and Green Beans:

  • 1 tablespoon olive oil
  • 1 pound mushrooms sliced
  • 1 large onion thinly sliced
  • 3 garlic cloves minced
  • 2 cups 2% milk
  • 3 tablespoons cornstarch
  • 2 tablespoons water
  • 2 teaspoons soy sauce
  • ½ teaspoon salt
  • ½ teaspoon black pepper
  • 2 pounds frozen cut green beans
  • Cooking spray

Instructions

Make the Baked Crispy Onions

  • Preheat the oven to 425°F. Line a large baking sheet with parchment paper.
  • In a large bowl, toss onions with flour, panko, salt, and pepper. Drizzle olive oil over the mixture and toss again until evenly coated.
  • Spread onions out in a single layer on the baking sheet and bake for 15–20 minutes, tossing halfway, until golden and crisp. Watch closely near the end to prevent burning.

Make the Mushroom Sauce

  • In a large skillet over medium-high heat, add olive oil and mushrooms. Cook until browned, softened and releasing liquid, about 10 minutes.
  • Reduce heat to medium, add the onion and garlic, and cook until onions are translucent, about 5 minutes more.
  • Add milk and bring to a low simmer. In a small bowl, stir together cornstarch and water, then add to the skillet. Stir frequently until thickened. Add the soy sauce, salt and pepper and stir again to combine.

Assemble and Bake

  • Place the frozen green beans in a 9×13 baking dish. Pour the mushroom mixture over the green beans and stir to coat. Top evenly with the baked crispy onions.
  • Bake until the casserole is bubbling and the topping is golden, 10–15 minutes. Serve warm.

Notes

Note: This recipe was updated in September 2025 to use a homemade crispy onion topping instead of breadcrumbs (as shown in the recipe video).
My Top Tip: Bake the onions until they’re fully crisp before adding them to the casserole. They soften slightly during the final bake, so starting with crispy onions gives the best texture.
Storage: Once your green bean casserole cools down to room temperature, transfer any leftovers to an airtight container or cover the baking dish tightly with foil or plastic wrap. Refrigerate it within 2 hours of baking. The casserole will last 3–4 days in the fridge. To reheat the casserole, warm individual portions in the microwave or place the whole dish in a 350°F oven until warmed through.
Freezing: Make sure to use a freezer-safe baking dish and, after cooling, wrap the dish in a few layers of foil to prevent freezer burn. It’ll last 3 months in the freezer. Thaw the casserole overnight in the fridge before reheating.

Nutrition

Serving: 1cup, Calories: 182kcal, Carbohydrates: 26g, Protein: 7g, Fat: 7g, Saturated Fat: 2g, Polyunsaturated Fat: 1g, Monounsaturated Fat: 4g, Trans Fat: 0.1g, Cholesterol: 5mg, Sodium: 400mg, Potassium: 651mg, Fiber: 4g, Sugar: 10g, Vitamin A: 845IU, Vitamin C: 17mg, Calcium: 142mg, Iron: 2mg

Nutrition information provided is an estimate. It will vary based on cooking method and specific ingredients used.

Did You Make This Recipe?

Recipe Variations

  • Add cheese: Stir 1 cup shredded Gruyère, Swiss, or white cheddar into the mushroom sauce before assembling.
  • Make it extra herby: Stir in 1 tablespoon chopped fresh thyme or rosemary with the mushrooms.
  • Add toasted nuts: Sprinkle ¼ cup chopped toasted pecans or toasted almonds over the green bean casserole after baking for extra crunch.

“I had never made green bean casserole before, and neither had my family. I made this for them and it was such a big hit. We all loved it! I was glad it was easy to make!!” – Gabriela

Recipe Tips

  1. Make a smoother mushroom sauce. After cooking, you could blend the sauce or dice the mushrooms instead of slicing them.
  2. Check the crispy onions often. Because they’re sliced so thin, they can burn super fast! I recommend checking them every minute toward the end of cooking.
  3. Don’t thaw the green beans first. If you do, this can make them taste watery and make the casserole soupy.

Serving Ideas

Troubleshooting

Can I make this green bean casserole ahead of time?

You can make the soup up to 4 days ahead of time and keep it covered in the fridge. Don’t add it to the green beans until you are ready to bake the casserole so they stay firm.

Why did my green bean casserole turn out watery?

Frozen green beans naturally release some moisture as they bake. The mushroom sauce should be thick before it goes into the baking dish, and the casserole should bake until it’s bubbling around the edges so any excess liquid cooks off.

Why aren’t my onions crispy?

You may have sliced the onions too thick or crowded them on the baking sheet. Spread them into a single layer and bake until they’re fully crisp before topping the casserole.

Why isn’t my mushroom sauce thick?

You may not have whisked the cornstarch slurry together completely, or you may not have simmered the sauce for long enough after adding it. Continue stirring until the sauce noticeably thickens before removing it from the heat.

Green bean casserole on dinner table.

More Veggie Side Recipes

4.90 from 65 votes (55 ratings without comment)

Rate and comment

Recipe Rating




Comments

  1. John C says:

    This was really good! I really enjoy green bean casserole, but think the traditional recipe was kind of bland. The fresh crispy onions and the mushroom soup really kicked up the beans. Next time I will try a little more garlic and soy sauce.

    1. Yumna J. says:

      Glad you liked it, John!! Thanks so much for the feedback!

  2. Amy says:

    This recipe was horrible. No flavor at all. I followed the recipe as written and even used a little more soy sauce and salt because I thought it seemed a little light for 2 lbs of green beans and I was right. I was very disappointed.

    1. Yumna J. says:

      Oh no! I’m so sorry to hear the recipe didn’t meet your expectations. A few other people have mentioned wanting more flavor so I am going to look into retesting this one. Thanks so much for the feedback, Amy!!

  3. Cindi says:

    Hi! What do I need to do to to use fresh green beans here? Do they need to be cooked beforehand somehow?

    1. Yumna J. says:

      Hi there! To use fresh green beans, make sure to blanch them first in boiling water. Here’s a tutorial for how to do that: How to Blanch Vegetables

  4. Sammy says:

    This looks so good and so easy! I have picky eaters who don’t like mushrooms so what are your thoughts on making the sauce and putting it in the blender to blend and hide the mushrooms?

    1. Yumna J. says:

      I think that’s a great idea!

      1. Willow says:

        I was hoping someone had asked this question! I’m planning on making this dish for Easter but I have texture issues and don’t like mushrooms for that reason. But blending them into the sauce will definitely solve that problem. I’ve used several of your recipes and love them! Can’t wait to try this one!

        1. Yumna J. says:

          It sounds like a great solution! I hope you enjoy it!

  5. Teresa says:

    Yummy!

    1. Yumna J. says:

      Thanks! So glad you liked it!!

  6. Becky says:

    I just found your website, because I got a new air fryer and wanted to cook green beans in it. I saw your “Air Fryer Green Beans in 10 Minutes” recipe, and will use it tonight. (Thanks!) But will this casserole recipe work in an air fryer, cooking the green beans in the air fryer, then mixing it with the stovetop-prepared soup and cooking the mixture in a dish in the air fryer? I’m needing to understand what types of mixtures will cook in this new-to-me device.

See All Comments