Homemade Green Bean Casserole With Shallots
Affiliate disclosure: This post may contain affiliate links. I may earn a small commission at no extra cost to you. See our Privacy Policy for details HERE.
I grew up with the version made from a can of soup and a can of fried onions, and I still have a soft spot for it. But a homemade green bean casserole is something else. The beans stay bright and snappy, the sauce tastes of real mushrooms and thyme, and the crunchy topping is made of shallots you fry yourself.
It does take more effort than the shortcut. The good news is that nearly all of it can be done ahead, so the day of the dinner is calm.
Start with the beans
Trim the ends off one and a half pounds of fresh green beans and snap or cut them in half. Boil them in generously salted water for six to seven minutes, until they are tender but not floppy. Do not worry about the salt, since most of it stays in the water, and salted water is what seasons the beans from the inside.
Then comes the part that keeps them green: a bowl of ice water with three tablespoons of salt dissolved in it. Drop the drained beans in, stir until they are cold and then drain them again and dry them thoroughly on a towel. Wet beans water down a sauce, so be thorough.
You can stop here and keep the beans in the refrigerator for two days, wrapped in paper towels inside an airtight container. That is the biggest time saver in the recipe.
It helps to know why each small step matters. Salted boiling water seasons the beans all the way through, so they do not taste bland under a rich sauce. Cooling them quickly in ice water stops the cooking and fixes their bright green color. Drying them keeps the sauce thick. Skip any one of the three and the casserole suffers.
Choose firm, slender beans that snap when bent. Limp, rubbery beans will not become crisp, no matter what you do to them. If beans are expensive or out of season, frozen whole green beans can work, but thaw and dry them well, and skip the boiling step.
A real mushroom sauce
The sauce begins with six tablespoons of butter melted in a large skillet. Add twelve ounces of mixed wild mushrooms, sliced, along with a tablespoon and a half of fresh thyme leaves, and season with salt and pepper. A mix of cremini, shiitake (stems removed) and oyster mushrooms gives the best flavor, but any mix you can find is fine.
Cook them for five or six minutes, until tender, then stir in five minced garlic cloves for about a minute. Sprinkle a quarter cup of flour over the pan and stir for another minute, so the flour disappears into the butter.
Next the liquids. A third of a cup of Chardonnay goes in first and cooks for only about fifteen seconds, just long enough to lose its raw edge. Then add half a cup of chicken stock and one and a half cups of cold whole milk. Bring it to a boil, turn it down to a simmer and cook five to seven minutes, stirring now and then, until it thickens and no longer tastes of raw flour.
Taste it and add salt and pepper. Season at every stage in this recipe, a bit at a time, because the final dish has a lot of beans to flavor. Take the pan off the heat and fold in the cold beans.
One note on the mushrooms: wipe them clean with a damp paper towel instead of rinsing, because they act like sponges and release the water in the pan. Cook them in a large skillet so they sauté and brown rather than steam, and keep the pan hot enough that you hear sizzling. The deeper the browning, the more flavorful the sauce.
For the flour, sprinkle it evenly over the mushrooms and stir at once. That is what keeps the sauce free of lumps. Pouring the milk in cold is also part of the method, as cold liquid blends more smoothly into the flour and butter.
Into the oven
Grease a 9×13 inch baking dish with the last tablespoon of butter, add the bean mixture and bake at 375 F for 25 to 28 minutes, until it is hot and bubbling at the edges.
The shallot topping
This is the fun part, and the one that makes it feel special. While the casserole bakes, heat six cups of vegetable oil in a heavy pot to 350 F. A deep-fry thermometer helps a lot here.
Mix a cup of flour with a teaspoon of paprika, half a teaspoon of cayenne and half a teaspoon of salt. Put two cups of buttermilk in a second bowl. Separate five thinly sliced extra-large shallots into rings and toss them in the buttermilk, then drain them so only a thin coat is left, and toss them with a fork through the flour. Move them to a clean strainer and shake off the extra flour so it does not cloud the oil.
The buttermilk and flour coating gives the shallots a craggy crust, and the paprika and cayenne add color and a little warmth. If you are nervous about frying, it is worth knowing that shallots cook very fast, about two minutes, and that frying in small batches keeps the oil temperature steady at 350 F. A pot with high sides and a slotted spoon or spider makes it far easier.
Let the used oil cool completely before you handle it, strain it through a fine sieve into a jar and throw it away with the household waste rather than down the drain.
Fry them in small batches, stirring gently, for about two minutes, until golden. Lift them out with a slotted spoon onto a rack set over a sheet pan, and sprinkle them lightly with salt while they are still hot. Frying in batches keeps the oil hot and the shallots from sticking together in clumps.
Let the finished casserole stand five to seven minutes, then crown it with the shallots. They can be fried a couple of hours before dinner and kept at room temperature. To bring back the crunch, warm them on a sheet pan in a 325 F oven for about ten minutes.
Hot shallots go soft when they are crowded, so spread them on the rack in a single layer, and salt them as soon as they come out of the oil, because the salt sticks best while they are still hot. If you are making them well ahead, store them in a loosely covered container, never in an airtight one, which traps steam and makes them limp.
Planning it for a busy table
If you are cooking a full holiday dinner, this dish asks for three things: stove space, oven space and a little attention at the end. A schedule helps. Prepare the beans the day before, make the sauce and assemble the casserole in the morning, and fry the shallots while the beans bake.
A makeover idea if you have leftovers: spoon the casserole into a small pan, top it with fresh shallots and reheat it at 350 F, and it tastes nearly as good as the first night. The sauce also thickens in the refrigerator, so loosen it with a splash of milk when you reheat.
The casserole itself can be held in a warm oven for a short time, and the shallots go on at the very last moment so they stay crisp. If you are short on burners, fry the shallots earlier in the day.
The recipe serves six to eight, which suits most holiday tables. It pairs with turkey, ham, roast beef and nearly everything else in a traditional spread, and the creamy sauce is lovely with a spoonful of gravy.
Troubleshooting
My sauce looks thin.
Let it simmer a few more minutes, and make sure the beans were dry when they went in. The beans release a little liquid in the oven, so a slightly thick sauce is what you want.
My shallots clumped together.
They went into the oil in too large a batch, or too much flour clung to them. Shake them well in the strainer and fry in smaller handfuls.
Can I make the whole casserole a day ahead?
You can assemble it without the shallots and bake it when you need it. The beans keep two days on their own, so the only thing to do at the last minute is fry the topping.

Homemade Green Bean Casserole With Shallots
Ingredients
Method
- Bring a large pot of generously salted water to a boil and cook the green beans for 6 to 7 minutes, until tender.
- While they cook, make an ice bath: a large bowl of cold water with 3 tablespoons of salt stirred in, plus several handfuls of ice.
- Drain the beans and drop them straight into the ice bath. Stir until they are cool, then drain and dry them well on a clean towel. The beans can be prepared up to this point 2 days ahead and refrigerated, wrapped in paper towels in an airtight container.
- Heat the oven to 375 F. Melt 6 tablespoons of the butter in a 12 inch skillet over medium heat. Add the mushrooms and thyme, season with salt and pepper and cook for 5 to 6 minutes, until the mushrooms are tender.
- Stir in the garlic and cook for about 1 minute, until fragrant. Sprinkle the flour over the mushrooms and stir for about 1 minute, until it is absorbed.
- Pour in the Chardonnay and cook for about 15 seconds, stirring, until it has evaporated. Add the chicken stock and the cold milk. Bring to a boil, then lower to a simmer and cook for 5 to 7 minutes, stirring occasionally, until the sauce thickens and the raw flour taste is gone.
- Taste and season with salt and pepper, remove from the heat and fold in the cooled green beans.
- Grease a 9x13 inch baking dish with the remaining 1 tablespoon of butter, spoon in the bean mixture and bake for 25 to 28 minutes, until hot and bubbling.
- While the casserole bakes, fry the shallots. Heat the oil in a Dutch oven or heavy pot to 350 F. In a large bowl whisk the flour, paprika, cayenne and 1/2 teaspoon of salt. Put the buttermilk in a second bowl.
- Work in batches. Separate the shallots into rings, toss them in the buttermilk and drain them in a strainer so only a thin film clings. Toss them with a fork in the seasoned flour, move them to a dry strainer and shake off the excess flour.
- Fry each batch in the hot oil for about 2 minutes, stirring gently so they do not clump, until golden. Lift them onto a wire rack set over a sheet pan and salt them lightly right away.
- Let the casserole stand for 5 to 7 minutes after it comes out of the oven, then top with the fried shallots. The shallots can be fried a couple of hours ahead and recrisped on a sheet pan in a 325 F oven for about 10 minutes.
- For Adults 21+ Only: This recipe contains wine, most of which cooks off, and is intended for guests of legal drinking age.



