Homemade Green Bean Casserole with Crispy Fried Shallots
This fresh green bean casserole recipe skips the canned ingredients for a completely homemade version that is so much better than Campbell's original. Tender-crisp green beans are folded into a rich, silky mushroom sauce then topped with homemade buttermilk fried shallots. It's a from-scratch spin on a Thanksgiving classic and can easily be made ahead for a stress-free holiday!
This post may contain affiliate links.

Why this Fresh Green Bean Casserole Recipe Works
- Blanching and shocking the green beans keeps them bright green and perfectly tender even after baking.
- Thinly sliced, caramelized mushrooms add rich umami flavor without any chewiness.
- A touch of soy sauce, nutmeg, and vinegar adds depth of flavor and balance to the cream sauce.
- Buttermilk fried shallots are sweeter, lighter, and crispier than canned onions. They take this to the next level!
- Can be made in advance then baked right before serving for ease and convenience.
Green bean casserole is one of those polarizing holiday recipes that I happen to love. Growing up, we always had the original Campbell's recipe that's made with canned cream of mushroom soup, pre-cooked green beans, and canned French fried onions on top.
I enjoyed it until I grew up and eventually started experimenting with homemade versions. I have made multiple different homemade green bean casseroles throughout the years and finally settled on my ultimate version!
My recipe starts by blanching thin, fresh green beans or haricots verts until they're tender but still a bit crisp. This ensures that they have the perfect texture after being baked and retain a nice vibrant green color.
Then, it's all about building a deeply flavored creamy mushroom sauce. I love the flavor of mushrooms, but I'm not the biggest fan of their texture. I slice them ultra thin and get them nice and caramelized to create tons of rich, savory umami.
The sauce gets the rest of its flavor from shallots, garlic, thyme, and chicken stock, plus a few extra ingredients to give it a little bit more punch.
Soy sauce is actually something I took from Campbell's original recipe. Just a touch of soy sauce or tamari helps bring out the savory flavors without making the dish taste like soy sauce. A tiny bit of nutmeg enhances the creamy notes, and a shot of sherry vinegar wakes everything up.

You can finish the casserole with store-bought fried onions and it will still be miles better than the canned soup version. But if you really want to impress, homemade fried shallots will take this dish over the top.
It's an extra step, but they are sooo worth it! This recipe calls for the exact amount you need for the casserole, but I recommend doubling it if you have a lot of snackers lurking around your kitchen. They're really hard to stop picking at!
I use the same recipe for fried shallots that I use on this tomato salad recipe. They're soaked in buttermilk, lightly coated in flour and a little bit of cornstarch, then flash-fried until crisp.
You can use this technique to make fried onions if you prefer, but I love the intense sweetness and flavor of shallots. They just feel a little bit more special.
From scratch green bean casserole is a labor of love, but if you're going to pour your heart and soul into cooking, Thanksgiving is the time to do it!
Want more great green bean recipes? Try these classic green beans almondine, easy green beans with pancetta and shallots, or seasonal corn and green beans with herb butter.

Fresh Green Bean Casserole Ingredients
Green beans - Use haricots verts or thin French green beans if you can find them. They're sweeter and more tender than standard green beans. If you can't find them, regular green beans will still work great.
Mushrooms - I use small cremini mushrooms, sliced very thinly, but you can also make this with white button mushrooms or other mushroom varieties if you prefer.
Stock - A good-quality chicken stock will give the sauce depth and flavor. Use low-sodium to make sure the sauce isn't over salted. Homemade stock is great if you have it!
Heavy cream and buttermilk - Heavy cream for the sauce and buttermilk for the fried shallots.
Shallots - Use medium shallots, halved and sliced lengthwise for frying, and finely chopped for the sauce. I recommend making a little extra to snack on!
Soy sauce - Soy sauce or tamari is the secret ingredient that gives this dish a bold, umami flavor that complements the sweetness and freshness of the green beans. You could also use Worcestershire sauce.
Vinegar - Sherry vinegar brightens the whole thing up with a bit of needed acidity. You can also use white wine vinegar, apple cider vinegar, or fresh lemon juice.
*Find the full ingredient list in the recipe card below!
Helpful Equipment
- Whisk
- Heavy-bottomed pot
- Fine-mesh strainer
- Paper towels
- Baking sheet
- Oven
- 9-by-13-inch baking dish
- Large pot
- Large skillet
How to Make Green Bean Casserole From Scratch

- Preheat the oven to 375°F. Lightly butter or spray a 9-by-13-inch baking dish.
- Bring a large pot of water to a boil and add a generous handful of salt. Add the green beans and cook until bright green and beginning to soften but still firm in the center, about 5 minutes. Immediately transfer them to an ice bath. Once cold, drain and dry them thoroughly.
- Heat 2 tablespoons of reserved shallot oil (from the fried shallots, or plain vegetable oil if using store-bought fried onions) and 2 tablespoons of butter in a large, wide skillet over medium-high heat. Add the mushrooms in an even layer. Cook without stirring until browned underneath, about 2 minutes. Continue cooking, stirring occasionally, until their moisture evaporates and they are well browned, about 5 minutes longer. Transfer to a plate, then reduce the heat to medium.
Pro Tip: Work in two batches if your skillet is crowded. Overcrowding will cause them to steam rather than brown.
- Melt the remaining 3 tablespoons butter, then add the chopped shallot and cook until soft and translucent, about 3-4 minutes. Add the garlic, thyme, and nutmeg, then cook until the garlic is fragrant, about 30 seconds.

- Sprinkle in the flour and cook, stirring constantly, until it completely coats the shallots and loses its raw appearance, about 1-2 minutes.
- Slowly whisk in the chicken stock, followed by the heavy cream. Bring to a gentle simmer and cook until the sauce is smooth and thick enough to coat the back of a spoon, about 5-7 minutes.
- Stir in the soy sauce, sherry vinegar, and black pepper along with the reserved mushrooms. Taste and add additional salt and pepper as needed.

- Fold the green beans into the mushroom sauce until evenly coated. Transfer everything to the prepared baking dish and spread it into an even layer.
- Bake uncovered until the sauce is bubbling around the edges and the green beans are tender, about 20-25 minutes. Top with the fried shallots and bake for another 5 minutes until they're hot and crisp.
- Let the casserole rest for 5 minutes before serving.
How to Make Crispy Fried Onions for Green Bean Casserole

- Combine the sliced shallots or onions, buttermilk, ½ teaspoon salt, and ¼ teaspoon pepper in a medium bowl. Let them soak while you prepare the remaining ingredients.
- Whisk together the flour, cornstarch, remaining ½ teaspoon salt, and remaining ¼ teaspoon pepper in a separate medium bowl.
- Pour about 1 inch of oil into a medium, heavy-bottomed pot. Heat the oil over medium-high heat until it reaches 350-375°F.
- Drain the shallots well. Working in batches, toss them in the flour mixture, separating the pieces so they are evenly coated. Transfer them to a fine-mesh strainer and shake off as much excess flour as possible.
- Carefully lower the shallots into the hot oil. Fry, stirring and turning as needed, until crisp and golden brown, about 3-5 minutes.
Pro Tip: Do not let the onions get too brown, otherwise they could turn bitter.
- Transfer them to a paper towel-lined baking sheet and season lightly with salt. Strain and reserve 2 tablespoons of the frying oil.

Coley's Tips For Success
- If using haricots verts, blanch them for only 2-3 minutes. Dry the blanched green beans thoroughly to prevent the sauce from becoming watery.
- Do not salt the mushrooms until after they have browned. Salting them too soon encourages them to release water and steam.
- Keep the sauce slightly thicker than you think you need. The beans release a little moisture in the oven, so a sauce that sticks to the back of a spoon ends up perfectly creamy.
- Save the rest of the frying oil for other recipes like roasting potatoes, making vinaigrettes, or sautéing veggies. Strain and keep in a jar in the fridge for up to a week.
- Add a little finely grated Parmigiano or Gruyère over the top, along with the onions during the last 5 minutes for extra flavor.
How to Make Green Bean Casserole Ahead for Thanksgiving
This dish can be made a day in advance. Assemble the green beans and sauce, then cover and refrigerate. Bake when ready to serve, adding about 10-15 minutes to the baking time.
The fried shallots can also be made a day in advance. Store at room temperature in an airtight container lined with paper towels. Let them bake for an additional 5-10 minutes on top of the casserole to re-crisp.

Serving Suggestions
Serve this fresh green bean casserole as part of a festive Thanksgiving feast! It's traditionally served right next to the herb roasted turkey or juicy dry brined turkey breast, along with homemade turkey gravy, and tangy balsamic cranberry sauce.
Don't forget the Italian sausage stuffing, cheesy corn casserole, crowd-pleasing mashed sweet potatoes, or creamy mascarpone mashed potatoes to complete the meal!
How to Store and Reheat Green Bean Casserole
Let leftovers cool to room temperature, then transfer to an airtight container or cover the baking dish tightly. Store in the fridge for up to 3 days.
Keep the fried shallots separate in an airtight container at room temperature.
To reheat, cover the casserole with foil and warm it in a 350°F oven for 15-20 minutes, until heated through. Uncover for the last 5 minutes, adding the shallots on top.

FAQs
The amount of time depends on the thickness of your beans and preferred level of softness. Bring a large pot of generously salted water to a boil. Add the green beans and cook until bright green and beginning to soften but still firm in the center, about 3-5 minutes. Immediately transfer them to an ice bath. Once cold, drain and dry.
Make sure you dry the beans completely. After the ice bath, spread them on a clean kitchen towel and pat them dry thoroughly. Any leftover moisture will dilute the sauce as it bakes.
Keep them on a wire rack or paper towel-lined sheet if you're making the dish immediately. Otherwise, once cooled, store them at room temperature in an airtight container lined with a paper towel. Re-crisp them in a 300°F oven for about 10 minutes if needed. The fried shallots can be prepared one day ahead.
Did you LOVE this recipe? Please leave a star ⭐️ rating and comment and tag your creations @ColeyCooks on Instagram!
Want to Save This Recipe?
Enter your email & I'll send it to your inbox along with my best Thanksgiving ideas and tips.
By submitting this form, you consent to receive emails from Coley Cooks.
Fresh Green Bean Casserole (No Canned Soup)
Ingredients
For the Fried Shallots
- 3-4 shallots medium size, peeled, halved and sliced lengthwise ¼ inch thick
- 1 cup buttermilk
- 1 teaspoon Diamond Crystal kosher salt divided
- ½ teaspoon black pepper freshly ground, divided
- 1 cup all-purpose flour
- 2 tablespoons cornstarch
- neutral oil grapeseed, avocado, vegetable or another, for frying
For the Green Bean Casserole
- butter or nonstick cooking spray for greasing the baking dish
- kosher salt as needed
- 2 pounds fresh green beans trimmed and halved crosswise
- 2 tablespoons oil reserved from shallot frying
- 5 tablespoons unsalted butter divided
- 1 pound cremini mushrooms very thinly sliced
- 1 shallot small size, finely chopped, about ¼ cup
- 2 garlic cloves finely minced or grated
- 1 teaspoon fresh thyme leaves
- ⅛ teaspoon nutmeg freshly grated
- ¼ cup all-purpose flour
- 2 cups low-sodium chicken stock
- 1 cup heavy cream
- 2 teaspoons soy sauce or tamari
- 2 teaspoons sherry vinegar
- ½ teaspoon black pepper freshly ground
Instructions
Make the Fried Shallots
- Combine the sliced shallots or onions, buttermilk, ½ teaspoon salt, and ¼ teaspoon pepper in a medium bowl. Let them soak while you prepare the remaining ingredients.3-4 shallots, 1 cup buttermilk, 1 teaspoon Diamond Crystal kosher salt, ½ teaspoon black pepper
- Whisk together the flour, cornstarch, remaining ½ teaspoon salt, and remaining ¼ teaspoon pepper in a separate medium bowl.1 cup all-purpose flour, 2 tablespoons cornstarch
- Pour about 1 inch of oil into a medium, heavy-bottomed pot. Heat the oil over medium-high heat until it reaches 350-375°F.neutral oil
- Drain the shallots well. Working in batches, toss them in the flour mixture, separating the pieces so they are evenly coated. Transfer them to a fine-mesh strainer and shake off as much excess flour as possible.
- Carefully lower the shallots into the hot oil. Fry, stirring and turning as needed, until crisp and golden brown, about 3-5 minutes.
- Transfer them to a paper towel-lined baking sheet and season lightly with salt. Strain and reserve 2 tablespoons of the frying oil.
Make the Green Bean Casserole
- Preheat the oven to 375°F. Lightly butter or spray a 9-by-13-inch baking dish.butter
- Bring a large pot of water to a boil and add a generous handful of salt. Add the green beans and cook until bright green and beginning to soften but still firm in the center, about 5 minutes. Immediately transfer them to an ice bath. Once cold, drain and dry them thoroughly.kosher salt, 2 pounds fresh green beans
- Heat 2 tablespoons of reserved shallot oil (from the fried shallots, or plain vegetable oil if using store-bought fried onions) and 2 tablespoons of butter in a large, wide skillet over medium-high heat. Add the mushrooms in an even layer. Cook without stirring until browned underneath, about 2 minutes. Continue cooking, stirring occasionally, until their moisture evaporates and they are well browned, about 5 minutes longer. Transfer to a plate, then reduce the heat to medium.2 tablespoons oil, 5 tablespoons unsalted butter, 1 pound cremini mushrooms
- Melt the remaining 3 tablespoons butter, then add the chopped shallot and cook until soft and translucent, about 3-4 minutes. Add the garlic, thyme, and nutmeg, then cook until the garlic is fragrant, about 30 seconds.1 shallot, 2 garlic cloves, 1 teaspoon fresh thyme leaves, ⅛ teaspoon nutmeg
- Sprinkle in the flour and cook, stirring constantly, until it completely coats the shallots and loses its raw appearance, about 1-2 minutes. Slowly whisk in the chicken stock, followed by the heavy cream. Bring to a gentle simmer and cook until the sauce is smooth and thick enough to coat the back of a spoon, about 5-7 minutes.¼ cup all-purpose flour, 2 cups low-sodium chicken stock, 1 cup heavy cream
- Stir in the soy sauce, sherry vinegar and black pepper along with the reserved mushrooms. Taste and add additional salt and pepper as needed.2 teaspoons soy sauce, 2 teaspoons sherry vinegar, ½ teaspoon black pepper
- Fold the green beans into the mushroom sauce until evenly coated. Transfer everything to the prepared baking dish and spread it into an even layer.
- Bake uncovered until the sauce is bubbling around the edges and the green beans are tender, about 20-25 minutes. Top with the fried shallots and bake for another 5 minutes until they're hot and crisp.
- Let the casserole rest for 5 minutes before serving.
Notes
- When frying the shallots, work in two batches if your skillet is crowded. Overcrowding will cause them to steam rather than brown.
- Do not let the onions get too brown, otherwise they could turn bitter.
- If using haricots verts, blanch them for only 2-3 minutes. Dry the blanched green beans thoroughly to prevent the sauce from becoming watery.
- Do not salt the mushrooms until after they have browned. Salting them too soon encourages them to release water and steam.
- Keep the sauce slightly thicker than you think you need. The beans release a little moisture in the oven, so a sauce that sticks to the back of a spoon ends up perfectly creamy.
- Save the rest of the frying oil for other recipes like roasting potatoes, making vinaigrettes or sautéing veggies. Strain and keep in a jar in the fridge for up to a week.
- Add a little finely grated Parmigiano or Gruyère over the top, along with the onions during the last 5 minutes for extra flavor.





Sounds great, can I half this recipe?
Yes absolutely! Just use a 9x9" baking dish or a similar size casserole dish.