This green bean casserole from scratch is everything the classic should be — and so much better than any version made with canned soup. Fresh green beans blanched to crisp perfection, a silky homemade mushroom cream sauce that clings to every bean, and that iconic crunchy fried onion topping that makes this dish so irresistible. Making green bean casserole from scratch sounds like extra work but it’s genuinely one of the easiest things you can make — and the difference in flavor compared to the shortcut version is staggering. At Golden Recipes this is the casserole I make every single holiday and honestly quite a few regular Tuesdays too.
Why You’ll Love This Green Bean Casserole From Scratch
The homemade mushroom cream sauce is the heart of this recipe and it’s genuinely revelatory. Real mushrooms sautéed in butter with garlic and onion, thickened with flour and enriched with milk and broth — it’s deeply savory, aromatic, and has a richness that no canned soup can replicate. It coats every green bean beautifully and turns golden and bubbly in the oven in a way that makes the whole kitchen smell incredible.
It’s also endlessly flexible. Make it dairy-free, make it gluten-free, fold in extra cheese, add shredded chicken — the base recipe is solid enough to handle all of it without losing its identity. And because you control every ingredient there’s no mystery sodium or preservatives. Just real food that tastes exactly like comfort food is supposed to taste.
Equipment You’ll Need
- Large pot for blanching
- Colander for draining
- Large skillet or sauté pan
- Whisk
- 9×13 inch baking dish
- Wooden spoon or spatula
- Measuring cups and spoons
Ingredients
- 1 lb fresh green beans, trimmed and halved
- 2 tablespoons butter
- 1 tablespoon olive oil
- 1 small onion, finely diced
- 3 cloves garlic, minced
- 8 oz fresh mushrooms, sliced
- 2 tablespoons all-purpose flour (or cornstarch for gluten-free)
- 1½ cups whole milk
- ½ cup vegetable broth
- ½ cup shredded cheddar cheese (optional)
- ½ teaspoon salt
- ¼ teaspoon black pepper
- 1 cup crispy fried onions
- Fresh thyme or parsley for garnish
Substitutions
For gluten-free use cornstarch instead of flour — mix 1 tablespoon cornstarch with 2 tablespoons cold water to make a slurry and whisk it in. For dairy-free use oat milk or unsweetened almond milk and replace butter with olive oil. Frozen green beans work well if thawed and patted completely dry. Cremini or shiitake mushrooms give a deeper more complex flavor than regular white mushrooms. Add shredded rotisserie chicken to the filling for a complete one-dish meal. Gruyère or Swiss cheese can replace cheddar for a more sophisticated flavor profile.
How to Make Green Bean Casserole From Scratch
Blanch the Green Beans
Preheat your oven to 375°F (190°C). Bring a large pot of heavily salted water to a boil. Add the trimmed and halved green beans and blanch for 4 to 5 minutes until bright green and crisp-tender — they should have a bite but not be raw. Drain immediately in a colander and pat dry with paper towels. Dry beans are essential — excess moisture thins the sauce.
Sauté the Aromatics and Mushrooms
In a large skillet melt the butter with the olive oil over medium heat. Add the diced onion and cook for 3 to 4 minutes until soft and translucent. Add the minced garlic and cook for 30 seconds. Add the sliced mushrooms and cook for 5 to 6 minutes stirring occasionally — let them brown and release all their moisture. Don’t rush this step — golden mushrooms are the flavor backbone of the entire sauce.
Make the Cream Sauce
Sprinkle the flour over the mushroom mixture and stir for about 1 minute to cook out the raw flour taste. Slowly pour in the milk while whisking constantly — add it gradually to prevent lumps. Add the vegetable broth and continue whisking. Bring to a gentle simmer over medium heat and cook for 3 to 4 minutes until the sauce thickens to a coating consistency. Season with salt and pepper. If using cheese stir it in now and let it melt into the sauce completely.
Combine and Transfer
Add the blanched green beans to the skillet and stir gently to coat every bean in the creamy mushroom sauce. Taste one more time and adjust seasoning. Transfer the entire mixture to your greased 9×13 baking dish and spread into an even layer making sure the sauce covers everything evenly.
Top and Bake
Scatter the crispy fried onions generously and evenly across the entire surface — cover every inch for maximum crunch. Place in the preheated oven uncovered and bake for 20 to 25 minutes until the sauce is bubbling at the edges and the onion topping is deep golden brown. Rest for 5 minutes before serving. Garnish with fresh thyme or parsley.
Variations
- Extra cheesy — stir ½ cup cheese into the sauce AND sprinkle another ½ cup on top before the onions
- Protein packed — fold shredded rotisserie chicken into the sauce with the green beans
- Mushroom lover’s version — use 12 oz mushrooms instead of 8 and add a splash of soy sauce for deeper umami
- Herb finish — add fresh thyme and a squeeze of lemon juice right before serving for brightness
- Breadcrumb topping — mix ½ cup panko with 1 tablespoon melted butter and scatter over the top alongside the fried onions
What to Serve With It
This green bean casserole from scratch is the perfect side dish for roasted chicken, turkey, or glazed ham. For the holidays it belongs on the table next to mashed potatoes, stuffing, and cranberry sauce — it’s a non-negotiable. As a vegetarian main serve it with warm crusty bread and a simple tomato salad. It also works beautifully alongside roasted salmon or grilled pork chops for a weeknight dinner that feels special without any real effort.
Pro Tips
- Don’t skip patting the beans dry — water in the beans dilutes the sauce and makes it runny
- Brown the mushrooms properly — pale unsautéed mushrooms give you a bland tasteless sauce
- Add milk slowly while whisking — this is the key to a completely smooth lump-free sauce
- Add crispy onions right before baking — never before, they’ll go soggy
- Bake uncovered the entire time — you need that top exposed to get the golden crunchy finish
Common Mistakes
- Skipping the blanching step — raw beans in the oven come out tough and chewy
- Not browning the mushrooms — this is where the deep savory flavor comes from, don’t rush it
- Adding all the milk at once — causes lumpy sauce, always add gradually while whisking
- Covering while baking — traps steam and makes the onion topping soggy instead of crunchy
- Not resting before serving — the sauce needs 5 minutes to set or it runs everywhere when you scoop
Storage and Make-Ahead
This is one of the best make-ahead dishes you’ll ever make. Assemble everything except the crispy onion topping up to 24 hours ahead, cover and refrigerate. Add the onions right before baking and bake as directed adding 10 extra minutes. Store leftovers covered in the fridge for 3 to 4 days. To reheat cover with foil and bake at 350°F for 20 minutes then uncover for 5 minutes to crisp up the topping. Microwave works for individual portions but the onions soften.
FAQ
Can I use canned green beans?
You can but fresh or frozen give dramatically better texture. Canned beans are already very soft and become mushy after baking. If using canned drain very well and skip the blanching step entirely.
Is this recipe gluten-free?
Use cornstarch instead of flour — mix 1 tablespoon cornstarch with 2 tablespoons cold water, whisk into the sauce. Also ensure your fried onions are certified gluten-free.
Can I make this dairy-free?
Yes — use oat milk instead of whole milk, replace butter with olive oil, and skip the cheese or use a dairy-free alternative. The sauce still thickens and tastes incredible.
How do I keep the onion topping crispy?
Always add them right before baking and bake uncovered. When reheating leftovers uncover for the last 5 minutes at 375°F to revive the crunch.
Conclusion
This Green Bean Casserole From Scratch proves that from-scratch doesn’t have to mean complicated. Real mushrooms, real cream sauce, real flavor — and it’s on the table in under an hour. Make it once and you’ll never go back to the canned version.
Green Bean Casserole From Scratch
By Sophia White — Golden Recipes
20 mins
45 mins
65 mins
6-8
240 kcal
Ingredients
- 1 lb fresh green beans, trimmed and halved
- 2 tablespoons butter
- 1 tablespoon olive oil
- 1 small onion, finely diced
- 3 cloves garlic, minced
- 8 oz fresh mushrooms, sliced
- 2 tablespoons all-purpose flour
- 1½ cups whole milk
- ½ cup vegetable broth
- ½ cup shredded cheddar cheese (optional)
- Salt and black pepper to taste
- 1 cup crispy fried onions
Instructions
- Preheat oven to 375°F (190°C). Blanch green beans in salted water 4-5 minutes. Drain and pat dry.
- Melt butter and olive oil in skillet. Sauté onion 3-4 minutes. Add garlic 30 seconds. Add mushrooms and cook until golden 5-6 minutes.
- Sprinkle flour over mushrooms and stir 1 minute. Slowly whisk in milk then broth. Simmer until thickened 3-4 minutes. Season and stir in cheese if using.
- Add green beans to sauce and stir to coat. Transfer to greased baking dish.
- Top with crispy fried onions. Bake uncovered 20-25 minutes until golden and bubbling.
- Rest 5 minutes, garnish and serve.

