Go Back
Green bean casserole from scratch with crispy onions in a baking dish
Aaliyah

Green Bean Casserole from Scratch

Classic green bean casserole made completely from scratch: crisp-tender fresh green beans in a creamy homemade mushroom sauce, topped with crispy fried onions. No canned soup required, and it can be made ahead for Thanksgiving.
Prep Time 20 minutes
Cook Time 40 minutes
Total Time 1 hour
Servings: 8 servings
Course: Side Dish
Cuisine: American

Ingredients
  

Green beans
  • 1½ pounds fresh green beans trimmed and cut into 2-inch pieces
  • 1 tablespoon salt for the cooking water
Mushroom sauce
  • 3 tablespoons unsalted butter
  • 8 ounces cremini or white mushrooms thinly sliced
  • ½ small onion or 1 shallot finely chopped
  • 2 cloves garlic minced
  • 3 tablespoons all-purpose flour
  • 1 cup chicken or vegetable broth
  • 1 cup whole milk or half-and-half
  • ½ teaspoon salt or to taste
  • ¼ teaspoon black pepper
  • 1 pinch ground nutmeg optional
Topping
  • 1½ cups crispy fried onions store-bought or homemade, divided
  • ¼ cup grated Parmesan cheese optional

Equipment

  • Large pot
  • Large skillet
  • Balloon whisk
  • Colander or strainer
  • 2-quart or 9x13 baking dish

Method
 

  1. Heat the oven to 375°F and grease a 2-quart or 9x13-inch baking dish.
  2. Bring a large pot of water to a boil and add the salt. Cook the green beans for 4 to 5 minutes, until bright green and crisp-tender. Drain, then plunge them into ice water to stop the cooking. Drain well and pat dry.
  3. Melt the butter in a large skillet over medium-high heat. Add the mushrooms and cook for 6 to 8 minutes, until they release their liquid and start to brown. Add the onion and garlic and cook 2 minutes more.
  4. Sprinkle the flour over the mushrooms and stir for 1 minute. Slowly whisk in the broth, then the milk. Simmer, stirring, for 3 to 5 minutes, until the sauce is thick enough to coat a spoon. Season with salt, pepper, and nutmeg.
  5. Take the skillet off the heat and stir in the green beans and ½ cup of the fried onions. Spread everything in the baking dish.
  6. Bake for 20 minutes, until bubbling. Top with the remaining fried onions (and Parmesan if using) and bake 5 to 10 minutes more, until the onions are golden. Let it rest 5 minutes before serving.

Notes

  • Make ahead: assemble the casserole without the onion topping up to 2 days ahead, cover, and refrigerate. Bake it straight from the fridge, adding about 10 to 15 minutes, until the center is hot (165°F), then add the onions for the last few minutes.
  • Frozen green beans work too. Thaw them, skip the boiling step, and pat them very dry.
  • Homemade crispy onions: slice 2 shallots thinly, toss in flour, and shallow-fry in hot oil until golden. Drain on paper towels and salt lightly.
  • Food safety: refrigerate leftovers within 2 hours and eat them within 3 to 4 days. Reheat until hot in the center (165°F).
  • Contains dairy and gluten (flour and most fried onions). Use a gluten-free flour blend and gluten-free fried onions if needed.