Dinners

Elevated Green Bean Casserole with Homemade Mushroom Sauce

Updated · By Patriot Kitchen

Total timeprep + cook
1 hr 10 min
Prep
30 min
hands-on
Cook
40 min
oven or stovetop
Serves
8
as written
USDA safe temp
160°F / 71°C
check the thickest part

Save

This dish replaces canned condensed soup with a scratch-made mushroom béchamel and fresh blanched beans for a brighter taste and creamier texture. It is a savory side dish with an earthy flavor profile and a crunchy topping, suitable for holiday dinners or potluck gatherings.

What makes the sauce creamy and stable?

The stability of the sauce depends on the roux, a 1:1 ratio of butter to flour by weight. This mixture thickens the milk by trapping liquid molecules in a starch network, preventing the sauce from separating or becoming watery during the baking process. Using fresh mushrooms instead of canned varieties adds a deeper umami flavor and a more substantial texture to the base.

What ingredients are needed?

  • 1.5 lbs (680 g) fresh green beans, trimmed
  • 4 tbsp (56 g) unsalted butter, divided
  • 1 lb (450 g) cremini or button mushrooms, finely chopped
  • 1 small yellow onion, finely diced
  • 3 cloves garlic, minced
  • 1/4 cup (30 g) all-purpose flour
  • 2 cups (480 ml) whole milk, warmed
  • 1 tsp (5 g) salt, divided
  • 1/2 tsp (3 g) black pepper
  • 1/2 tsp (2 g) dried thyme
  • 1/4 tsp (1 g) ground nutmeg
  • 1 cup (100 g) fried onions, store-bought or homemade
  • 1/4 cup (60 ml) heavy cream
  • 2 tbsp (30 ml) fresh parsley, chopped

Instructions

  1. Preheat the oven to 350°F (175°C). Grease a 9×13 inch (23×33 cm) baking dish with butter or non-stick spray.
  2. Bring a large pot of salted water to a boil. Add the trimmed green beans and boil for 3-5 minutes until they are bright green and tender-crisp. Immediately drain them and plunge them into a bowl of ice water to stop the cooking process. Drain again and pat dry with a towel.
  3. In a large skillet or saucepan, melt 2 tbsp (28 g) of butter over medium heat. Add the chopped mushrooms and diced onion. Sauté for 8-10 minutes until the mushrooms have released their moisture and turned golden brown.
  4. Stir in the minced garlic and dried thyme. Cook for 1 minute until fragrant.
  5. Add the remaining 2 tbsp (28 g) of butter to the skillet. Once melted, sprinkle in the flour and stir constantly for 2 minutes to cook out the raw flour taste.
  6. Slowly whisk in the warmed whole milk, one half-cup at a time, stirring constantly to prevent lumps. Simmer for 5-7 minutes on low heat until the sauce thickens enough to coat the back of a spoon.
  7. Remove the pan from heat. Stir in the heavy cream, salt, black pepper, and nutmeg. Fold in the blanched green beans and chopped parsley.
  8. Pour the mixture into the prepared baking dish and spread it evenly.
  9. Top the casserole with the fried onions, spreading them in a single layer across the surface.
  10. Bake at 350°F (175°C) for 20-25 minutes, until the sauce is bubbling around the edges and the topping is golden brown.
  11. Remove from the oven and let it rest for 5-10 minutes before serving. Ensure the internal temperature of the casserole reaches 160°F (71°C) as per USDA FSIS safe minimum guidelines for egg or dairy-based casseroles.

Why is the casserole too runny or too dry?

A runny casserole usually results from skipping the blanching-and-drying step for the green beans. Fresh beans release water as they bake; if they are not pre-cooked and dried, that water dilutes the sauce. To fix a runny sauce during the stovetop phase, simmer it for an additional 3-5 minutes or whisk in a small slurry of 1 tsp cornstarch and 1 tsp water.

A dry casserole occurs if the sauce is over-reduced on the stove or if the dish is baked too long. If the sauce looks too thick before adding the beans, whisk in an extra 2-4 tbsp (30-60 ml) of milk or heavy cream. If the topping browns too quickly while the center is still cold, cover the dish loosely with aluminum foil for the final 10 minutes of baking.

Dense or gummy textures are often caused by adding cold milk to the hot roux too quickly, which creates clumps of flour. Warming the milk first or adding it in very small increments ensures a smooth emulsion. If lumps form, use a whisk vigorously or pass the sauce through a fine-mesh strainer before adding the vegetables.

How do I store and reheat the leftovers?

Transfer leftover casserole into airtight containers and refrigerate within 2 hours of cooking. The dish will keep in the refrigerator for 3-4 days. Because the sauce contains dairy, do not leave it at room temperature for more than 2 hours (or 1 hour if the ambient temperature is above 90°F/32°C).

To reheat, place the casserole in an oven-safe dish and cover with foil to prevent the topping from burning. Bake at 325°F (160°C) for 15-20 minutes or until the center is hot. For smaller portions, microwave on medium power in 1-minute intervals, stirring gently. Ensure the reheated food reaches an internal temperature of 165°F (74°C) as per USDA FSIS guidelines for leftovers.

This dish does not freeze well because the cream-based sauce can break and the green beans may become mushy upon thawing. If freezing is necessary, freeze the mushroom sauce separately for up to 3 months, then thaw and combine with freshly blanched beans before baking.

What can I swap in this recipe?

For a different mushroom profile, replace cremini mushrooms with 1 lb (450 g) of a mix containing shiitake or oyster mushrooms. Shiitakes provide a more intense, woody flavor, while oyster mushrooms are milder and softer. The ratio remains 1:1 by weight.

To make a dairy-free version, substitute the butter with an equal amount of vegan butter or olive oil, and replace the whole milk and heavy cream with unsweetened soy or oat milk. Note that coconut milk may add a distinct coconut flavor that alters the savory profile. The thickening process remains the same, though some plant-based milks may require an extra 5 minutes of simmering to reach the desired consistency.

If fried onions are unavailable, you can make a homemade topping. Toss 1 cup (100 g) of thinly sliced raw onions with 1 tbsp (15 ml) oil and a pinch of salt. Bake them at 400°F (200°C) for 15-20 minutes, tossing halfway through, until crisp. This homemade version is less salty and has a more natural onion flavor than the processed alternative.

How should I serve and pair this dish?

This casserole is a rich, creamy side that pairs best with lean proteins. It complements a roasted turkey breast, honey-glazed ham, or a lean beef tenderloin. The acidity of a cranberry sauce or a crisp apple chutney helps cut through the richness of the mushroom béchamel.

For a lighter meal, serve the casserole alongside a bitter green salad, such as arugula or radicchio, dressed with a simple lemon vinaigrette. The citrus notes balance the earthy mushrooms and buttery sauce. If serving at a potluck, keep the dish in a slow cooker on the “Warm” setting or in a chafing dish to maintain the temperature and prevent the sauce from thickening too much as it cools.

What are the measurement conversions for different yields?

To double the recipe for a larger crowd (serves 16), use a 12×20 inch (30×50 cm) roasting pan. Double all ingredients: 3 lbs (1.36 kg) green beans, 8 tbsp (112 g) butter, 2 lbs (900 g) mushrooms, and 4 cups (960 ml) milk. The baking time typically increases by 10-15 minutes due to the increased volume of the sauce; check for bubbling edges and a golden top.

For a smaller batch (serves 4), use a 8×8 inch (20×20 cm) square pan. Halve all ingredients: 0.75 lbs (340 g) green beans, 2 tbsp (28 g) butter, 0.5 lbs (225 g) mushrooms, and 1 cup (240 ml) milk. Reduce the baking time to 15-20 minutes, as the smaller volume heats through more quickly.

Related

Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.

Spotted an error? Tell us and we will correct it (corrections policy).