Thanksgiving just wouldn’t be the same without green bean casserole. The rich, creamy, crispy-topped side dish is as essential as gravy or cranberries, and like them, it’s way better when you make it from scratch instead of opening cans. Here, we ditch the canned condensed soup and fried onions for a creamy mushroom sauce made from scratch, under an onion–panko breadcrumb topping that complements the fresh green beans. It takes more time to make than the easy old-school version, but it’s worth it.

  • Yield: 8 to 10 servings
  • Difficulty: Easy
  • Total: 1 hr 45 mins 
  • Active: 1 hr 10 mins

Ingredients (9)

  • 1 1/2 cups panko breadcrumbs
  • 9 tablespoons unsalted butter
  • 1 medium yellow onion, small dice (about 1 1/2 cups)
  • 2 pounds green beans, ends trimmed and cut into 1-1/2-inch pieces
  • Freshly ground black pepper
  • 12 ounces cremini mushrooms, stems trimmed and cut into small dice
  • 1/3 cup all-purpose flour
  • 4 cups (1 quart) whole milk, at room temperature
  • 1 1/2 teaspoons kosher salt, plus more for seasoning


  1. Heat the oven to 350°F and arrange a rack in the middle.
  2. Place the panko in a large frying pan over medium heat and toast, stirring occasionally, until golden brown, about 10 minutes. Transfer to a small bowl and set aside.
  3. Wipe out the frying pan with paper towels, add 3 tablespoons of the butter, and melt over medium heat until foaming. Add the onion and cook, stirring occasionally, until just softened and starting to brown, about 15 minutes.
  4. Meanwhile, bring a large pot of heavily salted water to a boil over high heat. Add the green beans and cook until they’re bright green and crisp tender, about 3 minutes. (They will not be fully cooked.) Drain in a colander and rinse under cold water until the beans are cooled, then set aside. Reserve the large pot.
  5. When the onions are ready, remove the frying pan from the heat. Remove 1/4 cup of the onions and set aside. Add the toasted panko to the pan with the remaining onions, season with salt and pepper, and stir to combine. Return the panko-onion mixture to the small bowl and set aside.
  6. Wipe out the frying pan with paper towels, add the remaining 6 tablespoons of butter, and melt over high heat until foaming. Add the mushrooms and cook, stirring occasionally, until browned and the liquid from the mushrooms is almost all evaporated, about 5 to 6 minutes.
  7. Reduce the heat to medium and add the reserved 1/4 cup of onions to the pan. Sprinkle with the flour, season with salt and pepper, and stir to coat the vegetables. Cook, stirring frequently, until the raw taste of the flour is cooked off, about 1 minute. Gradually whisk in the milk, add the measured salt, and bring to a simmer. Continue simmering, stirring often, until the mushroom mixture has thickened slightly, about 1 to 2 minutes more.
  8. Transfer the mushroom mixture to the reserved large pot, add the reserved green beans, and stir to combine. Taste and season with salt and pepper as needed. Transfer to a 13-by-9-inch baking dish and bake for 10 minutes. Remove the casserole from the oven, evenly sprinkle the reserved panko-onion mixture across the top, and continue baking until the casserole’s bubbling around the edges and heated through, about 10 to 15 minutes more. Place the pan on a wire rack and let cool 10 minutes before serving.