Written by

Quinn Benson

Published

Easy Homemade Green Bean Casserole Recipe from Scratch

Ready In 40 minutes
Servings 8 servings
Difficulty Medium

It was 11:47 PM on a random Tuesday, and I had a very specific craving for that creamy, salty, crunchy thing that usually only shows up on Thanksgiving. I didn’t have any cans of cream of mushroom soup in the pantry—my usual shortcut—but I had a bag of fresh green beans, some mushrooms that were starting to look a little sad, and a carton of heavy cream that was about to expire. The weird, late-night idea that arrived was simple: what if I just made the whole thing from scratch? Not for a holiday, not for guests, just for me, standing in my kitchen in my pajamas. I figured if it was a disaster, no one would know. But honestly? It was the best green bean casserole I’d ever made. The homemade sauce was silkier, the mushrooms tasted like actual mushrooms, and the crispy onions—let me tell you—were a revelation. Maybe you’ve been there, staring into your fridge at 11 PM, wondering if you can turn odds and ends into something magical. This recipe is proof that you absolutely can. It’s become my go-to for weeknights when I want comfort food without the can, and it’s the one dish my family now requests for every holiday dinner.

Why You’ll Love This Recipe

I’ve tested this recipe about a dozen times to get it just right—not too soupy, not too dry, with a crunch that actually stays crunchy. Here’s why I think you’ll love it as much as I do:

  • Quick & Easy: From start to table in about 40 minutes. No canned soup, no frozen onions—just real food that comes together fast.
  • Simple Ingredients: You probably have most of this in your kitchen right now. Fresh green beans, mushrooms, cream, and pantry staples. No special grocery trips required.
  • Perfect for Weeknights: This isn’t just a holiday dish anymore. It’s hearty enough for a Tuesday dinner and fancy enough to impress unexpected guests.
  • Crowd-Pleaser: I’ve served this to picky kids and food-snob adults, and the bowl always comes back empty. There’s something about that creamy, crunchy combo that everyone loves.
  • Unbelievably Delicious: The homemade mushroom sauce is so much richer than the canned version. You’ll taste the difference in every single bite.

What makes this recipe different from the rest? It’s the technique—sautéing the mushrooms until they’re deeply golden before making the sauce, then roasting the green beans instead of boiling them. This keeps the beans crisp-tender and the mushrooms full of flavor. It’s comfort food reimagined: faster, fresher, but with the same soul-soothing satisfaction that makes you close your eyes after the first bite.

What Ingredients You Will Need

This recipe uses simple, wholesome ingredients that work together to create something truly special. No cream of anything cans here—just real food that tastes like it.

For the Green Bean Casserole

  • Fresh green beans – 1 ½ pounds, trimmed and cut into 2-inch pieces (look for bright, firm beans without brown spots)
  • Cremini mushrooms – 8 ounces, sliced (I prefer cremini over white button mushrooms for their deeper flavor)
  • Unsalted butter – 4 tablespoons, divided
  • Yellow onion – 1 medium, finely diced
  • Garlic – 3 cloves, minced (fresh only, please—the jarred stuff won’t do this justice)
  • All-purpose flour – 3 tablespoons (for thickening the sauce)
  • Whole milk – 1 cup (2% works too, but whole milk gives the creamiest result)
  • Heavy cream – ½ cup (adds richness you can’t get from milk alone)
  • Chicken or vegetable broth – ½ cup (low-sodium so you can control the salt)
  • Dried thyme – 1 teaspoon (or 1 tablespoon fresh, chopped)
  • Salt – 1 teaspoon, plus more for the beans
  • Black pepper – ½ teaspoon, freshly ground
  • Nutmeg – ¼ teaspoon, freshly grated if possible (trust me on this one—it’s the secret ingredient)

For the Crispy Onion Topping

homemade green bean casserole preparation steps

  • Yellow onion – 1 large, thinly sliced into rings
  • Buttermilk – ½ cup (or regular milk with 1 teaspoon vinegar, let sit 5 minutes)
  • All-purpose flour – ½ cup
  • Panko breadcrumbs – ½ cup (regular breadcrumbs work but panko is crunchier)
  • Smoked paprika – 1 teaspoon
  • Garlic powder – ½ teaspoon
  • Salt – ½ teaspoon
  • Vegetable oil – for frying (about 2 cups, or use an air fryer—I’ll show you both ways)

Ingredient Tips: For the green beans, I recommend buying fresh and trimming them yourself—the pre-trimmed bags are fine in a pinch but tend to be less crisp. If you can find shallots, they make a delicious substitute for the onion in the topping. For a dairy-free version, use olive oil instead of butter, unsweetened oat milk instead of dairy, and skip the heavy cream—the sauce will be thinner but still tasty.

Equipment Needed

You don’t need a fancy kitchen to make this recipe. Here’s what you’ll actually use:

  • Large skillet or sauté pan – 12-inch works best for cooking the mushrooms and making the sauce
  • Medium saucepan – for blanching the green beans
  • 9×13-inch baking dish – or any 2-quart casserole dish
  • Sharp knife and cutting board – a good chef’s knife makes trimming beans so much faster
  • Mixing bowls – one medium, one small
  • Whisk – for a lump-free sauce
  • Slotted spoon – for removing fried onions
  • Paper towels – for draining the onions
  • Thermometer – optional but helpful if you’re frying the onions (oil should be at 350°F)

Budget-Friendly Alternatives: If you don’t have a 12-inch skillet, use a large pot instead. No whisk? A fork works in a pinch. For the fried onions, you can skip them entirely and use store-bought crispy onions—just look for ones without added MSG or artificial flavors. I’ve used both, and honestly, the homemade version is worth the extra 10 minutes.

Preparation Method

Let’s make this happen. I’ve broken it down so you can multitask like a pro.

Step 1: Prep the Green Beans

Bring a large pot of salted water to a boil. While it heats up, trim the ends off your green beans and cut them into 2-inch pieces. Drop the beans into the boiling water and cook for exactly 3 minutes—set a timer! You want them bright green and crisp-tender, not mushy. Immediately drain and transfer to a bowl of ice water to stop the cooking. Drain again and set aside. This step takes 10 minutes total and makes a huge difference in texture.

Step 2: Make the Crispy Onions

While the beans are blanching, slice your onion into thin rings. Soak them in buttermilk for 5 minutes—this helps the coating stick and adds a subtle tang. In a shallow bowl, mix the flour, panko, smoked paprika, garlic powder, and salt. Heat about 2 inches of oil in a small pot to 350°F. Working in batches, dredge the soaked onion rings in the flour mixture, shaking off excess. Fry for 2-3 minutes until golden brown, then drain on paper towels. Season with a pinch of salt while still hot. If you’re using an air fryer, spray the coated onions with oil and cook at 375°F for 8-10 minutes, shaking halfway through.

Step 3: Cook the Mushrooms

In your large skillet, melt 2 tablespoons of butter over medium-high heat. Add the sliced mushrooms in a single layer—don’t crowd the pan or they’ll steam instead of brown. Let them cook undisturbed for 3 minutes, then stir and cook another 2-3 minutes until deeply golden. I know it’s tempting to stir constantly, but resist! That golden color is where the flavor lives. Remove the mushrooms to a plate and set aside.

Step 4: Build the Cream Sauce

Reduce the heat to medium and add the remaining 2 tablespoons of butter to the same skillet. Add the diced onion and cook for 4-5 minutes until soft and translucent. Add the garlic and cook for 30 seconds until fragrant—don’t let it burn. Sprinkle the flour over the onions and stir constantly for 1 minute to cook out the raw flour taste. Slowly pour in the milk, cream, and broth, whisking continuously to prevent lumps. Add the thyme, salt, pepper, and nutmeg. Bring to a gentle simmer—it should bubble around the edges—and cook for 3-4 minutes until thickened enough to coat the back of a spoon. If it seems too thick, add a splash more broth. Too thin? Let it simmer another minute.

Step 5: Assemble and Bake

Preheat your oven to 375°F. Stir the cooked mushrooms and blanched green beans into the sauce, making sure everything is well coated. Pour the mixture into your greased 9×13-inch baking dish and spread it even. Bake uncovered for 20 minutes until bubbly and hot. Remove from the oven, top with the crispy onions, and bake for another 5 minutes—just enough to warm the onions without burning them. Let it rest for 5 minutes before serving. I know it’s hard to wait, but this helps the sauce set so it doesn’t run all over your plate.

Cooking Tips & Techniques

I’ve made this recipe about fifteen times now, and I’ve learned a few things the hard way. Here’s what I wish someone had told me:

Don’t skip the blanching step. I tried it once—just tossed raw beans into the sauce and baked longer—and ended up with crunchy, undercooked beans. The 3-minute blanch is non-negotiable for that perfect tender-crisp texture.

Watch your heat when making the sauce. I burned my first batch because I walked away to answer the phone. Medium heat, constant whisking—that’s the sweet spot. If you see brown specks forming on the bottom of the pan, you’ve gone too hot. Start over; burnt flour tastes bitter.

Toast your mushrooms properly. This is where most homemade versions go wrong. Mushrooms are like sponges—they release water when they hit the pan. Don’t add them until the butter is hot and sizzling. Let them cook without moving for a few minutes so they actually brown instead of steam. That golden color equals flavor.

Make the crispy onions ahead. They’ll stay crunchy in an airtight container for up to 3 days. I often make a double batch because they disappear fast—my kids eat them like chips. Just don’t store them in the fridge; moisture will ruin the crunch.

Multitasking strategy: Start the onions first, then blanch the beans while they soak. While the beans are in the ice bath, fry the onions. While the onions drain, cook the mushrooms. This way, everything comes together in about 30 minutes of active cooking time.

Variations & Adaptations

This recipe is forgiving, so feel free to make it your own. Here are a few ways I’ve adapted it:

Dairy-Free Version: Substitute the butter with olive oil or vegan butter. Use unsweetened oat milk and full-fat coconut cream instead of heavy cream. The sauce will be slightly thinner but still delicious. I made this for a friend with lactose intolerance, and she asked for the recipe.

Gluten-Free Option: Use a gluten-free all-purpose flour blend for the sauce and the onion coating. Rice flour works particularly well for the onions—it gets extra crispy. Just make sure your broth is certified gluten-free.

Protein-Packed Twist: Add 1 cup of cooked, shredded rotisserie chicken or 8 ounces of sautéed ground turkey to the sauce before baking. This turns the casserole into a complete one-dish meal. I do this on busy Mondays when I need leftovers for lunch.

Seasonal Variations: In summer, swap half the green beans for fresh asparagus or zucchini. In fall, add ½ cup of roasted butternut squash cubes. In spring, throw in some fresh peas and asparagus tips. The basic sauce works with any vegetable combination.

Serving & Storage Suggestions

This casserole is best served hot, right out of the oven, when the sauce is bubbling and the onions are still crunchy. I like to let it rest for 5 minutes before serving—this helps the sauce set so it doesn’t pool on the plate. For presentation, sprinkle a little fresh parsley or chives on top for color.

What to serve with it: This dish pairs beautifully with roasted chicken, grilled steak, or even a simple baked salmon. For a vegetarian meal, serve it alongside a hearty grain salad or crusty bread. It also makes a fantastic side for holiday dinners—I’ve brought it to three different Friendsgivings and it always disappears.

Storage: Leftovers keep in the fridge for up to 4 days in an airtight container. The onions will soften, but the flavor gets even better as the sauce melds with the beans. To reheat, place in a 350°F oven for 15-20 minutes or microwave individual portions for 2 minutes. If you want to restore some crunch, add a fresh sprinkle of crispy onions after reheating.

Freezer Instructions: Assemble the casserole without the onion topping, cover tightly with foil, and freeze for up to 3 months. To bake from frozen, add 15-20 minutes to the baking time. Add the onions during the last 5 minutes of baking. I keep one in the freezer for emergency dinners—it’s saved me more than once.

Nutritional Information & Benefits

Here’s the approximate nutritional breakdown per serving (based on 8 servings):

  • Calories: 285
  • Protein: 7g
  • Carbohydrates: 22g
  • Fat: 18g
  • Fiber: 4g
  • Sugar: 8g
  • Sodium: 480mg

This recipe is packed with good-for-you ingredients. Green beans are rich in vitamins A, C, and K, plus fiber that keeps you full. Mushrooms provide B vitamins and selenium, which supports your immune system. The homemade sauce has less sodium than canned versions—about 40% less, actually—so you can enjoy comfort food without the guilt.

Dietary Considerations: This recipe is vegetarian (use vegetable broth). For a vegan version, follow the dairy-free adaptations above. It’s naturally nut-free and egg-free. If you’re watching your sodium, use low-sodium broth and skip the added salt in the topping.

Conclusion

This easy homemade green bean casserole has become a staple in my kitchen, and I think it deserves a spot in yours too. It’s proof that from-scratch cooking doesn’t have to be complicated or time-consuming—just a few real ingredients and a little love can transform a humble dish into something truly special. Whether you’re making it for a holiday dinner, a weeknight comfort meal, or just because you’re craving something creamy and crunchy (at 11 PM on a Tuesday, no judgment), this recipe delivers every single time.

I’d love to hear how it turns out for you! Did you add your own twist? Did your family go back for seconds? Drop a comment below and let me know—I read every single one and I’m always looking for new ideas to try. And if you loved this recipe, share it with a friend who needs a little comfort food in their life. Happy cooking!

Frequently Asked Questions

Can I use frozen green beans instead of fresh?

Yes, you can! Thaw them first and pat them dry to remove excess moisture. Skip the blanching step—frozen beans are already par-cooked—and add them directly to the sauce. Reduce the baking time by 5 minutes to prevent them from getting mushy.

Why is my sauce lumpy?

Lumpy sauce usually happens when you add the milk too quickly or don’t whisk enough. Pour the liquid in slowly while whisking constantly—like, don’t stop whisking until it’s all incorporated. If you still get lumps, strain the sauce through a fine-mesh sieve before adding the beans. It’s a quick fix that saves the whole dish.

Can I make this ahead of time?

Absolutely! Assemble the casserole (without the onion topping) up to 24 hours in advance. Cover and refrigerate. When you’re ready to bake, add 10-15 minutes to the baking time since you’re starting from cold. Add the onions during the last 5 minutes. This is my go-to strategy for holiday meal prep.

How do I keep the crispy onions from getting soggy?

The key is to add them at the very end of baking—just 5 minutes before the casserole comes out of the oven. If you add them at the beginning, they’ll absorb moisture from the sauce and turn soft. Also, make sure your onions are thoroughly dried after frying before you store them.

Can I use a different type of mushroom?

Definitely! Cremini are my favorite for their earthy flavor, but white button mushrooms work well too. For a more luxurious version, try a mix of shiitake and oyster mushrooms—they add an incredible umami depth. Just slice them all to a similar size so they cook evenly.

Pin This Recipe!

homemade green bean casserole recipe

Print

Easy Homemade Green Bean Casserole Recipe from Scratch

This creamy, crunchy green bean casserole is made entirely from scratch with fresh green beans, mushrooms, and a silky homemade sauce. It’s perfect for weeknights or holiday dinners and comes together in about 40 minutes.

  • Author: Dina
  • Prep Time: 15 minutes
  • Cook Time: 25 minutes
  • Total Time: 40 minutes
  • Yield: 8 servings 1x
  • Category: Side Dish
  • Cuisine: American

Ingredients

Scale
  • 1 ½ pounds fresh green beans, trimmed and cut into 2-inch pieces
  • 8 ounces cremini mushrooms, sliced
  • 4 tablespoons unsalted butter, divided
  • 1 medium yellow onion, finely diced
  • 3 cloves garlic, minced
  • 3 tablespoons all-purpose flour
  • 1 cup whole milk
  • ½ cup heavy cream
  • ½ cup low-sodium chicken or vegetable broth
  • 1 teaspoon dried thyme
  • 1 teaspoon salt, plus more for beans
  • ½ teaspoon freshly ground black pepper
  • ¼ teaspoon freshly grated nutmeg
  • 1 large yellow onion, thinly sliced into rings
  • ½ cup buttermilk
  • ½ cup all-purpose flour
  • ½ cup panko breadcrumbs
  • 1 teaspoon smoked paprika
  • ½ teaspoon garlic powder
  • ½ teaspoon salt
  • Vegetable oil for frying (about 2 cups)

Instructions

  1. Bring a large pot of salted water to a boil. Trim and cut green beans into 2-inch pieces. Blanch for exactly 3 minutes, then transfer to an ice water bath. Drain and set aside.
  2. Slice the large onion into thin rings and soak in buttermilk for 5 minutes. In a shallow bowl, mix ½ cup flour, panko, smoked paprika, garlic powder, and ½ teaspoon salt. Heat oil to 350°F. Dredge onion rings in flour mixture and fry in batches for 2-3 minutes until golden. Drain on paper towels and season with salt. Alternatively, air fry at 375°F for 8-10 minutes.
  3. In a large skillet, melt 2 tablespoons butter over medium-high heat. Add mushrooms in a single layer and cook undisturbed for 3 minutes, then stir and cook 2-3 minutes more until golden. Remove to a plate.
  4. Reduce heat to medium. Add remaining 2 tablespoons butter to the skillet. Cook diced onion for 4-5 minutes until soft. Add garlic and cook 30 seconds. Sprinkle 3 tablespoons flour over onions and stir for 1 minute. Slowly whisk in milk, cream, and broth. Add thyme, 1 teaspoon salt, pepper, and nutmeg. Simmer for 3-4 minutes until thickened.
  5. Preheat oven to 375°F. Stir cooked mushrooms and blanched green beans into the sauce. Pour into a greased 9×13-inch baking dish. Bake uncovered for 20 minutes. Top with crispy onions and bake 5 more minutes. Let rest 5 minutes before serving.

Notes

Don’t skip blanching the green beans for the best texture. Toast mushrooms properly for maximum flavor. Add crispy onions at the very end to keep them crunchy. For dairy-free, use olive oil and oat milk. For gluten-free, use gluten-free flour blend.

Nutrition

  • Serving Size: 1 serving
  • Calories: 285
  • Sugar: 8
  • Sodium: 480
  • Fat: 18
  • Saturated Fat: 10
  • Carbohydrates: 22
  • Fiber: 4
  • Protein: 7

Keywords: green bean casserole, homemade, from scratch, Thanksgiving, side dish, comfort food, vegetarian

Did you make this recipe?

Share a photo and tag us — we can't wait to see what you've made!

You might also love these recipes

Leave a Comment

Recipe rating ★☆ ★☆ ★☆ ★☆ ★☆