Green Bean Casserole From Scratch
Recipes developed and tested by the ChefnFood editorial team, with chef-informed notes for real home kitchens.
This green bean casserole from scratch keeps everything people love about the classic green bean casserole, a creamy sauce and a crunchy fried onion topping, and swaps the canned cream of mushroom soup for a quick homemade mushroom sauce and tops the dish with crispy fried onions you make in a skillet. Fresh green beans are blanched so they stay bright green with a little bite, the mushrooms are browned for flavor, and the sauce is thickened with a simple butter and flour roux. It takes about an hour and a quarter, most of it hands-off, and the beans and sauce can be made a day ahead, which makes it an easy Thanksgiving side dish.
Ingredients
- 2 lb fresh green beans, trimmed and cut into 2-inch pieces
- 2 tbsp kosher salt, for the blanching water
- 4 tbsp unsalted butter, plus a little for the dish
- 8 oz cremini or white button mushrooms, chopped
- 1 small yellow onion or 2 shallots, finely chopped
- 3 cloves garlic, minced
- ¼ cup all-purpose flour
- 1 cup chicken or vegetable broth
- 1 cup half-and-half or whole milk
- 1 tsp soy sauce or Worcestershire sauce
- 1 tsp kosher salt, plus more to taste
- ½ tsp black pepper
- Pinch of ground nutmeg (optional)
- For the crispy onions: 2 medium yellow onions (about 1 lb), halved and very thinly sliced
- ½ cup all-purpose flour, for the onions
- ½ tsp kosher salt, for the onions
- 1 cup neutral oil, such as canola or vegetable, for frying
Instructions
- Make the crispy onions. Toss the sliced onions with ½ cup flour and ½ tsp salt in a large bowl until coated, separating the rings. Heat the oil in a large, deep skillet over medium-high heat to about 350°F (a piece of onion should sizzle right away). Shake excess flour off a third of the onions and fry, stirring often, 4 to 6 minutes, until deep golden brown. Lift them out with a slotted spoon onto paper towels and repeat with the rest. They crisp more as they cool. Stay with the pan the whole time and keep the heat steady; turn it down if the oil starts to smoke. Let the oil cool completely before discarding it.
- Preheat the oven to 375°F. Butter a 9-by-13-inch or 3-quart baking dish.
- Blanch the green beans. Bring a large pot of water and 2 tbsp kosher salt to a boil. Add the green beans and cook 4 to 5 minutes, until bright green and crisp-tender. Drain, then plunge them into a large bowl of ice water to stop the cooking. Drain well and pat dry with a towel; wet beans thin the sauce.
- Brown the mushrooms. Melt the butter in a large skillet over medium-high heat. Add the mushrooms and let them cook undisturbed for 2 minutes, then cook, stirring occasionally, 6 to 8 minutes more, until their liquid has cooked off and they are golden brown. Add the chopped onion and cook 3 to 4 minutes until soft. Add the garlic and cook 30 seconds.
- Make the mushroom sauce. Sprinkle the ¼ cup flour over the mushrooms and stir for 1 to 2 minutes to cook out the raw flour taste. Slowly stir in the broth, then the half-and-half, and bring to a simmer over medium heat. Simmer, stirring, 3 to 5 minutes, until the sauce is thick enough to coat a spoon. Stir in the soy sauce, 1 tsp salt, pepper, and nutmeg. Taste and add more salt if needed.
- Combine. Fold the green beans into the sauce until evenly coated, then spread the mixture in the baking dish.
- Bake. Bake uncovered for 20 minutes, until the sauce is bubbly around the edges. Scatter the crispy onions over the top and bake 5 minutes more. Let the casserole rest 5 minutes before serving.
Chef’s Take
A homemade green bean casserole tastes better than the canned-soup version for two reasons: browned mushrooms and green beans that still have some snap. Give the mushrooms time to cook dry and brown before the flour goes in; pale, steamed mushrooms make a sauce that tastes flat. Blanching the beans and shocking them in ice water keeps them bright green through the bake instead of turning olive drab.
Chef trick: a teaspoon of soy sauce or Worcestershire sauce gives the sauce the savory depth people expect from mushroom soup without tasting like either one. Add the onions only for the last 5 minutes so they stay crisp instead of soaking up sauce.
Substitutions
- Store-bought fried onions: skip step 1 and use about 1½ cups of canned French fried onions. Add them for the last 5 minutes, as above.
- Frozen green beans: use 2 lb frozen cut green beans. Skip the blanching; thaw, drain, and pat them dry.
- Canned green beans: use 3 cans (14.5 oz each), drained well. They will be softer.
- Fried shallots: use 6 to 8 large shallots instead of the yellow onions for the topping. They fry a little faster.
- Without mushrooms: leave them out and add a second chopped onion, cooked until golden.
- Lighter sauce: use whole or 2% milk in place of half-and-half. The sauce will be a little thinner.
- Vegetarian: use vegetable broth and soy sauce rather than Worcestershire, which usually contains anchovies.
- Gluten-free: thicken the sauce with 2 tbsp cornstarch whisked into the cold broth, and use store-bought gluten-free fried onions or skip the topping.
- Crunchy extra topping: mix ½ cup panko with 1 tbsp melted butter and 2 tbsp grated Parmesan and sprinkle it over the casserole before baking.
How to make green bean casserole ahead
Up to 1 day ahead, blanch the beans, make the mushroom sauce, combine them in the baking dish, cover, and refrigerate. Bake from the fridge at 375°F, adding 10 to 15 minutes, until the center is hot and bubbly. The crispy onions can be fried 1 day ahead and kept airtight at room temperature; warm them on a sheet pan for a few minutes to re-crisp. If oven space is tight on Thanksgiving, the casserole bakes well alongside other sides at 350°F to 400°F; adjust the time and watch the onions.
Storage and reheating
Refrigerate leftovers within 2 hours of baking in a covered, shallow container and eat them within 3 to 4 days, following USDA leftover guidance. Reheat to 165°F, covered, in a 350°F oven or the microwave; our cooking temperatures chart lists the safe temperatures for reheating. The onions soften in the fridge, so add a handful of fresh fried onions when you reheat. Green bean casserole can be frozen, but the beans turn soft and the sauce can separate, so it is best eaten fresh.
Serving suggestions
Serve it as a Thanksgiving side dish next to roast turkey, mashed potatoes, gravy, and cranberry sauce. It also goes with a holiday ham, roast chicken, or our classic meatloaf any night of the week. To feed a bigger crowd, double the recipe and bake it in two dishes.
FAQ
Do you have to cook fresh green beans before making green bean casserole?
Yes. Raw green beans will not soften enough in 25 minutes in the oven. A 4- to 5-minute blanch in salted boiling water, followed by an ice bath, cooks them to crisp-tender and keeps them bright green.
Do you need fresh mushrooms?
Fresh mushrooms give the best flavor and texture. Cremini mushrooms have a little more flavor than white button mushrooms, and either works. If you skip mushrooms, see the substitution above.
How do you keep green bean casserole from getting soggy?
Dry the blanched beans well, cook the mushrooms until their liquid is gone, and add the crispy fried onions only for the last 5 minutes of baking so the topping stays crisp and golden brown.
Can you make green bean casserole without canned soup?
Yes. That is what this recipe does: butter, flour, broth, and half-and-half cooked with browned mushrooms make a homemade mushroom sauce that replaces the cream of mushroom soup.
How long does green bean casserole take to bake?
About 25 minutes at 375°F: 20 minutes until bubbly, then 5 more with the onions on top. Add 10 to 15 minutes if it goes in cold from the fridge.
Can you add fresh herbs?
Yes. A teaspoon of fresh thyme leaves stirred into the mushrooms works well. Our guide to storing fresh herbs helps leftover thyme last through the holiday.
Sources
More weeknight dinners like this one
The Weekly Meal Plan: five dinners and a grocery list every week, plus new recipes.