This green bean casserole recipe is easy to build with briefly cooked beans, a homemade mushroom sauce, and a crisp onion topping. Allow about one hour for six side servings. Cook the beans before assembly so the final bake can focus on heating the sauce and topping. The sauce uses butter, flour, broth, and milk rather than condensed soup, giving you control over salt and thickness. Keep the topping separate until the casserole is ready for its last baking stage. A hot center and tender beans matter more than a dark onion crust, which can brown before the filling is heated through.

Servings: 6 sides.
Ingredient notes
Use a 2-quart (1.9-liter) baking dish. Prepared fried onions vary in density and seasoning, so weigh according to the product if precision matters. This is a sauce-from-scratch formulation with a purchased topping. A homemade fried-onion project needs its own drying and frying instructions rather than being assumed part of this short method.
Tips for the best green bean casserole
Drain the beans well. Lift them out as soon as they are just tender. Shake off the water in a colander before folding them into the mushroom sauce. They will continue cooking in the oven.
Brown the mushrooms before adding flour. They release liquid first. Wait until most of it evaporates so the sauce develops a deeper flavor and the flour goes into fat rather than a puddle. Add the broth slowly and stir after each addition.
Save the onions for the end. They are already crisp. Adding them once the casserole is hot lets them brown without spending the full bake time in steam. Watch closely if your topping is already dark.
Use a shallow baking dish. A thick layer takes longer to heat at the center and can leave the outer beans overcooked. Let the casserole rest briefly before serving so the sauce settles around the beans.

Variations
With frozen beans
Cook the beans according to the package until just tender, then drain well. If they release more water as they stand, drain them again before adding the sauce.
With canned beans
Drain the beans and skip boiling. Fold them gently into the sauce so they do not break. Taste before salting because canned beans and fried onions can both be salty.
For a larger group
Divide a double batch between two dishes so both heat evenly. Add the topping only after each dish reaches 165°F (74°C) in the center. Use vegetable broth for a meat-free side and check the fried-onion ingredients.

What to serve with green bean casserole
Serve with roast chicken or turkey, baked fish, mashed potatoes, or a crisp salad. For a cold side instead, try green bean salad. For a casserole that can serve as the main, see penne pasta casserole or beef enchilada casserole.
Storage and reheating
Cool and refrigerate within 2 hours, or within 1 hour above 90°F (32°C). Keep at 40°F (4°C) or colder and use within 3–4 days. Reheat to 165°F (74°C). Add a fresh handful of fried onions near the end if the original topping has softened.
FAQ
Can I make green bean casserole ahead of time?
Yes. Cook the beans and mushroom sauce, cool them promptly, and refrigerate the assembled casserole without the fried onions. Bake until the center reaches 165°F (74°C), allowing extra time for a cold dish. Add the onions near the end so they stay crisp while the sauce heats through.
How long does green bean casserole keep in the fridge, and can it be frozen?
Use refrigerated casserole within 3–4 days. You can freeze promptly cooled portions without the topping, though the beans may soften and the sauce may separate. Thaw in the refrigerator and reheat to 165°F (74°C). Add fresh fried onions at the end for crunch.
What can I substitute if I don’t have a key ingredient?
Use plain frozen or drained canned beans if you have no fresh ones. Cremini or white button mushrooms both work. If fried onions are unavailable, sprinkle on toasted breadcrumbs shortly before serving. Vegetable broth works in place of chicken broth. Taste the finished sauce before adding more salt.
Cooking guide: How to Cook Green Beans.