Ingredients
Method
- Trim 1.5 pounds fresh green beans and blanch them in boiling water at 212°F for 4 to 5 minutes. Move them with a slotted spoon into ice water for 3 minutes, then drain well and toss gently by hand to remove extra water. (I tested 6 minutes first and the beans lost too much snap.) The beans should stay bright green with a crisp tender bite. You'll see water droplets disappear from the surface after draining. Skip this timing and the casserole can turn soft later. Blanch at 212°F briefly because the heat preserves texture before baking.

- Cook 8 ounces sliced cremini mushrooms with 2 tablespoons butter over medium heat about 6 to 8 minutes until softened. Stir in 3 tablespoons all-purpose flour, then slowly whisk in 1.5 cups whole milk and 1 cup heavy cream while the sauce thickens. Add salt black pepper and garlic powder, then fold in the drained beans with a rubber spatula using slow circles. The sauce should coat the beans and leave a clean line when stirred. You'll smell the mushrooms deepen as the mixture thickens. Miss this stage and the casserole may become watery. Medium heat thickens the sauce without breaking the cream mixture.

- Transfer the coated beans and sauce into a 9x13 ceramic baking dish and spread the mixture unevenly. Add 1.5 cups crispy fried onions over the top, then bake at 375°F for 20 to 25 minutes until the sauce bubbles around the edges. Use a spatula to spread gently without crushing the beans. The top should show golden onion pieces with small darker spots and the sauce should bubble slowly. Listen for a gentle crackle from the topping. Go past 25 minutes and the onions can burn. Bake at 375°F so the topping browns while the creamy center stays smooth.

- Bake the assembled casserole at 375°F for another 5 to 8 minutes if needed, then rest it for 10 minutes before serving. Scoop one portion onto a white plate and keep the beans, sauce and topping together. (My first batch skipped the rest time and the sauce ran across the plate. Ten minutes fixed the texture.) The finished topping should be golden with irregular crispy edges while the sauce stays thick underneath. You'll notice the fresh bean color peeking through the creamy layer. Cutting the rest short makes the filling spread too much. Resting 10 minutes lets the sauce set around the beans.

Notes
Keep Green Bean Casserole with Fresh Green Beans in an airtight container in the refrigerator for up to 4 days. Freeze the casserole base without crispy fried onions for up to 2 months and wrap it tightly before freezing. Reheat at 350°F for 15 to 20 minutes and add fresh crispy onions during the last 5 minutes. Discard it if you notice sour smells, watery separation or unusual texture after storage.
