The mushrooms start out glossy and crowded in the skillet, then their liquid cooks away and they begin to brown. That little change is what makes Fresh Green Bean Casserole from Scratch taste like more than green beans under a creamy sauce. I like that the onions fry separately, too, so they stay crisp instead of disappearing into the casserole.
Fresh beans need a quick boil before they meet the sauce. It gives them a head start without turning them soft, and draining them well keeps extra water from thinning the mushroom sauce. The sauce itself comes together in the skillet with the mushrooms, garlic, broth, and milk, so every browned bit gets stirred in. After baking, you get tender green beans in a savory, smooth sauce with a crisp onion top.

Kitchen Note
Keep the fried onions off the casserole until its first bake is finished. A few minutes on top is enough to warm them and help them cling, without letting the sauce soften their crunch.
Save this fresh green bean casserole for its crisp onion topping and creamy mushroom sauce, all made from scratch.
The Fresh Beans Need a Head Start, Not a Long Boil
Fresh green beans can look sturdy enough to go straight into a casserole, but baking alone doesn’t give them the same even tenderness. A short boil starts cooking the centers while the beans are still bright and have a little bite. They’ll finish in the oven alongside the sauce, rather than sitting there raw in the middle while the top and edges cook through.
There’s a narrow window between crisp-tender and limp. Boil them too long and the oven turns them soft; skip the quick pre-cook and the beans may stay firmer than the sauce around them. Draining well matters for a different reason: water clinging to the beans goes straight into a sauce that’s meant to coat them. A clean kitchen towel gives the beans somewhere to dry while you get the mushroom base ready. That way the finished casserole stays creamy instead of pooling at the bottom.
What Makes the Onion Crust Crisp and the Sauce Hold Together

- Yellow onion and buttermilk — Thin rings give you plenty of surface area for a delicate, crisp coating. The buttermilk helps the cornstarch cling; separate the rings before soaking so they get coated evenly. A standard yellow onion is a good choice here, and there’s no need to seek out a specialty variety.
- Cornstarch — It fries into a light, crisp shell rather than a bready crust. Shake away loose excess before the rings go into the oil; thick patches can taste powdery. It’s already the coating used here, so there’s no need to add another dry ingredient.
- Fresh green beans — Fresh beans keep their shape through the brief boil and bake. Look for firm pods without wrinkled or soft spots. Trim the ends and cut the beans into even pieces so they cook at the same pace.
- Cremini mushrooms — Their earthy flavor gives the sauce depth, and they brown nicely once their moisture has cooked off. White button mushrooms work in the same amount if that’s what your store has; they’ll taste a little milder. Slice them evenly so the pieces cook together.
- All-purpose flour — This thickens the broth and milk into a sauce that clings to the beans. Stirring it briefly with the butter, mushrooms, and garlic helps cook out the raw flour taste before the liquids go in. A fresh bag from the pantry is fine; no special flour is needed.
- Chicken broth and whole milk — Broth brings savory depth, while whole milk keeps the sauce creamy without making it too heavy. Low-sodium broth leaves room for the salt to be adjusted at the end. For a vegetarian version, vegetable broth can replace the chicken broth in the same amount, with a slightly gentler savory taste.
- Vegetable oil — Choose a neutral oil that won’t compete with the onion. The important quality is that it’s suitable for frying; the oil itself doesn’t need to be an expensive brand.
Build the Mushroom Sauce Before the Beans Go In
Fry the onions in small batches
Heat the oil in a 10-inch skillet over medium heat until it reaches 350°F, and set paper towels on a rimmed baking sheet. Separate the onion rings and soak them in buttermilk for 10 minutes. Lift out a small batch, let the excess drip off, then coat it in cornstarch and shake away what doesn’t cling. Fry in batches for 2 to 3 minutes, turning once, until golden and crisp; crowding the skillet makes the rings cook less evenly.
Blanch and dry the green beans
Bring the water to a boil in a 6-quart pot, add the trimmed beans, and boil for 3 minutes. They should look bright green and bend slightly while still holding their shape. Drain them well and spread them across a clean kitchen towel. Grease a 9×13-inch baking dish with 1 tablespoon of butter while the beans drain.
Brown the mushrooms and thicken the sauce
Melt the remaining butter in a 12-inch skillet over medium heat, add the sliced mushrooms, and cook for 6 to 8 minutes, stirring occasionally. They’re ready when they’ve browned and the liquid they released has evaporated; if they’re still sitting in liquid, give them a little longer. Stir in the garlic for 30 seconds, then sprinkle in the flour and cook for 1 minute while stirring. Gradually whisk in the broth and milk, bring the sauce to a simmer, and whisk for 2 to 3 minutes until it thickens.
Bake until the edges bubble
Stir the salt and pepper into the sauce, fold in the green beans, and transfer everything to the prepared baking dish. Bake at 375°F for 20 to 25 minutes, looking for bubbles around the edges rather than relying only on the clock. Scatter the crispy onions over the casserole and bake for 5 minutes more. Let it rest for 10 minutes before serving so the sauce can settle around the beans.
Two Easy Ways to Adapt This Green Bean Casserole
Make it vegetarian with vegetable broth
Use vegetable broth in place of the chicken broth, keeping the same amount. The sauce will still be creamy and savory, though it won’t have the same poultry-rich note. The rest of the casserole stays the same.
Use white button mushrooms
Swap in the same amount of sliced white button mushrooms for the cremini. They have a milder, less earthy flavor, but brown and thicken into the sauce in the same way. Keep the slices similar in size for even cooking.
Storage and Reheating
- Refrigerator: Store leftovers in a covered container for 3 to 4 days. The onions soften as they sit against the sauce.
- Freezer: Freezing isn’t my first choice. The creamy sauce can separate, the beans soften, and the onion topping loses its crunch when thawed.
- Reheating: Reheat individual portions in the microwave until they reach 165°F. Heat just what you plan to eat; repeated reheating softens the beans and topping further.
Questions That Come Up Before the Casserole Goes in the Oven

Fresh Green Bean Casserole from Scratch
Ingredients
Equipment
Method
- Heat the vegetable oil in a 10-inch skillet over medium heat to 350°F.
- Line a rimmed baking sheet with paper towels.
- Separate the onion rings and soak them in the buttermilk for 10 minutes.
- Lift the onion rings from the buttermilk in small batches, let excess buttermilk drip off, then toss them in the cornstarch to coat and shake off the excess.
- Fry the onion rings in batches for 2 to 3 minutes, turning once, until golden and crisp; drain them on the paper towels.
- Preheat the oven to 375°F.
- Bring the water to a boil in a 6-quart pot.
- Add the green beans and boil for 3 minutes, until bright green and crisp-tender; drain well and spread them on a clean kitchen towel.
- Grease a 9x13-inch baking dish with 1 tablespoon of the butter.
- Melt the remaining 3 tablespoons butter in a 12-inch skillet over medium heat, add the mushrooms, and cook for 6 to 8 minutes, stirring occasionally, until browned and their released liquid has evaporated.
- Add the garlic and cook for 30 seconds.
- Sprinkle in the flour and cook for 1 minute, stirring.
- Gradually whisk in the chicken broth and milk, bring the sauce to a simmer, and cook for 2 to 3 minutes, whisking, until thickened.
- Stir in the salt and pepper, fold in the green beans, and transfer the mixture to the prepared baking dish.
- Bake for 20 to 25 minutes, until the sauce is bubbling around the edges.
- Scatter the crispy onions evenly over the casserole and bake for 5 minutes.
- Rest the casserole for 10 minutes before serving.