A better green bean casserole starts with leaving the can behind

The most meaningful change in Chris Morocco’s Thanksgiving casserole is the sauce: fresh green beans and deeply browned crimini mushrooms sit in a garlic and Parmesan béchamel instead of canned soup. The topping stays familiar. French’s fried onions have earned their place, and there’s no reason to replace them. The technique matters more than the ingredient list suggests. Give the mushrooms space to brown, salt the blanching water as generously as pasta water, and taste both the mushrooms and sauce before you assemble the dish. You can cook the mushrooms while the sauce comes together; to use one pan, brown the mushrooms first, move them to a plate, then make the béchamel in that pan and scrape up the browned bits.

Plan ahead, but save the baking for serving day

The beans, mushrooms, and sauce can each be prepared up to a day ahead. Cool and refrigerate them separately, then assemble and bake the casserole on the day you’ll serve it. Add the fried onions in the last few minutes so they finish crisp. Freezing the assembled dish is a poor bet: the cream sauce may split, and the beans can turn mushy after thawing and reheating. Frozen beans are a possible shortcut, though the recipe’s editors haven’t tested them. Readers report success with petite or French-cut varieties; thaw them overnight in the refrigerator and drain off excess liquid. Fresh blanched beans remain the preferred choice.

Keep the béchamel in balance

Here’s the thing: a cream sauce can break if you reduce it too far. Once the béchamel is thick and bubbling, take it off the heat before whisking in the garlic and Parmesan. Stick to the listed amount of cheese; extra Parmesan can also push the sauce toward separation. The recipe hasn’t been tested with gluten-free ingredients. Editors suggest swapping the all-purpose flour for a gluten-free blend and using gluten-free fried onions—or making [Crispy Fried Shallots](https://www.bonappetit.com/recipe/crispy-fried-shallots) instead. For the broader holiday menu, see Bon Appétit’s [classic Thanksgiving menu](https://www.bonappetit.com/story/classic-thanksgiving-menu). You can also explore more [Thanksgiving sides](https://www.bonappetit.com/entertaining-style/holidays/slideshow/thanksgiving-sides), read about [béchamel](https://www.bonappetit.com/story/what-is-bechamel-sauce), and get tips on [salting pasta water](https://www.bonappetit.com/story/how-much-salt-in-pasta-water) and [blanching green beans](https://www.bonappetit.com/story/how-to-blanch-green-beans). The recipe makes 8 servings and takes 1 hour 35 minutes total. It calls for 2 pounds fresh green beans, kosher salt, 2 tablespoons extra-virgin olive oil, 1 pound sliced crimini mushrooms, 6 tablespoons unsalted butter, 4 large thyme sprigs, 2 tablespoons all-purpose flour, 1¼ cups whole milk, 1 cup heavy cream, 4 finely grated garlic cloves, ½ cup grated Parmesan, freshly ground black pepper, and ¾ cup French’s fried onions.

Start with the beans

Heat the oven to 375°F with a rack in the middle. Working in batches, boil the green beans in generously salted water for about 3 minutes, until bright green and only halfway tender. Drain and cool them, then trim the stem ends.

Brown the mushrooms first

Cook half a pound of sliced crimini mushrooms in 1 tablespoon of extra-virgin olive oil over medium-high heat. Leave them alone for about 2 minutes so the undersides turn golden, then toss and cook for roughly 3 minutes more, until browned on both sides. Add 2 tablespoons of unsalted butter and 2 large thyme sprigs. Toss occasionally for about 4 minutes, until the butter browns and the mushrooms are dark and tender. Season with kosher salt and move them to a plate. Repeat with another 1 tablespoon of olive oil, 2 tablespoons of butter, 2 thyme sprigs, and the remaining half pound of mushrooms.

Make the Parmesan béchamel

In a large saucepan over medium-low heat, melt the remaining 2 tablespoons of butter. Whisk in 2 tablespoons of all-purpose flour and cook for about 4 minutes, stirring now and then, until the roux is golden and smells lightly nutty. Gradually whisk in 1¼ cups whole milk and 1 cup heavy cream. Raise the heat and bring the mixture to a simmer, whisking often. After about 5 minutes, it should be thick and bubbling. Take the pan off the heat; whisk in 4 finely grated garlic cloves and ½ cup grated Parmesan, then season with salt and freshly ground pepper.

Bake until bubbling, then crisp the topping

Arrange the green beans and mushrooms in a 2-quart baking dish and pour the sauce over them. It may seem like a sparse coating at first; the casserole becomes saucier as it bakes. Cover tightly with foil and bake until bubbling, 25–30 minutes. Remove the foil and bake another 15–20 minutes, until the top and edges are lightly browned. Scatter ¾ cup French’s fried onions over the casserole and bake about 3 minutes more, just until the onions darken slightly and smell fragrant. Let it rest for 10 minutes before serving so it can set.

Editor’s note: This green bean casserole recipe first appeared in November 2016 as part of BA’s Best, the Test Kitchen’s collection of definitive takes on iconic dishes. Find more of Bon Appétit’s go-to Thanksgiving recipes →