Green bean casserole with Gruyere cheese is a creamy, savory side dish that swaps the usual canned soup and fried onions for a from-scratch mushroom sauce and a nutty, melted cheese topping. It suits holiday dinners, potlucks, and weeknight suppers alike. The Gruyere adds a rich, slightly sweet depth that pairs well with roasted meats.
Ingredients
- 1 1/2 lb (680 g) fresh green beans, trimmed and cut into 2-inch pieces
- 2 tbsp (30 g) unsalted butter
- 8 oz (225 g) cremini mushrooms, sliced
- 1 small shallot, finely chopped (about 1/4 cup / 40 g)
- 2 cloves garlic, minced
- 2 tbsp (16 g) all-purpose flour
- 1 cup (240 ml) whole milk
- 1/2 cup (120 ml) heavy cream
- 1/2 tsp salt
- 1/4 tsp black pepper
- 1/8 tsp ground nutmeg
- 1 1/2 cups (170 g) shredded Gruyere cheese, divided
- 1/2 cup (50 g) panko breadcrumbs
- 1 tbsp (15 g) unsalted butter, melted (for topping)
Instructions
- Preheat the oven to 375°F (190°C). Bring a large pot of salted water to a boil. Add the green beans and cook for 4-5 minutes until bright green and crisp-tender. Drain and immediately transfer to a bowl of ice water to stop cooking. Drain well and set aside.
- In a large skillet over medium heat, melt the 2 tbsp butter. Add the mushrooms and shallot; cook, stirring occasionally, for 6-8 minutes until the mushrooms release their liquid and begin to brown. Add the garlic and cook for 1 minute more.
- Sprinkle the flour over the mushroom mixture and stir to coat. Cook for 1 minute to remove the raw flour taste. Slowly whisk in the milk and cream, scraping up any browned bits. Bring to a simmer and cook for 2-3 minutes, until the sauce thickens slightly. Season with salt, pepper, and nutmeg.
- Remove the skillet from heat and stir in 1 cup (115 g) of the Gruyere until melted. Add the blanched green beans and toss to coat evenly.
- Transfer the mixture to a 2-quart (2 L) baking dish. In a small bowl, combine the panko, melted butter, and the remaining 1/2 cup (55 g) Gruyere. Sprinkle over the casserole.
- Bake for 20-25 minutes, until the sauce is bubbly and the topping is golden brown. Let rest for 5 minutes before serving.
How to Tell It’s Done
The casserole is done when the sauce is bubbling at the edges and the topping is deep golden brown. If you insert a knife into the center, it should come out hot. The internal temperature of the casserole should reach at least 165°F (74°C) if you are reheating leftovers, but for a fresh bake, the visual cues above are sufficient.
How Long Does Green Bean Casserole with Gruyere Keep?
Refrigerate leftovers in an airtight container within 2 hours of cooking. It will keep for 3-4 days. To reheat, cover with foil and warm in a 350°F (175°C) oven for 15-20 minutes, or microwave individual portions. The topping will soften on reheating; you can sprinkle extra panko before reheating if desired. Freeze the baked casserole for up to 2 months; thaw overnight in the refrigerator before reheating.
Variations and Serving Ideas
Add Crispy Shallots Instead of Panko
For a classic crunchy topping, replace the panko mixture with 1 cup (about 2 oz / 55 g) of crispy fried shallots or onions. Sprinkle them over the casserole during the last 5 minutes of baking to keep them crisp.
Make It Ahead
Assemble the casserole (without the topping) up to 1 day ahead. Cover and refrigerate. When ready to bake, add the topping and increase the baking time by 10-15 minutes, until hot and bubbly.
Serving Suggestions
This casserole pairs well with roast turkey, chicken, or beef. It also works as a vegetarian main when served with a grain like wild rice or quinoa. For a holiday table, it complements mashed potatoes and cranberry sauce.
Green Bean Casserole with Gruyere for Large Batches
To double the recipe, use a 9×13-inch (23×33 cm) baking dish and increase the baking time to 30-35 minutes. Keep the same oven temperature. If you need to make it for a crowd, you can blanch the beans a day ahead and store them in the refrigerator.
Note: This recipe contains dairy and gluten. For a gluten-free version, use gluten-free all-purpose flour and gluten-free panko. For a dairy-free version, substitute the butter with a plant-based butter, use unsweetened oat milk or almond milk for the milk and cream, and use a dairy-free shredded cheese that melts well. Check labels to ensure all ingredients are allergen-free.
Related
- Egg Casserole with Gruyere Cheese
- Green Bean Casserole Without Mushrooms
- Vegan Green Bean Casserole Without Mushrooms
Safe minimum internal temperatures follow USDA FSIS; raw-fish guidance follows the U.S. FDA. See our food safety notes.
Spotted an error? Tell us and we will correct it (corrections policy).