Gluten-Free Green Bean Casserole with Crispy Onions
This creamy, from-scratch gluten-free green bean casserole ditches canned soup but keeps all the cozy holiday flavor you remember. A quick mushroom sauce hugs tender green beans under a crackly layer of crispy onions, so no one has to skip the best part of the meal.

It uses everyday gluten-free pantry staples and comes together while the rest of dinner finishes up. You get a bubbling, golden-topped side that tastes like you spent all day on it, without a speck of gluten in sight.
What Makes This Green Bean Casserole So Good
The sauce tastes deeply savory from fresh sautéed mushrooms, with a silky texture that coats every bean.
Gluten-free all-purpose flour thickens it without any grittiness or gluey film, so the casserole stays smooth and luscious.
The crispy onion topping stays crunchy through the bake and adds just the right salty pop. It’s the exact ratio of creamy to crisp, with no watery edges or soggy middle.
Ingredients

- 1 ½ lb fresh green beans, trimmed: look for firm, bright pods. Frozen work in a pinch, see the tip below.
- 8 oz cremini mushrooms, thinly sliced: white mushrooms are fine too.
- 3 tbsp unsalted butter: dairy-free butter works the same way.
- 3 tbsp gluten-free 1-to-1 flour blend: a blend with xanthan gum gives the creamiest sauce.
- 1 ¼ cups whole milk: oat or unsweetened almond milk work for a dairy-free version.
- ½ cup chicken or vegetable broth: use broth that’s labeled gluten-free.
- ½ tsp kosher salt: plus more for the blanching water.
- ¼ tsp black pepper
- ¼ tsp garlic powder
- 1 large yellow onion, very thinly sliced
- ⅓ cup gluten-free flour blend (for the onions)
- ½ tsp salt
- Vegetable oil, for frying
Variations / Substitutions
- Frozen green beans: use 1 ½ lb frozen cut green beans, thawed and patted dry. Skip the blanching step and add 5 extra minutes to the bake time.
- Dairy-free: swap the butter, milk, and use a dairy-free buttery spread. The sauce will still thicken nicely.
- Extra texture: stir in ½ cup diced cooked bacon or sautéed diced pancetta with the green beans before baking.
- Herbs: add 1 tsp chopped fresh thyme or a pinch of dried sage to the sauce for a woodsy note.
If you want another holiday classic without gluten, my Gluten-Free Stuffing recipe uses the same flour blend and turns out golden and herby every time.
How to Make Gluten-Free Green Bean Casserole
Step 1: Blanch the Green Beans

Bring a large pot of well-salted water to a boil and preheat the oven to 375°F (190°C). Drop the trimmed green beans into the boiling water and cook just 4 minutes, then drain them and plunge into a bowl of ice water. The beans should turn bright emerald and stay firm in the center.
Drain the beans again and pat them dry with a clean towel. Getting the beans dry now keeps the finished casserole from turning watery in the oven.
Step 2: Sauté the Mushrooms and Build the Sauce

Melt the 3 tbsp butter in a large skillet over medium heat. Add the sliced mushrooms and cook for 5 to 6 minutes, stirring every so often, until they release their liquid and the edges start to brown. The kitchen will smell deeply earthy and savory.
Sprinkle the 3 tbsp gluten-free flour over the mushrooms and cook, stirring constantly, for exactly 1 minute. This cooks off the raw flour taste before you add the liquid. Slowly pour in the milk and broth while whisking, then add the ½ tsp salt, pepper, and garlic powder. Keep whisking until the sauce is smooth, then let it bubble gently for about 4 minutes until it thickens enough to coat the back of a spoon. It will look like a creamy soup at this point.
Step 3: Make the Crispy Onions

While the sauce simmers, toss the thinly sliced onion with the ⅓ cup gluten-free flour and ½ tsp salt in a bowl until every strand is lightly coated. Pour vegetable oil into a small saucepan to come about 1 inch up the side and heat it over medium-high until a pinch of flour sizzles on contact.
Fry the onions in batches, shaking off excess flour before they go in. Cook each batch 2 to 3 minutes, stirring once, until they turn deep golden and crisp. Lift them out with a slotted spoon onto paper towels and hit them with a tiny pinch of salt while hot. They will keep crunching as they cool.
Step 4: Assemble and Bake

Fold the blanched green beans and the mushroom sauce together until the beans are well coated. Scrape everything into an 8×8-inch (or similar 2-quart) baking dish and spread it evenly. Sprinkle the crispy fried onions over the top in a generous, messy layer.
Slide the dish onto the middle rack and bake for 25 minutes. The sauce should be bubbling around the edges and the onions will deepen a shade or two, smelling like a holiday kitchen. If the onions start to get too dark before the casserole is fully bubbly, tent a piece of foil loosely over the top.
Step 5: Serve It Hot

Pull the casserole out and let it sit for just 3 or 4 minutes so the sauce sets a bit. Spoon it straight from the dish at the table, scooping deep so every serving gets plenty of sauce and those crunchy onions on top. It holds its shape nicely but stays creamy underneath.
Tips for a Spot-On Casserole
- Use fresh green beans if you can. They stay toothsome after baking and don’t release as much liquid as canned or thawed frozen beans.
- Pat mushrooms dry before slicing. Excess moisture makes them steam instead of browning, and browning is where the deep flavor comes from.
- If your sauce feels too thick before you mix it with the beans, loosen it with a splash of milk. It should be the texture of a creamy gravy.
- Want to save time? Replace the fried onions with 1 ½ cups good-quality store-bought gluten-free crispy fried onions. Just scatter them on top before baking.
Bake times by dish size:
| Dish size | Bake time |
|---|---|
| 8×8-inch (2 qt) | 25 mins |
| 9×13-inch (3 qt) | 20 to 22 mins |
Storing Leftover Casserole
- Refrigerate: cover the dish tightly and keep it in the fridge for up to 3 days. The onions soften a little but stay pleasantly chewy.
- Reheating: warm individual portions in the microwave, or cover the whole dish with foil and reheat at 325°F for about 15 minutes. A toaster oven gets the top crisp again.
What Goes Well With Green Bean Casserole
The creamy, savory texture pairs beautifully with lean roasted turkey or roast chicken because the sauce balances the mild meat without weighing it down. It’s also a natural beside a salty glazed ham, where the onion topping echoes the ham’s caramelized edges. For a vegetarian holiday plate, serve it alongside a wild rice pilaf or a sweet potato gratin so the table gets a mix of creamy, sweet, and earthy.
Frequently Asked Questions
Can I make this casserole ahead of time?
Yes. Assemble the beans and sauce in the baking dish, cover, and refrigerate for up to 24 hours. Add the crispy onions just before baking, cold from the fridge, and tack on an extra 5 to 7 minutes of bake time.
Can I use canned green beans instead?
You can, but the texture will be much softer. Drain three 14.5 oz cans of cut green beans well, pat them dry, and skip the blanching. The casserole will taste more like the classic convenience version.
What’s the best gluten-free flour for the sauce?
A 1-to-1 blend that includes xanthan gum (like Bob’s Red Mill 1-to-1 or Cup4Cup) gives the smoothest, most reliable sauce. Sweet rice flour also works and yields a very silky finish.
Can I freeze this casserole?
You can freeze the assembled casserole without the onion topping for up to 2 months. Thaw overnight in the fridge, add the crispy onions, and bake as directed. The onions lose their crunch if frozen and reheated, so it’s best to add them fresh.
How do I stop the sauce from tasting floury?
Cook the gluten-free flour in the butter for a full minute, stirring the whole time, before adding any liquid. That step removes the raw, starchy taste that sometimes shows up in gluten-free sauces.

Gluten-Free Green Bean Casserole Recipe
Ingredients
Method
- Blanch green beans in salted boiling water for 4 minutes, then shock in ice water, drain, and pat dry. Preheat oven to 375°F.
- Melt butter over medium heat. Sauté mushrooms until browned, about 5 minutes. Stir in 3 tbsp gluten-free flour and cook 1 minute. Whisk in milk, broth, salt, pepper, and garlic powder. Simmer 4 minutes until thick.
- Toss sliced onion with ⅓ cup gluten-free flour and ½ tsp salt. Fry in 1 inch of hot oil in batches until golden and crisp, about 2 to 3 minutes. Drain on paper towels.
- Fold green beans into the sauce and transfer to an 8×8-inch dish. Top with crispy onions and bake 25 minutes until bubbly.
- Let the casserole rest a few minutes, then serve hot.
