If your only memory of holiday green beans involves a tinny can of condensed soup and gray, overcooked canned vegetables, prepare to have your entire Thanksgiving table transformed. A true from-scratch homemade green bean casserole recipe doesn’t take hours of fussy chef work—in fact, the rich, velvety cremini mushroom and garlic-herb cream sauce comes together in one skillet in under 15 minutes. When you toss crisp-tender blanched French green beans (haricots verts) into that bubbling Gruyère-kissed mushroom velouté and crown the baking dish with a mountain of shatteringly crisp golden fried shallots and onions, this side dish regularly steals the spotlight from the roast turkey itself.
In my kitchen tests over the past decade, I’ve found that the difference between a watery, forgettable casserole and an unforgettable holiday centerpiece comes down to two simple food-science steps: shocking fresh green beans in an ice bath so they keep their vibrant emerald snap, and cooking the moisture completely out of browned baby bella mushrooms before building your roux. Whether you are pairing it alongside juicy herb-roasted turkey steak or serving it next to our ultimate sweet potato casserole with pecan streusel, this scratch-made classic delivers deep, savory comfort in every single bite.

Why This Homemade Green Bean Casserole Recipe Beats Canned Soup Every Time
When Dorcas Reilly invented the original green bean casserole in 1955, convenience was the primary goal. Today, making a homemade green bean casserole recipe from scratch takes barely 15 extra minutes while upgrading the flavor and texture tenfold. Instead of starchy thickeners and artificial flavorings, you get real browned butter, caramelized cremini mushrooms, fresh garlic, aromatic thyme, a splash of dry white wine or chicken stock, heavy cream, and nutty freshly grated Gruyère or sharp white cheddar.
Key Ingredients for a Homemade Green Bean Casserole Recipe
- Fresh Green Beans (1.5 lbs / 680g): Look for slender French green beans (haricots verts) or crisp standard stringless green beans. Trimmed and cut into bite-sized 2-inch pieces, they hold their structure in the oven without turning mushy.
- Cremini (Baby Bella) Mushrooms (12 oz / 340g): Cremini mushrooms contain significantly less water and far more savory umami (natural glutamates) than standard white button mushrooms. Finely dicing half and slicing the other half gives the sauce both body and meaty texture.
- Unsalted Butter & All-Purpose Flour (4 tbsp each): Forms a classic blonde roux that thickens the cream and stock into a glossy sauce that clings to every green bean without splitting in the oven.
- Garlic, Shallots & Fresh Thyme: Four cloves of freshly grated garlic, one finely minced shallot, and two teaspoons of fresh thyme leaves infuse the mushroom base with unmistakable holiday aroma.
- Chicken Broth & Heavy Whipping Cream (1 cup each): Combining low-sodium chicken stock (or vegetable stock for vegetarian guests) with heavy cream creates the ideal balance of savory depth and velvety richness.
- Freshly Grated Gruyère or Sharp White Cheddar (1 cup / 100g): Melted directly into the warm mushroom sauce, Gruyère adds a subtle nutty complexity that elevates the dish to steakhouse quality.
- Soy Sauce or Worcestershire Sauce (1 tsp) & Freshly Grated Nutmeg (1/8 tsp): My secret culinary weapons. A single teaspoon of soy sauce amplifies the mushroom umami without tasting like soy, while a pinch of nutmeg makes the dairy sing.
- Crispy Fried Onions or Homemade Crispy Shallots (2 cups): You can fry thinly sliced shallots in neutral oil until golden brown or use high-quality store-bought crispy French-fried onions tossed with 2 tablespoons of toasted panko breadcrumbs and melted butter for extra crunch.
The Food Science Behind Never-Soggy Green Beans
The number one complaint people have with traditional casseroles is watery sauce pooling at the bottom of the baking dish. Why does that happen? Raw green beans and undercooked mushrooms release huge amounts of cellular water when heated in a 375°F (190°C) oven, diluting your creamy sauce. Here is how we prevent that completely:
- The 4-Minute Salted Boil & Ice Bath Shock: Boiling fresh green beans in heavily salted water (2 tablespoons kosher salt per 4 quarts of water) for exactly 4 minutes softens their tough pectin cell walls just enough to make them tender-crisp. Plunging them immediately into a bowl of ice water halts carryover cooking and locks in bright chlorophyll green color. Drain them thoroughly on a clean kitchen towel before folding them into the sauce.
- Dry-Sautéing the Mushrooms First: Never crowd mushrooms into a cold pan with too much butter right away. Sear them over medium-high heat until they release their liquid and that liquid evaporates completely, allowing the natural sugars on the mushroom surfaces to caramelize golden brown.
- Save 75% of the Crispy Onion Topping for the Final 8 Minutes: Mixing a small handful of crispy onions into the casserole adds flavor, but piling the main crunch layer on top during the last 8 minutes of baking prevents them from steaming and softening.

Step-by-Step Instructions: How to Make Green Bean Casserole from Scratch
- Blanch and Shock the Green Beans: Preheat your oven to 375°F (190°C) and butter a 9×13-inch ceramic baking dish. Bring a large pot of generously salted water to a rolling boil and prepare a large bowl filled with ice water. Drop the trimmed 2-inch green beans into the boiling water and cook for exactly 4 minutes until bright emerald green and crisp-tender. Using a slotted spoon or spider strainer, transfer the beans immediately into the ice bath for 2 minutes, then drain well and pat dry on a clean towel.
- Caramelize the Mushrooms & Aromatics: Melt 4 tablespoons of unsalted butter in a large 12-inch cast-iron skillet or Dutch oven over medium-high heat. Add the sliced and diced cremini mushrooms along with 1/2 teaspoon kosher salt. Cook undisturbed for 3 minutes, then stir occasionally for another 5 to 6 minutes until all mushroom liquid has evaporated and the edges are deeply golden brown. Stir in the minced shallot, grated garlic, fresh thyme leaves, and freshly cracked black pepper, cooking for 90 seconds until fragrant.
- Build the Velvety Gruyère Mushroom Sauce: Sprinkle 4 tablespoons of all-purpose flour evenly over the mushrooms and stir constantly for 1.5 minutes to cook off the raw flour taste. Slowly pour in 1 cup of low-sodium chicken broth while whisking or stirring to lift all the browned bits (fond) from the bottom of the skillet. Pour in 1 cup of heavy cream, 1 teaspoon soy sauce (or Worcestershire), and 1/8 teaspoon freshly grated nutmeg. Bring to a gentle simmer over medium-low heat for 3 to 4 minutes until thickened enough to coat the back of a spoon. Remove from heat and stir in 3/4 cup of the grated Gruyère cheese until smooth and glossy.
- Fold, Bake & Crown with Crispy Onions: Fold the dried blanched green beans and 1/2 cup of crispy fried onions directly into the warm mushroom cream sauce until every bean is luxuriously coated. Transfer the mixture into your prepared 9×13-inch baking dish and scatter the remaining 1/4 cup Gruyère on top. Bake uncovered at 375°F (190°C) for 18 minutes until bubbling vigorously around the edges. Remove briefly, pile the remaining 1.5 cups of crispy fried onions (and optional toasted panko) evenly across the top, and bake for 7 to 8 minutes more until deeply golden and shatteringly crisp. Let rest 10 minutes before serving.
Make-Ahead, Storage & Holiday Prep Timeline
When you are juggling oven space on Thanksgiving Day alongside busy family meal prep, this casserole is a dream to prepare ahead of time:
- 24–48 Hours Ahead (Refrigerator): Blanch the green beans, prepare the mushroom Gruyère sauce, fold them together (leave out ALL crispy onions for now), and spread into your baking dish. Cool completely, cover tightly with foil, and refrigerate for up to 2 days. On Thanksgiving Day, let the dish sit on the counter for 30 minutes, then bake at 375°F for 25 minutes before adding the crispy onion topping for the final 8 minutes.
- Gluten-Free Adaptation: Substitute the 4 tablespoons of all-purpose flour with 2.5 tablespoons of cornstarch whisked into the cold chicken broth, or use our 1-to-1 gluten-free flour blend, and top with gluten-free French-fried onions.
- Reheating Leftovers: Store leftovers in an airtight container in the refrigerator for up to 4 days. Reheat in a 350°F (175°C) oven or air fryer for 8–10 minutes so the onion topping re-crisps beautifully.

Frequently Asked Questions
Can I use frozen or canned green beans instead of fresh?
Fresh green beans deliver the best snap and vibrant color, but thawed frozen French green beans (haricots verts) are an excellent backup! Simply thaw 1.5 pounds of frozen green beans, pat them completely dry with paper towels, and skip the boiling step—fold them straight into the warm mushroom sauce. Avoid canned green beans if possible, as they are already pressure-cooked and lack structural bite.
How do I make homemade crispy fried onions from scratch?
Thinly slice 4 large shallots or 2 yellow onions into 1/8-inch rings using a mandoline. Toss them in 1 cup of buttermilk for 15 minutes, dredge in a seasoned mixture of 1 cup flour, 2 tablespoons cornstarch, 1 teaspoon garlic powder, and 1 teaspoon kosher salt, then fry in 350°F (175°C) neutral oil in batches for 3 to 4 minutes until golden brown and crisp.
What dishes pair best with homemade green bean casserole?
This savory mushroom-rich casserole pairs wonderfully with sweet and tangy holiday dishes like homemade fresh cranberry-orange sauce and our pecan streusel sweet potato casserole.



