Green bean casserole is the most-searched Thanksgiving recipe in America — it beat stuffing, pie, and even every turkey method in Google's holiday search data. But the version everyone is searching for this year is not the one from a can. It is the from-scratch one: fresh green beans that stay bright and snappy, a real mushroom cream sauce that actually tastes like mushrooms, and a pile of crispy onions you fry yourself.
If you grew up on the classic canned-soup version, this one will still taste like home — just the best version of it you have ever had. The sauce is silky and deeply savory, the beans keep their bite, and the topping shatters instead of going soggy. It takes a little longer than the six-ingredient original, and the difference is the whole point.
Best of all, you can build it the day before and bake it while the turkey rests. One less dish fighting for your attention on Thanksgiving Day, and the one your guests will ask about by name.
Why This Green Bean Casserole Works
- Fresh beans, not canned. Blanched fresh green beans stay bright green and crisp-tender; canned beans go soft and grey.
- A real mushroom sauce. Browned cremini mushrooms, garlic, and a splash of soy sauce build the savory depth that canned soup only imitates.
- Crispy onions you make yourself. Thinly sliced shallots or onions, dusted in flour and fried golden — the topping is the best part, and it stays crunchy.
- Make-ahead friendly. Assemble the casserole (beans + sauce) a day ahead, refrigerate, then top and bake on the day.
Ingredients You Will Need
For the casserole:
- 1 1/2 pounds fresh green beans, ends trimmed, cut into 2-inch pieces
- 10 ounces cremini mushrooms, sliced
- 1 small yellow onion, finely diced
- 3 garlic cloves, minced
- 3 tablespoons unsalted butter
- 3 tablespoons all-purpose flour
- 1 cup whole milk
- 1/2 cup heavy cream
- 1/2 cup chicken or vegetable broth
- 1 teaspoon soy sauce
- 1/2 teaspoon black pepper
- 3/4 teaspoon fine sea salt, plus more for the blanching water
- 1/4 cup grated Parmesan (optional, for extra savory depth)
For the crispy onion topping:
- 2 large shallots (or 1 medium onion), thinly sliced into rings
- 1/2 cup all-purpose flour
- 1/2 teaspoon salt
- 1/4 teaspoon black pepper
- 1/3 cup neutral oil, for frying
Shortcut option: A 6-ounce can of store-bought crispy fried onions works in a pinch — but the homemade topping takes 10 minutes and tastes twice as good.
How to Make Green Bean Casserole from Scratch (Overview)
- Blanch the beans. Boil them in heavily salted water for 4–5 minutes, then shock in ice water so they stay bright green and crisp.
- Fry the onions. Dust the shallot rings in seasoned flour and fry in hot oil until golden — about 3–4 minutes. Drain on paper towels.
- Build the mushroom sauce. Sauté the mushrooms in butter until deeply browned, add onion and garlic, stir in the flour, then slowly whisk in the milk, cream and broth until thick and silky. Season with soy sauce, salt and pepper.
- Assemble and bake. Toss the beans in the sauce, spread in a greased 9×13-inch dish, and bake at 375°F (190°C) for 20–25 minutes. Top with the crispy onions for the last 5 minutes so they stay crunchy.
Full step-by-step instructions with exact times are in the recipe card below.
My Best Tips for a Perfect Casserole
- Salt the blanching water like pasta water. It is the only chance to season the beans themselves — and it keeps them bright green.
- Brown the mushrooms properly. Do not crowd the pan, and do not stir them too often. Deep golden-brown mushrooms are where the sauce gets its flavor.
- Do not skip the soy sauce. You will not taste it as soy sauce — it reads as deep, savory richness, the same trick restaurants use.
- Add the onions at the end. Topping too early makes them soggy. Five minutes at the end is all they need to warm through and stay crisp.
- Taste the sauce before assembling. It should taste slightly over-seasoned on its own — the beans will mellow it.
Variations to Try
- Cheesy version: Stir 1 cup of shredded sharp cheddar into the sauce before assembling.
- Bacon twist: Add 4 slices of cooked, crumbled bacon to the beans.
- Gluten-free: Use a gluten-free flour blend for the sauce and cornstarch for dusting the onions.
- Air fryer topping: Fry the shallots in the air fryer at 375°F for 6–8 minutes, shaking once, instead of pan-frying.
- Mushroom-free: Swap the mushrooms for 1 cup of finely diced celery plus a pinch of mushroom powder, or simply make a cream sauce with extra garlic and thyme.
Make-Ahead, Storage and Reheating
- Make ahead: Blanch the beans and make the sauce up to 2 days ahead (store separately, refrigerated). Assemble cold, add 10 minutes to the bake time. Fry the onions the day of serving.
- Refrigerate leftovers: Covered, up to 3 days. The topping softens — refresh it with a few minutes under the broiler or a handful of fresh crispy onions.
- Freeze: Not recommended — the sauce can separate and the beans go soft.
- Reheat: 350°F (175°C) for 15–20 minutes, covered with foil, then uncovered for the last 5 minutes.
Building your full Thanksgiving menu? This casserole sits beautifully next to our sweet potato casserole with pecan streusel, and for dessert our classic pumpkin pie is the natural finish — or browse everything in our Recipe Index.
Frequently Asked Questions
Can I use frozen green beans instead of fresh?
Yes — thaw them completely and pat them very dry first. Skip the blanching step and reduce the bake time by 5 minutes. Fresh beans give the best texture, but frozen works in a pinch.
Can I make this without mushrooms?
Absolutely — see the mushroom-free variation above. The sauce still works beautifully as a garlic-cream sauce.
Why did my sauce turn out lumpy?
The flour was not fully cooked into the butter, or the milk was added too fast. Whisk the flour and butter for a full minute, then add the milk slowly, whisking constantly.
Can I use store-bought fried onions?
Yes — use about 1 1/2 cups and add them in the last 5 minutes of baking, the same as the homemade ones.
How do I keep the topping crispy?
Fry the onions until deep golden (not pale), drain well, and do not cover the baked casserole while it rests — steam is the enemy of crunch.
Green Bean Casserole from Scratch
Fresh green beans in a silky homemade mushroom cream sauce, topped with crispy fried onions. The classic Thanksgiving side — no canned soup, and it tastes like it.
Prep Time: 25 minutes | Cook Time: 35 minutes | Total Time: 1 hour
Servings: 8 | Cuisine: American | Course: Side Dish
Ingredients
- 1 1/2 pounds fresh green beans, ends trimmed, cut into 2-inch pieces
- 10 ounces cremini mushrooms, sliced
- 1 small yellow onion, finely diced
- 3 garlic cloves, minced
- 3 tablespoons unsalted butter
- 3 tablespoons all-purpose flour
- 1 cup whole milk
- 1/2 cup heavy cream
- 1/2 cup chicken or vegetable broth
- 1 teaspoon soy sauce
- 1/2 teaspoon black pepper
- 3/4 teaspoon fine sea salt, plus more for the blanching water
- 1/4 cup grated Parmesan (optional)
- 2 large shallots (or 1 medium onion), thinly sliced into rings
- 1/2 cup all-purpose flour (for the topping)
- 1/2 teaspoon salt (for the topping)
- 1/4 teaspoon black pepper (for the topping)
- 1/3 cup neutral oil, for frying
Instructions
- Bring a large pot of heavily salted water to a boil. Blanch the green beans for 4–5 minutes until bright green and crisp-tender. Drain, shock in ice water, and drain again.
- For the topping: toss the shallot rings with 1/2 cup flour, salt and pepper. Heat the oil in a skillet over medium-high heat and fry the shallots in batches, 3–4 minutes, until deep golden. Drain on paper towels.
- Heat the oven to 375°F (190°C). Grease a 9×13-inch baking dish.
- Melt the butter in a large skillet over medium-high heat. Add the mushrooms and cook, without crowding, until deeply browned, about 7–8 minutes.
- Add the onion and garlic; cook 2–3 minutes until softened. Stir in the 3 tablespoons flour and cook 1 minute.
- Slowly whisk in the milk, cream and broth. Simmer 3–4 minutes until thick and silky. Stir in the soy sauce, salt, pepper and Parmesan (if using).
- Toss the blanched beans in the sauce and spread in the prepared dish.
- Bake 20–25 minutes until bubbling. Scatter the crispy onions over the top and bake 5 minutes more. Rest 5 minutes before serving.
Notes
- Make ahead: beans + sauce up to 2 days ahead, stored separately; fry the onions the day of serving.
- If the sauce seems too thick, whisk in a splash of broth; too thin, simmer 1–2 minutes longer.

Comments ()