The Ultimate Homemade Green Bean Casserole Recipe

The Food Lab

Unraveling the mysteries of home cooking through science.

The Ultimate Homemade Green Bean Casserole Recipe

[Photograph: Vicky Wasik. Video: Natalie Holt]

The classic Campbell's green bean casserole is a staple on many Thanksgiving tables. But there are easy ways to upgrade the out-of-the-can version. If you're intimidated by the length and number of steps in this recipe, bear in mind that you don't need to use the whole thing. Try canned fried onions instead of frying your own. Or, to make it even easier, stick with two cans of cream of mushroom soup instead of making your own creamy mushroom sauce.

Serious Eats


Watch More Videos Replay

  • Yield:Serves 8 to 12
  • Active time: 1 hour
  • Total time:1 1/2 hours


  • 1 pound (450g) shallots, peeled and sliced 1/8 inch thick on a mandoline
  • 2 cups (480ml) canola oil
  • Kosher salt
  • 1 1/2 pounds (675g) white button mushrooms, rinsed and spun dry in a salad spinner
  • 2 teaspoons (10ml) soy sauce
  • 2 teaspoons (10ml) lemon juice from 1 lemon
  • 2 cups (480ml) low-sodium store-bought or homemade chicken stock
  • 1 1/2 cups (360ml) heavy cream
  • 2 tablespoons (30g) butter
  • 2 cloves garlic, finely minced or grated on a Microplane grater
  • 1/4 cup (30g) flour
  • Freshly ground black pepper
  • 2 pounds (900g) green beans, ends trimmed, cut into 2-inch segments


  1. 1.

    Combine shallots and oil in a wok or medium non-stick saucepan. Shallots should barely stick out above level of oil. Place over high heat and cook, stirring frequently until shallots are completely soft, about 12 minutes. Meanwhile, line rimmed baking sheet with 6 layers of paper towels. Continue to cook, stirring constantly until shallots are light golden brown, about 8 minutes. Immediately strain through fine-mesh strainer set in heat-proof bowl or saucepan. Set shallot oil aside. You should have about 2 cups of fried shallots.

  2. 2.

    Transfer fried shallots to paper towels. Lift up one end of top paper towel and roll shallots off onto second. Blot with first towel to absorb excess oil. Repeat 4 more times, transferring shallots from one paper towel to the next until only one paper towel remains. Season well with salt. Allow to cool completely, about 45 minutes. Once cooled, transfer shallots to sealed airtight container. Shallots can be made up to 1 month in advance.

  3. 3.

    Smash mushrooms under bottom of large skillet until broken into 1/4 to 1/2-inch pieces. Roughly chop into pieces approximately 1/8th to 1/4-inches large. Set aside. Combine soy sauce, lemon juice, chicken stock, and heavy cream in 1 quart liquid measure or medium bowl.

  4. 4.

    Add 2 tablespoons reserved shallot oil (save remainder in an airtight container for another use) and butter to 12-inch non-stick skillet. Heat over high heat until butter is melted and foaming subsides. Add mushrooms to skillet and cook, stirring occasionally, until liquid is evaporated and mushrooms begin to sizzle, 6 to 10 minutes. Reduce heat to medium high. Add garlic and cook, stirring constantly, until fragrant, about 30 seconds. Add flour and cook, stirring constantly until light golden blond, 1 to 2 minutes. Whisking constantly, add stock and cream mixture. Bring to a boil, reduce to a simmer, and cook until mixture achieves a texture between pancake batter and heavy cream, about 5 minutes. Season to taste with salt and pepper.

  5. 5.

    Adjust oven rack to lower-middle position and preheat oven to 350°F. Bring 1 gallon of water and 1/4 cup kosher salt to boil over high heat. Fill large bowl with 1 quart ice cubes and 2 quarts water. Add green beans to water and boil until tender but still bright green, about 5 minutes. Drain through colander set over sink and immediately transfer to ice water until completely cooled. Drain green beans and set aside.

  6. 6.

    Combine green beans, mushroom sauce, and 1 cup fried shallots. Transfer to 9 by 13-inch rectangular casserole or 10 by 14-inch oval casserole. Bake until hot and bubbly, 15 to 20 minutes. Top with remaining cup fried shallots and serve.