Green Bean Casserole From Scratch That Stays Green and Crisp
Fresh green beans, a quick mushroom cream sauce and shallots you fry yourself, no canned soup. Why the ice bath keeps the beans green, how to make it a day ahead, and gluten-free and dairy-free swaps.

This green bean casserole skips the canned soup. Fresh beans are boiled briefly and chilled in ice water so they stay green and keep some bite, then baked in a quick mushroom cream sauce under a layer of shallots you fry yourself. You can assemble it a day ahead and bake it while the turkey rests.
Serves: 8 as a side Prep: 30 minutes | Cook: 45 minutes | Total: about 1 hour 15 minutes Allergens: dairy (butter, milk) and gluten (flour). No egg, nut, soy or shellfish ingredients. Swaps below.
Ingredients
Crispy shallots
- 4 large shallots, about 8 oz (225 g), peeled and thinly sliced into rings
- 1 cup (240 ml) neutral oil, such as canola or sunflower
- 1/4 teaspoon (1.5 g) fine salt
Beans
- 2 tablespoons (about 30 g) salt, for the boiling water
- 2 lb (900 g) fresh green beans, trimmed and cut into 2-inch (5 cm) pieces
Mushroom sauce
- 3 tablespoons (42 g) unsalted butter
- 8 oz (225 g) cremini mushrooms, sliced
- 2 cloves garlic, minced
- 1/4 cup (30 g) all-purpose flour
- 1 cup (240 ml) chicken or vegetable broth
- 1 1/2 cups (360 ml) whole milk
- 1 teaspoon (6 g) fine salt
- 1/2 teaspoon (1 g) ground black pepper
- 1/8 teaspoon ground nutmeg (optional)
Instructions
- Fry the shallots. Put the sliced shallots and the oil in a medium saucepan and set it over medium heat. Starting them in cold oil lets the rings cook through evenly before the outsides brown. Cook, stirring often, 10 to 15 minutes, until golden. Watch closely at the end: they go from golden to bitter in under a minute. Lift them out with a slotted spoon onto paper towels, spread them out and sprinkle with the 1/4 teaspoon salt. They crisp as they cool.
- Heat the oven and the water. Heat the oven to 375°F (190°C). Bring a large pot of water to a boil with the 2 tablespoons of salt, and set a big bowl of ice water next to the stove.
- Blanch the beans. Boil the beans 4 to 6 minutes, until bright green and just tender but still with a snap when you bite one.
- Shock them. Drain the beans and tip them straight into the ice water for 2 to 3 minutes, until cold. Beans left to sit hot in a colander keep cooking from their own heat; by the time they come out of the oven they are soft and dull. The ice water stops them where you want them.

- Dry them well. Drain the beans and pat them dry with a clean towel. Water left on the beans thins the sauce in the oven.
- Brown the mushrooms. Melt the butter in a large skillet over medium-high heat. Add the mushrooms and cook, stirring now and then, 6 to 8 minutes, until their liquid has cooked off and they are browned. Add the garlic and stir for 30 seconds.
- Make the sauce. Sprinkle the flour over the mushrooms and stir for 1 minute to cook out the raw taste; this is a quick roux built right in the pan. Slowly pour in the broth while stirring, then the milk. Simmer 3 to 5 minutes, stirring, until the sauce thickens enough to coat a spoon. Season with the salt, pepper and nutmeg.
- Assemble. Fold the beans into the sauce and spread everything in a 9 x 13-inch (23 x 33 cm) or 3-quart (2.8-liter) baking dish.
- Bake. Bake uncovered 20 minutes, until the sauce bubbles at the edges. Scatter the shallots over the top and bake 5 minutes more. Adding them at the end keeps them crisp; baked the whole time, they soak up sauce and darken.
Make it ahead
You can do almost all of this the day before, which frees up the stove on a busy holiday:
- Shallots: fry them up to 2 days ahead and keep them in an airtight container at room temperature, with a paper towel in the container.
- Casserole: assemble through step 8, let it cool, cover and refrigerate within 2 hours. Keep it up to 1 day.
- Bake from cold: cover with foil and bake at 375°F (190°C) for 20 minutes, then uncover and bake 15 to 25 minutes more, until bubbling and 165°F (74°C) in the center on an instant-read thermometer. That is the USDA temperature for reheating cooked food, and the middle of a cold dish is the last place to get there; how to use a meat thermometer covers checking it. Add the shallots for the last 5 minutes.
The oven is free while the turkey rests, so this and the make-ahead mashed potatoes can share that slot. Our Thanksgiving cooking timeline shows the rest of the day.
Swaps
- Gluten-free: leave out the flour. After the broth, whisk 2 tablespoons (16 g) cornstarch into the cold milk, pour it in and simmer 1 to 2 minutes, stirring, until thick. The shallots have no flour, so the dish is gluten-free if your broth is.
- Dairy-free: use olive oil instead of butter and an unsweetened plain plant milk, such as oat or soy, instead of milk. Soy milk adds a soy allergen. The sauce is a little thinner, so simmer it a minute or two longer.
- Short on time: store-bought fried onions work in place of the shallots. Most contain wheat flour, so check the label if you cook gluten-free.
- Frozen beans: use 2 lb (900 g) frozen cut green beans. Skip the boiling and ice bath, thaw them, and pat them very dry before folding them in.
Storage
- Fridge: cool leftovers and refrigerate within 2 hours. They keep 3 to 4 days, the USDA guideline for cooked leftovers. The topping softens overnight.
- Reheating: warm portions in the microwave, covered, or in a 350°F (175°C) oven until hot all the way through, 165°F (74°C). A handful of fresh shallots or fried onions on top brings back the crunch.
- Freezer: not a good fit. The beans turn soft and the milk sauce can turn grainy after thawing.
Food safety guidance: USDA Food Safety and Inspection Service, Leftovers and Food Safety.