Go Back
Chopped onions on cutting board.

Gluten-Free Green Bean Casserole

Consider doubling the onion part of the recipe if you like to munch on fried onions.
Prep Time 15 minutes
Cook Time 40 minutes
Total Time 55 minutes
Servings 6
Author GlutenFreeBaking.com


For the Fried Onions

  • 3 tablespoons cornstarch (3/4 ounce; 22 grams)
  • 3 tablespoons white rice flour (3/4 ounce; 22 grams)
  • 1 medium onion sliced into thin strips
  • Vegetable oil for frying

For the Casserole

  • Salt to taste (optional)
  • 3 tablespoons olive oil, divided
  • 1 small onion, finely diced
  • 8 ounces white button mushrooms, finely chopped (approximately 3 cups)
  • 1 clove garlic, minced or put through a garlic press
  • 2 cups milk, divided (16 ounces; 453 grams)
  • 2 tablespoons cornstarch (1/2 ounce; 14 grams)
  • 1 (16-ounce) bag frozen French-cut green beans, thawed and drained or 16-ounces fresh green beans, cleaned, trimmed, and cooked until tender
  • 1/8 teaspoon ground thyme
  • Salt and pepper to taste
  • 1/4 cup grated Parmesan cheese, divided (3/4 ounce; 22 grams)


  1. For the Onions: In a large zip-close bag, combine cornstarch and white rice flour. Add onions and shake bag to combine. Remove onions from bag; shake off any excess flour.
  2. Fill a large heavy-bottomed skillet (cast iron works best) with 1/2 inch of vegetable oil. Heat oil over medium-high heat until hot and shimmering. (To test your oil, drop one onion slice into it. The onion should sizzle when it hits the oil. If it doesn't, the oil is not hot enough.) Fry a handful of onions, about 4- 5 batches, until golden brown and crispy. (Don't crowd the pan while frying.
  3. Remove onions from oil using a slotted spoon. Place on paper towel-lined plate to drain. If desired, season with salt to taste. Repeat with remaining onions.
  4. For the casserole: Preheat oven to 350ºF. In a medium saucepan, heat 2 tablespoons of olive oil over medium-high until shimmering. Add onion and garlic. Sauté until soft, stirring frequently. Add mushrooms and remaining tablespoon of olive oil. Cook until mushrooms are soft and tender, stirring frequently, about three minutes.
  5. Add 1 3/4 cups of milk and thyme. Bring to a boil. Once the mixture boils, combine remaining 1/4 cup of milk and two tablespoons cornstarch. Stir vigorously with a fork to combine milk and cornstarch. Quickly whisk in cornstarch. Allow to boil for 45 seconds. Remove from heat. Reduce heat to low. Allow to simmer for three minutes. Salt and pepper to taste.
  6. Add green beans, stir to combine. Pour into a 1 1/2-quart casserole dish. Top with half the grated Parmesan cheese. Cover with foil. Bake for 30 minutes.
  7. Remove foil. Sprinkle fried onions and remaining cheese over the top of casserole. Return to oven until bubbling and lightly golden brown, about seven minutes.