Gluten-Free Green Bean Casserole from Scratch

Gluten-free green bean casserole in a square baking dish topped with homemade crispy fried onions

Green bean casserole is the dish most gluten-free households give up on, and it is worth understanding why. The classic recipe leans on two cans, and both of them are usually made with wheat: the cream of mushroom soup and the crispy fried onions on top.

So this version rebuilds both. The sauce is mushrooms sauteed in butter with a little Pamela's Gluten-Free 1:1 All-Purpose Flour whisked into the pan juices and half and half stirred in. The onions are sliced thin, dredged in seasoned flour, and fried. It is more work than opening cans, and it tastes like a different dish altogether.

Fresh green beans, a real sauce, and nobody at the table asking which one is the gluten-free version.

Why the Classic Version Is Not Gluten-Free

Condensed cream of mushroom soup is thickened with wheat flour, and the canned fried onions in the grocery store are made with wheat flour too. Read the labels and you will find it on both.

There is no swap that fixes a recipe built on those two cans, which is why this one starts over. The good news is that both are straightforward to make, and the sauce in particular is a five-minute job once the mushrooms are browned.

Fresh Green Beans, Not Canned

Fresh beans are the single biggest upgrade here. They keep a bite after baking where canned beans go soft, and they do not bring the extra liquid that makes a casserole watery.

Steam them 4 minutes, then stop the cooking cold, either under cold running water or in an ice water bath. Four minutes sounds short. It is correct. They finish cooking in the oven, and beans that are fully tender before they are assembled will be mushy by the time the dish is bubbling.

The Mushroom Sauce Replaces the Soup

Brown the mushrooms in butter in a medium-hot pan, 2 to 3 minutes, then lift them out with a slotted spoon and leave the butter and juices behind. Whisk the seasoned flour into what is left in the pan, add the half and half, and stir until it thickens.

The sauce should coat the back of a spoon. If it stays thinner than that, whisk another teaspoon of flour into a spoonful of half and half until smooth and stir that in, then let it come back to a simmer.

Homemade Fried Onions

Slice the onion into rings an eighth to a quarter of an inch thick and separate them. Dredge them in the seasoned flour, shake off everything that is loose, and fry them in small batches.

Small batches matter more than anything else here. A crowded pan drops the oil temperature and the coating turns soft instead of crisp. Drain them on paper towels and salt them while they are hot.

If they are coming out pale and greasy rather than golden and crisp, bring the oil up to about 325 degrees F and try another batch.

Keeping It From Going Watery

Three things cause a watery casserole, and all three are avoidable. Beans steamed too long, beans not dried after their cold rinse, and a sauce that was never thick enough to begin with.

Shake the beans dry in a colander, or spread them on a towel, before they go into the dish. A little patience there is the difference between a sauce that clings and a puddle in the bottom of the pan.

Make It Ahead

The sauce and the fried onions can both be made a day ahead. Refrigerate the sauce and keep the onions in an airtight container at room temperature, not in the refrigerator, where they go limp.

Assemble the casserole up to the point of baking, cover it, and refrigerate up to a day. Add about 10 minutes to the covered bake time if it goes into the oven cold, and hold the top layer of onions until the foil comes off.

More Gluten-Free Thanksgiving Recipes

Made with

Gluten-Free 1:1 All-Purpose Flour, 4 lb. (opens in a new tab)
$19.49 Rated 4.9 out of 5 from 101 reviews.

Free shipping on orders $39+

Pack Size

Prep Time 45 minutes
Cook Time 35 minutes
Total Time 1 hour 20 minutes
Yield 8
Serving Size 1 cup

Ingredients

  • 1 1/2 lbs green beans, trimmed and cut in half
  • 1/2 lb mushrooms, cleaned and sliced
  • 1/4 cup (4 tablespoons) butter
  • 1 1/2 teaspoons salt, for the sauce
  • 1/4 teaspoon black pepper, for the sauce
  • Pinch of cayenne, optional, for the sauce
  • 1 tablespoon Pamela's Gluten-Free 1:1 All-Purpose Flour, or Pamela's Gluten-Free Bread Mix with the yeast packet set aside, for the sauce
  • 3/4 cup half and half
  • 1 onion, for the fried onions
  • 1/2 cup Pamela's Gluten-Free 1:1 All-Purpose Flour, for dredging the onions
  • 1/2 teaspoon salt, for dredging the onions
  • 1/4 teaspoon black pepper, for dredging the onions
  • Oil, for frying

Used in this recipe

Gluten-Free 1:1 All-Purpose Flour, 4 lb. (opens in a new tab)
$19.49 Rated 4.9 out of 5 from 101 reviews.
Pack Size

Directions

  1. Steam the green beans for 4 minutes, then rinse them under cold water or drop them into an ice water bath to stop the cooking. Drain them well and shake them dry.
  2. Make the sauce. Saute the mushrooms in the butter in a medium-hot pan until slightly browned, 2 to 3 minutes. Lift the mushrooms out with a slotted spoon and set them aside, leaving the butter and juices in the pan.
  3. Whisk the 1 tablespoon of flour, 1 1/2 teaspoons salt, 1/4 teaspoon pepper, and the cayenne if using into the juices in the pan. Add the half and half and stir until the sauce thickens enough to coat the back of a spoon. If it stays thin, whisk another teaspoon of flour into a spoonful of half and half and stir that in.
  4. Make the fried onions. Slice the onion into rings an eighth to a quarter of an inch thick and separate the rings. Stir the 1/2 cup flour together with the 1/2 teaspoon salt and 1/4 teaspoon pepper in a shallow dish.
  5. Heat about an inch of oil in a heavy pan to 300 degrees F. Dredge the onion rings in the seasoned flour and shake off the excess.
  6. Fry the onions in small batches until slightly browned, turning once. Do not crowd the pan, or the oil cools and the coating goes soft. Drain them on paper towels and salt them while hot. If they come out pale and greasy, raise the oil to about 325 degrees F for the next batch.
  7. Heat the oven to 350 degrees F and butter a 9 by 9 inch baking dish.
  8. Combine the sauce, the mushrooms, the green beans, and about half the fried onions, and turn the mixture into the buttered dish.
  9. Cover with foil and bake 25 minutes.
  10. Remove the foil, scatter the remaining fried onions over the top, and bake uncovered until the casserole is bubbling and the onions are heated through, about 10 minutes more.

Recipe Tips & Notes

Why This Is Not the Canned Version

Condensed cream of mushroom soup and the canned fried onions sold in grocery stores are both typically made with wheat flour. Read the labels on both.

That is why this recipe builds the sauce and the onions from scratch rather than substituting.

Steam the Beans Only 4 Minutes

Four minutes is correct, and it will feel short. The beans finish cooking in the oven.

Stop the cooking in cold or ice water, then drain and shake them dry. Wet beans are the most common cause of a watery casserole.

Fry in Small Batches

A crowded pan drops the oil temperature and the coating turns soft instead of crisp. Fry a handful at a time and let the oil come back up between batches.

If the onions come out pale and greasy rather than golden and crisp, bring the oil up to about 325 degrees F.

Sauce Thickness

The sauce should coat the back of a spoon before it goes into the dish. If it stays thin, whisk another teaspoon of flour into a spoonful of half and half until smooth and stir it in, then bring it back to a simmer.

The Bread Mix Yeast Packet

If you use Pamela's Bread Mix in place of the 1:1 All-Purpose Flour, set the yeast packet aside before you measure. The 19 oz bag has one inside.

Make-Ahead

The sauce and the fried onions can be made a day ahead. Refrigerate the sauce. Keep the onions airtight at room temperature, not in the refrigerator, where they soften.

Assembled and unbaked, the casserole holds a day refrigerated. Add about 10 minutes to the covered bake if it starts cold, and hold the top onions until the foil comes off.

Recipe FAQs

Usually not. The crispy fried onions sold in cans for green bean casserole are typically made with wheat flour, so they are one to check the label on rather than assume. Slicing and frying your own in seasoned gluten-free flour is the way around it.

Yes, and it is a better dish for it. Brown sliced mushrooms in butter, whisk a tablespoon of seasoned gluten-free flour into the pan juices, and stir in half and half until it thickens. That replaces the condensed soup entirely.

Steam the beans only 4 minutes, stop them in cold water, then drain and shake them dry before assembling. Wet beans are the usual culprit. Make sure the sauce coats the back of a spoon before it goes in.

Yes. Make the sauce and fry the onions a day ahead, refrigerating the sauce and keeping the onions airtight at room temperature. Assembled and unbaked it holds a day refrigerated. Add about 10 minutes to the covered bake if it starts cold.

A plain blend with no sugar or leavening in it. Pamela's 1:1 All-Purpose Flour works here and does double duty as the dredge for the onions, so one bag covers both parts of the recipe.

Reviews

Have you made this recipe? We would love to hear how it turned out, and any swaps you tried.

No reviews yet. Have you made this recipe? Be the first to tell us how it went.

Write a review

Your rating

Never shown publicly.

Reviews appear after a quick check by our team.

Have a question about ingredients or allergens? Our care team is happy to help.

Top Pamela's Searches