Yellow Squash Casserole

Yellow Squash Casserole is the dish I bring to every potluck and come home with an empty pan every time. The filling is thick, cheesy, and savory with sharp cheddar and sour cream folded around tender roasted squash. The buttery cracker crust made with crushed Ritz bakes up golden and crunchy. Warm, hearty, and the kind of thing everyone asks you to make again.

A close-up of a partially eaten Yellow Squash Casserole with a golden, crumbly topping in a white baking dish on a wooden surface.
Yellow Squash Casserole. Photo Credit: Splash of Taste.

This post contains affiliate links. As an Amazon Affiliate, if you purchase through those links, I earn a commission. Thank you!

I make it for Thanksgiving spreads, Easter dinners, and summer potlucks when yellow squash is at its peak and I want a side dish that feeds a crowd without any fuss. It’s also a great make-ahead casserole since it reheats beautifully. Store leftovers covered in the fridge for up to 3 days and reheat in the oven to revive that golden topping.

Ingredients You’ll Need

You’ll need all the ingredients shown in the photograph below.

Ingredients for a Yellow Squash Casserole are arranged on a white surface, including squash, onion, oil, cheddar, salt, pepper, cayenne, thyme, mayonnaise, eggs, butter, Parmesan, Ritz crumbs, and sour cream.
Yellow Squash Casserole Ingredients. Photo Credit: Splash of Taste.

How to Make Yellow Squash Casserole with Step-By-Step Instructions

Scroll down for the full recipe card containing a full printable recipe and measurements in both US customary and metric units.

Here’s how to put together the best squash casserole recipe from start to finish that turns out creamy and perfectly golden-topped.

Roast the Squash and Onion

Preheat your oven to 350°F (180°C). On a large rimmed roasting sheet pan, drizzle the sliced yellow squash and chopped onion with olive oil, then season with kosher salt and pepper. Toss everything together until the sliced squash and onion are evenly coated.

Spread them across the pan in a single layer, then slide the pan into the oven and roast for 20 to 25 minutes until the squash is tender. Once it comes out, drain the fresh squash mixture thoroughly in a stainless steel colander or pat it dry with paper towels to remove excess liquid.

Baking tray lined with parchment paper holding roasted, sliced pieces of butternut squash on a marble surface—perfect for adding to your next Yellow Squash Casserole.
Toss squash and onion with oil, salt, and pepper, then roast in a single layer for 20–25 minutes until tender.

This step is important because summer squash holds a lot of moisture, and draining it prevents a watery casserole. Let it cool slightly before moving on.

Mix the Creamy Squash Filling

In a large bowl, add eggs and whisk until smooth. Add the mayonnaise, sour cream, finely shredded cheddar cheese, fresh thyme, and cayenne pepper, then gently fold in the cooled squash mixture until everything is just combined.

Overhead view of yellow squash casserole filling with sautéed squash and creamy egg mixture in a bowl before mixing.
Whisk eggs, then mix in mayonnaise, sour cream, cheese, thyme, and cayenne; fold in the squash.

Pour the squash-egg mixture into a prepared baking dish and bake in the preheated oven at 350°F for about 20 minutes, until it begins to set, softens through, and turns lightly browned. A ceramic baking dish heats evenly, preventing uneven hot spots in your casserole.

Make the Ritz Cracker Topping

While the filling bakes, combine the crushed Ritz cracker crumbs, vegetarian Parmesan cheese, and melted butter in a small bowl, stirring until the crushed crackers are well coated. I use the fine-holed side of my box grater to finely grate my own blocks of cheese for the best melt.

A hand holds an oval baking dish filled with unbaked Yellow Squash Casserole topped with a crumb topping, placed on a marble surface next to a beige cloth.
Mix the crushed Ritz crackers, Parmesan, and melted butter until evenly coated. Sprinkle the mixture evenly over the partially baked filling.

Once the filling has had its initial 20 minutes in the oven, pull the casserole dish out and sprinkle the cracker mixture evenly over the top of your cooked squash-cheese mixture.

Bake Until Golden and Bubbly

Return the casserole to the oven and bake for another 25 to 30 minutes until the topping is deep golden brown and the cheese underneath is melted and bubbling around the edges. Let it rest for 2 to 3 minutes before serving so the filling has a chance to settle slightly.

Oval baking dish filled with a golden, crumbly Yellow Squash Casserole sits on a wooden board; a hand holds a cloth next to it. Three forks and a plate are visible in the background.
Return to the oven and bake for 25–30 minutes until golden and bubbly.

Enjoy your hearty squash casserole!

Yellow Squash Casserole holds up beautifully at room temperature for a few hours and travels well to potlucks or family gatherings. Once fully cooled, cover the dish tightly with foil or a fitted silicone casserole lid, then transport it in an insulated carrier to keep it warm.

Save This Recipe Form

Want to save this recipe?

Enter your email below & we’ll send it straight to your inbox. Plus you’ll get more great recipes and tips from us each week!

A helping of squash casserole on a serving spoon.

Yellow Squash Casserole

I love making Yellow Squash Casserole whenever I need something that feels genuinely comforting without a lot of fuss. It starts with roasted yellow squash and onion folded into a creamy mixture of sharp cheddar, sour cream, and mayo with a hint of fresh thyme and just enough cayenne to keep things interesting. The whole thing gets topped with a buttery crushed Ritz cracker and Parmesan crust that bakes up golden and crunchy while the filling stays rich and bubbly underneath. It is my go-to for Thanksgiving, Easter, and summer potlucks, and it never once comes home with leftovers.
Prep Time: 20 minutes
Cook Time: 1 hour 10 minutes
Total Time: 1 hour 30 minutes
Course: Casserole, Dinner, Main course, Side Dish
Cuisine: American, Southern
Servings: 8
Calories: 540kcal

Ingredients

  • 3 pounds yellow squash sliced
  • 1 onion chopped
  • 3 tablespoons olive oil
  • 1 teaspoon Kosher salt
  • ¾ teaspoon black pepper
  • 2 eggs
  • ½ cup mayonnaise
  • 8 ounces sour cream
  • 8 ounces Cheddar cheese sharp
  • 1 tablespoon thyme fresh
  • ¼ teaspoon cayenne pepper
  • 40 Ritz crackers crushed
  • ¼ vegetarian Parmesan cheese
  • ½ cup butter
Woman pointing down next to a large play button on a video player; text reads, "Prefer to watch? I’ve got you covered below. Watch the recipe video now.

Video

[adthrive-in-post-video-player video-id=”9uW7GIKN” upload-date=”2025-10-31T09:43:36+00:00″ name=”Simple Yellow Squash Casserole” description=”A comforting veggie side with cheesy, homestyle flavor for any meal.” player-type=”default” override-embed=”default”]

Instructions

  • Pre heat your oven to 350°F (180°C).
  • In a large rimmed baking sheet add the squash, onion, olive oil, salt, black pepper and toss to combine. Cook until tender for approximately 20-25 minutes. Completely drain the squash mixture and set aside to cool slightly.
    3 pounds yellow squash, 1 onion, 3 tablespoons olive oil, 1 teaspoon Kosher salt, ¾ teaspoon black pepper
  • In a large bowl whisk the eggs, then add mayonnaise, sour cream, cheddar cheese, thyme and cayenne pepper and gently fold in the cooled squash mixture. Now add it into your prepared casserole dish and cook until softened for approx. 20 minutes.
    2 eggs, ½ cup mayonnaise, 8 ounces sour cream, 8 ounces Cheddar cheese, 1 tablespoon thyme, ¼ teaspoon cayenne pepper
  • Meanwhile, in a smaller bowl add the crushed Ritz cracker crumbs, vegetarian parmesan cheese and pour in the melted butter. Now sprinkle the Ritz cracker crumbs over the top of your cooked squash mixture.
    40 Ritz crackers, ¼ vegetarian Parmesan cheese, ½ cup butter
  • Cook for a further 25-30 minutes until the top is golden brown and the cheese is melted and bubbly. Allow to cool for 2-3 minutes, then serve. Enjoy your hearty squash casserole!

Notes

Here are a few tips I’ve picked up from making this casserole more than once:
Drain the squash thoroughly: After roasting, press the squash mixture in a colander or pat it with paper towels to remove as much liquid as possible before folding it into the creamy filling. Excess moisture is the main reason casseroles turn out watery.
Let the squash cool before mixing: Folding hot squash directly into the egg mixture can cause the eggs to begin cooking too early. Give the roasted squash at least 10 minutes to cool slightly before combining everything in the bowl.
Use freshly shredded cheddar: Pre-shredded cheese is coated in starches that prevent it from melting as smoothly. Shredding sharp cheddar straight from the block gives you a creamier, silkier filling.
Gently fold, don’t stir: When combining the squash into the egg and cheese mixture, use a gentle folding motion rather than vigorous stirring so the filling stays light and the squash holds its shape.
Add the topping after the first bake: Sprinkling the Ritz cracker mixture onto the fully baked filling rather than at the beginning keeps the crust from getting soggy. The second round of baking, 25 to 30 minutes, is what gives you that deep golden, crunchy finish.
Store properly: Once cooled, chill the casserole covered or in airtight containers for up to 3 days. To freeze, skip the cracker topping, wrap portions in plastic wrap and foil, then freeze in freezer containers for up to 3 months. Once thawed, add the toppings fresh and reheat.

Nutrition

Calories: 540kcal | Carbohydrates: 19g | Protein: 12g | Fat: 47g | Saturated Fat: 19g | Polyunsaturated Fat: 10g | Monounsaturated Fat: 14g | Trans Fat: 1g | Cholesterol: 122mg | Sodium: 822mg | Potassium: 572mg | Fiber: 3g | Sugar: 7g | Vitamin A: 1294IU | Vitamin C: 32mg | Calcium: 297mg | Iron: 2mg
Tried this recipe?Let us know how it was!

How to Store Leftovers

Let the casserole cool completely before covering the dish tightly with plastic wrap or transferring leftovers to an airtight container. It keeps well in the refrigerator for up to 3 days.

To reheat, pop individual portions in the microwave or warm the whole dish in the oven at 325°F, uncovered, until heated through, which helps bring the cracker topping back to life.

To freeze, skip the crackers on top, as they lose their crunch and make a soggy casserole topping once thawed. Wrap portions tightly in plastic wrap and then in foil before placing them in a freezer-safe container.

You can freeze squash casserole for up to 3 months, so you can make it ahead of time. Take the frozen squash casserole out of the freezer and thaw overnight in the fridge, then add the cracker topping fresh as you reheat it in the oven for best results.

What to Serve With Yellow Squash Casserole

It works as a hearty vegetarian main or a side alongside roasted green beans, a fresh corn salad, or glazed carrots. It also pairs really well with a bowl of tomato soup or a light pasta dish.

A simple green salad with a bright vinaigrette cuts through the richness beautifully, and some warm crusty bread alongside is never a bad idea for scooping up the creamy filling.

More Easy Recipes for You to Try at Home

You’ll also love these other easy casserole recipes.

Leave a Reply

Your email address will not be published. Required fields are marked *

Recipe Rating




One Comment