There is a version of green bean casserole that lives in every family’s memory — the one with the familiar red-and-white can, the French-fried onion rings from a tin, and a texture that somehow manages to be both gluey and beloved at the same time. And then there is this version. The one you make entirely from scratch, the one that fills your kitchen with the deep, earthy smell of sautéed mushrooms and cream reducing into something downright luxurious, the one where guests lean over the casserole dish before it even hits the table. This is the green bean casserole that graduates from obligatory side dish to the thing people are quietly hoping you’ll bring every single year.
Making green bean casserole from scratch isn’t harder — it’s just more intentional. Instead of a can of condensed cream of mushroom soup, you’re building a real béchamel loaded with fresh cremini mushrooms, shallots, garlic, thyme, and a splash of dry sherry. Instead of pulling a can of pre-fried onions off a shelf, you’re frying thinly sliced shallots in hot oil until they shatter into golden, salty, impossibly crispy rings that you will absolutely sneak-eat before the casserole is assembled. The green beans themselves stay vibrant and tender-crisp — not the olive-drab, fully surrendered vegetables that haunt lesser versions of this dish. Every element is dialed in, and when it all comes together in that bubbling, golden-topped baking dish, it is genuinely one of the most satisfying things you will cook all year.
This recipe was built for Thanksgiving and Christmas tables, but honestly? It doesn’t need a holiday excuse. It’s the kind of rich, savory comfort food that belongs on a Tuesday if you want it there. If you’re already planning your holiday spread, pair it alongside our Dry Brine Turkey or our crowd-favorite Make Ahead Mashed Potatoes for a spread that will genuinely stop conversation at the table.


Why You’ll Love This Recipe
- The sauce is the real deal. A from-scratch mushroom cream sauce with sautéed cremini mushrooms, garlic, shallots, thyme, and dry sherry — it’s rich, savory, and deeply flavorful in a way no canned soup can replicate.
- Those crispy fried shallots. Homemade shallot rings fried until shatteringly crisp are a revelation. They stay crunchier longer than the canned alternative and add a genuine sweetness and depth.
- Tender-crisp green beans. A quick blanch means the beans stay bright green and have just the right bite — no mushy, army-green beans here.
- Make-ahead friendly. Assemble the whole casserole the night before and refrigerate. Just add the shallots and bake when you’re ready.
- Crowd-pleasing and holiday-ready. This is the kind of dish that generates recipe requests and earns you permanent invitation to the holiday table.
- No mystery ingredients. Every element is something you can pronounce, taste, and adjust to your liking.
Key Ingredients
The backbone of this entire dish is the cremini mushrooms — sometimes labeled baby bella — and the difference they make over canned soup is staggering. When sautéed in butter over high heat, creminis shed their moisture and develop deep, savory, almost meaty flavor notes that you simply cannot manufacture from a can. Use a full pound; this is not the place to be shy. Heavy cream is what transforms the mushroom base into the silky, clinging sauce that coats every green bean — it reduces beautifully and carries all those savory aromatics with it. A splash of dry sherry added to the mushrooms before the cream goes in might seem like a small thing, but it adds a subtle complexity and brightness that elevates the whole sauce from good to craveable. For the green beans themselves, fresh green beans are non-negotiable here — frozen can technically work in a pinch, but fresh beans blanched just until tender-crisp hold their color and texture in a way that makes the finished dish look as stunning as it tastes. The shallots do double duty in this recipe: some go into the sauce for gentle sweetness, and the rest get thinly sliced and fried in oil until golden and crispy for the iconic topping. Finally, gruyère cheese stirred into the cream sauce adds a nutty, slightly funky richness that makes the whole thing taste distinctly restaurant-quality.
Pro Tips & Variations


Fry the shallots in batches. Crowding the pan drops the oil temperature and leads to soggy, pale shallots instead of crispy, golden ones. Work in two or three batches and drain them on a paper-towel-lined plate. Season immediately with salt while they’re still hot — that’s when the seasoning sticks.
Don’t skip blanching the green beans. Two minutes in boiling salted water followed by an ice bath locks in that vibrant green color and parcooks the beans so they finish perfectly in the oven without going limp. Skipping this step is how you end up with drab, overcooked beans.
Build flavor in layers. Cook the shallots and garlic in butter until truly softened before adding the mushrooms. Then let the mushrooms cook undisturbed long enough to actually brown — about 4 to 5 minutes — before stirring. Browning equals flavor. As Serious Eats notes in their deep dive on green bean casserole, the Maillard reaction happening on those mushrooms is what separates a great sauce from a flat one.
Make-ahead instructions: Assemble the casserole (without the fried shallots) up to 24 hours ahead, cover tightly, and refrigerate. Pull it out 30 minutes before baking to take the chill off. Add the shallots in the last 10 minutes of baking so they stay crispy.
Variation — Add pancetta: Render a few ounces of diced pancetta in the pan before adding your butter and mushrooms. The fat adds incredible richness and the crispy bits fold into the sauce beautifully.
Variation — Make it vegetarian: This recipe is already vegetarian as written. Use vegetable broth in place of chicken broth if your recipe calls for it, and ensure your gruyère is made with vegetable rennet.
Variation — Add heat: A pinch of cayenne or a drizzle of chile oil into the cream sauce gives the whole dish a subtle, warming heat that plays beautifully against the richness of the cream and cheese.
According to Food Network’s from-scratch version, the casserole is forgiving enough to accommodate a range of mushroom varieties — try a mix of cremini and shiitake for an even more complex, earthy depth.
Nutritional Highlights
While this green bean casserole from scratch is unabashedly rich — and proud of it — it does deliver genuine nutritional value alongside all that indulgence. Fresh green beans are an excellent source of vitamins C and K, plus dietary fiber and folate. Cremini mushrooms bring a meaningful dose of B vitamins, selenium, and antioxidants. The mushroom cream sauce does contain heavy cream and butter, which contribute saturated fat, but you’re also getting protein from both the cheese and the mushrooms. This is holiday comfort food at its finest, not a diet dish — and it deserves to be enjoyed exactly as written, served generously and without apology.
Frequently Asked Questions
Can I make green bean casserole from scratch ahead of time?
Absolutely, and it’s actually one of the best features of this recipe for holiday cooking. Prepare the mushroom cream sauce and blanch the green beans, then combine them in your baking dish, cover tightly with plastic wrap or foil, and refrigerate for up to 24 hours. Fry the shallots and store them separately at room temperature in a single layer on a paper-towel-lined plate. When you’re ready to bake, let the casserole sit at room temperature for 30 minutes, then bake covered for 20 minutes, uncover, add the fried shallots, and bake for another 10 minutes until bubbling and golden. This method keeps the shallots perfectly crispy and takes the stress off your holiday cooking day.
Can I use frozen green beans instead of fresh?
You can use frozen green beans in a pinch, but fresh are strongly preferred for this recipe. Frozen beans release more water during baking, which can thin out your carefully crafted cream sauce and lead to a watery casserole. If you do use frozen, thaw them completely, pat them thoroughly dry with paper towels, and reduce your baking time slightly. Do not blanch frozen beans — they are already parcoked. That said, for the best texture, color, and overall result that truly lives up to the from-scratch effort you’re putting into the sauce and shallots, fresh green beans are the right call.
How do I store and reheat leftovers?
Store leftover green bean casserole in an airtight container in the refrigerator for up to 4 days. The shallots will lose some of their crispiness overnight, which is just the nature of the dish — they become more of a savory topping than a crunchy one, which is still delicious. To reheat, transfer to an oven-safe dish, cover loosely with foil, and warm in a 350°F oven for about 20 minutes until heated through. If you want to revive some crunch, uncover for the last 5 minutes. You can also microwave individual portions in 60-second intervals, stirring between each. If you want to go the extra mile, fry up a fresh small batch of shallots to top the reheated casserole — it takes five minutes and makes leftovers taste like a fresh batch.

Ready to Make the Best Green Bean Casserole of Your Life?
Once you’ve made this green bean casserole from scratch, the canned version simply won’t hold up anymore. The real mushroom cream sauce, the shatteringly crispy fried shallots, the vibrant tender-crisp beans — it all adds up to something that earns its place at the most important tables of the year. Whether you’re anchoring a full Thanksgiving spread with your Spatchcock Turkey or just feeding people you love on a cozy winter evening, this casserole delivers every single time.
If you make this recipe, we’d love to see it! Share your photos in the comments below, tag us on Instagram, or save this post to your holiday recipe boards on Pinterest so you can come back to it every year. And if someone at your table asks for the recipe — because they will — send them here. The more people who experience green bean casserole the way it was always meant to taste, the better.
Find the complete recipe card below ↓


Green Bean Casserole from Scratch
Equipment
- 9x13-inch baking dish
- Large deep skillet
- Medium saucepan for frying
- Large pot for blanching
- Slotted spoon
- Instant-read thermometer
- Whisk
Ingredients
- 6 large shallots peeled and thinly sliced into rings
- 1.5 cups vegetable oil for frying
- 0.5 cup all-purpose flour
- 0.5 tsp kosher salt plus more to season after frying
- 0.25 tsp black pepper
- 2 lbs fresh green beans trimmed and halved or left whole
- 1 tbsp kosher salt for blanching water
- 4 tbsp unsalted butter
- 3 medium shallots finely diced
- 5 cloves garlic minced
- 1 lb cremini mushrooms sliced
- 1 tsp fresh thyme leaves or 0.5 tsp dried thyme
- 0.33 cup dry sherry
- 3 tbsp all-purpose flour
- 1.5 cups chicken broth or vegetable broth
- 1.5 cups heavy cream
- 1 cup gruyère cheese shredded, divided
- 1 tsp kosher salt or to taste
- 0.5 tsp black pepper
- 0.25 tsp nutmeg freshly grated
Instructions
- In a shallow bowl, toss the sliced shallots with flour, salt, and pepper until lightly coated. Shake off any excess flour.
- Heat vegetable oil in a medium saucepan or skillet over medium-high heat until it reaches 350°F. Working in 2–3 batches, fry the shallots for 3 to 4 minutes per batch until golden brown and crispy. Do not crowd the pan.
- Remove with a slotted spoon and drain on a paper-towel-lined plate. Season immediately with salt. Set aside. They will crisp up further as they cool.
- Bring a large pot of water to a boil and add 1 tablespoon of kosher salt. Add the green beans and blanch for 2 minutes — they should be bright green and just barely tender.
- Immediately transfer the green beans to a bowl of ice water to stop cooking. Drain well and pat dry with paper towels. Set aside.
- Preheat your oven to 375°F. Grease a 9x13-inch baking dish and set aside.
- Melt butter in a large, deep skillet over medium heat. Add the diced shallots and cook, stirring occasionally, for 4 to 5 minutes until softened and translucent. Add garlic and thyme, cook for 1 minute more until fragrant.
- Increase heat to medium-high. Add sliced cremini mushrooms in a single layer and cook undisturbed for 4 to 5 minutes until browned on one side. Stir and continue cooking for another 3 minutes until mushrooms are golden and most of their moisture has evaporated.
- Pour in the dry sherry and cook, scraping up any browned bits from the bottom of the pan, for 1 to 2 minutes until the liquid is mostly absorbed.
- Sprinkle flour over the mushroom mixture and stir constantly for 1 minute to cook out the raw flour taste.
- Gradually pour in the chicken broth, stirring constantly to prevent lumps. Then pour in the heavy cream. Bring to a gentle simmer and cook, stirring frequently, for 5 to 6 minutes until the sauce thickens enough to coat the back of a spoon.
- Stir in 3/4 cup of the shredded gruyère, nutmeg, salt, and pepper. Taste and adjust seasoning as needed. Remove from heat.
- Add the blanched and dried green beans to the mushroom cream sauce and toss to coat completely. Transfer the mixture into the prepared baking dish and spread into an even layer.
- Sprinkle the remaining 1/4 cup of gruyère evenly over the top. Cover the dish tightly with foil and bake for 20 minutes.
- Remove the foil and scatter the crispy fried shallots evenly over the top. Return to the oven uncovered and bake for an additional 10 to 12 minutes until the edges are bubbling and the shallots are deep golden.
- Let the casserole rest for 5 minutes before serving. Enjoy immediately for maximum shallot crispiness.











