This green bean casserole is a delicious dairy- and gluten-free take on a Thanksgiving classic. Made with fresh green beans, mushrooms, crispy fried shallots, and an ultra-creamy sauce you wouldn’t guess is cream-free. Whole30 compatible, vegan, and paleo-friendly.

The best dairy-free green bean casserole
Growing up in the Midwest, green bean casserole was always a staple at Thanksgiving. Over the years our holiday menu has evolved, but a few favorites remain—this dairy- and gluten-free green bean casserole is one of them. It’s made from scratch, richly flavored, and surprisingly creamy without dairy.
This version uses a cashew-based cream, plenty of mushrooms for savory depth, and house-fried shallots for crunch. It’s comforting, crowd-pleasing, and easy to adapt to dietary needs.
Why you’ll love this green bean casserole
This casserole is:
- Nostalgic
- Comforting
- Satisfying and flavorful
- Dairy-free and gluten-free
- Whole30 compatible, vegan and paleo-friendly
- Perfect for the holidays


Ingredients & substitutions
Making green bean casserole without dairy or gluten is straightforward with a few pantry staples. Below are the main ingredients and easy swaps.
- Raw cashews – Blended into a smooth cashew cream that replaces dairy for richness and silkiness.
- Fresh green beans – I prefer fresh for texture and flavor. Frozen, thawed and well-patted green beans can be used instead.
- Avocado oil – Used for frying the shallots; neutral oils work too.
- Shallots – Thinly sliced and fried until crispy in place of traditional canned fried onions.
- Onion & garlic – Build a savory base for the sauce.
- Mushrooms – Crimini or button mushrooms add umami. Omit if you prefer no mushrooms.
- Fresh thyme – Adds an aromatic note to the sauce.
- Dijon mustard – A small amount brightens the cream sauce.
- Broth – Use vegetable or mushroom broth to keep the dish vegan; chicken broth works if not vegan.
- Nutritional yeast – Adds a savory, cheesy depth for vegan versions.
- Salt & pepper – Season to taste before baking.
Where I like to shop for pantry staples
Pantry staples for this recipe are widely available at natural foods stores and many online retailers. Choose quality cashews and a flavorful broth for the best results.










How to make
This casserole begins with a silky cashew cream combined with sautéed mushrooms, onions, and herbs. The sauce is folded into blanched green beans, then baked and topped with crispy shallots.
Step-by-step
- Preheat the oven to 350°F (175°C).
- Soak cashews. Place cashews in a heatproof bowl and cover with just-boiled water; set aside to soften.
- Blanch green beans. Bring a large pot of salted water to a boil and prepare a bowl of ice water. Cook green beans until tender-crisp (about 3–4 minutes depending on thickness), then plunge into ice water. Drain and set aside.
- Fry shallots. Heat avocado oil in a large skillet over medium heat. Add thinly sliced shallots and cook, stirring, until golden and crispy. Transfer to a paper towel-lined plate and season with salt. Reserve the oil in the pan.
- Sauté onion. Add diced onion to the skillet and cook until soft and translucent, about 3 minutes.
- Add mushrooms. Cook mushrooms until caramelized, about 8–10 minutes. Stir in garlic, thyme, Dijon, salt, and pepper and cook briefly.
- Simmer with broth. Pour in 1 cup of broth, scrape up browned bits, reduce heat and simmer until slightly reduced, 5–6 minutes.
- Blend cashew cream. Drain cashews and blend with 1/2 cup hot water until smooth.
- Finish the sauce. Stir cashew cream, remaining 1/2 cup broth, and nutritional yeast into the skillet. Simmer, stirring, until the sauce thickens slightly. Remove thyme sprigs.
- Toss with green beans. Add blanched green beans to the skillet and toss to coat. Adjust salt and pepper to taste.
- Bake. Transfer the mixture to a 9×13 baking dish and bake uncovered for about 20 minutes until hot and bubbling. Sprinkle fried shallots on top and bake 5 minutes more to crisp.
- Serve. Let rest briefly, then serve warm.


Make-ahead tips
You can prepare components ahead of time: blanch the green beans, make the sauce, and fry the shallots separately. Store green beans and sauce refrigerated in airtight containers; keep shallots crisp at room temperature in an airtight container. When ready, toss beans with sauce, transfer to a baking dish, and bake until hot—allow a few extra minutes if ingredients are cold.
Storage
Leftovers keep in the refrigerator for 3–4 days, though the casserole is best eaten within a day or two. Freezing is not recommended because the texture of the cashew cream and the crisp shallots will deteriorate.

If you enjoyed this recipe, please take a moment to rate and review it. Sharing modifications you made helps other cooks too!
Thank you for cooking with us — we’re grateful you’re here.
Dairy Free Cashew Cream Green Bean Casserole (Gluten Free)
- Author: Nyssa Tanner
- Total Time: 50 minutes
- Yield: 8 servings
- Diet: Gluten Free
Description
This green bean casserole is a delicious dairy- and gluten-free take on a Thanksgiving classic. Made with fresh green beans, mushrooms, crispy fried shallots, and an ultra-creamy cashew sauce. Whole30 compatible, vegan, and paleo-friendly.
Ingredients
- Just boiled water for soaking cashews
- 3/4 cup raw cashews
- 1/2 cup hot water (for blending)
- 2 pounds green beans, cut in half if long
- 1/3 cup avocado oil
- 6 large shallots, thinly sliced (about 1 1/2 cups)
- 1 cup diced onion
- 1 pound crimini or button mushrooms, sliced
- 2 cloves garlic, chopped
- 2 sprigs fresh thyme
- 1 teaspoon salt
- 1/2 teaspoon black pepper
- 1 tablespoon Dijon mustard
- 1 1/2 cups broth, divided (mushroom or vegetable broth for vegan)
- 3 tablespoons nutritional yeast
- Salt and pepper to taste
Instructions
- Preheat oven to 350°F (175°C).
- Soak cashews. Cover cashews with just-boiled water in a heatproof bowl and set aside.
- Blanch green beans. Boil salted water, cook green beans 3 minutes for thin beans or 4 minutes for regular until tender-crisp. Transfer to ice water, then drain and set aside.
- Make crispy shallots. Heat avocado oil in a skillet over medium heat. Add thinly sliced shallots and cook, stirring, until golden and crispy. Transfer to paper towels, season with salt, and set aside. Keep the oil in the pan.
- Sauté onion. Add diced onion to the skillet and cook until soft, about 3 minutes.
- Add mushrooms. Cook until caramelized, 8–10 minutes. Add garlic, thyme, Dijon, salt, and pepper and sauté briefly.
- Simmer the sauce. Pour in 1 cup broth and scrape up browned bits. Reduce heat and simmer 5–6 minutes until slightly reduced.
- Make cashew cream. Drain cashews and blend with 1/2 cup hot water until smooth.
- Finish the sauce. Stir cashew cream, remaining 1/2 cup broth, and nutritional yeast into the skillet. Simmer and stir for 3–4 minutes until slightly thickened. Remove thyme sprigs.
- Toss with green beans. Add blanched green beans to the pan and toss to coat. Season to taste.
- Bake. Transfer to a 9×13 baking dish and bake uncovered 20 minutes until hot and bubbling. Top with fried shallots and bake 5 more minutes to crisp.
- Serve and enjoy.
Equipment
9×13 baking dish, large skillet, blender or high-speed blender, pot for blanching, mixing bowls, slotted spoon.
Notes
To make ahead: blanch the beans, prepare the sauce, and fry shallots separately. Refrigerate beans and sauce in airtight containers and store shallots at room temperature. Assemble and bake when ready. Leftovers keep 3–4 days in the refrigerator. Freezing is not recommended.
- Prep Time: 30 minutes
- Cook Time: 20 minutes
- Category: Side Dish
- Method: Oven
- Cuisine: American