Yellow Squash Casserole

Yellow Squash Casserole is the side I make when summer squash is everywhere, and I want it to taste like more than a plain vegetable. Sharp cheddar and sour cream turn tender roasted squash into something rich and savory, and a crushed Ritz and Parmesan crust bakes over the top until it’s golden and crunchy.

What I’ve done for years is roast the squash before it ever goes in the dish, so it comes out sweet and concentrated instead of watery. That one habit is what gives you a casserole you can cut into neat squares, and it’s the detail most versions skip.

A close-up of a spoon scooping out a portion of golden, crumbly squash casserole from a baking dish.
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!

Why You’ll Love This Recipe

  • Roasting the squash first concentrates its flavor and drives off the water it naturally carries, so the filling sets firm enough to serve in squares.
  • The topping goes on after the filling has had its first bake, so the crushed Ritz and Parmesan crust stays crisp instead of sinking in and turning soft.
  • Sharp cheddar and sour cream do the heavy lifting on flavor, and the quarter teaspoon of cayenne keeps the richness from reading as one flat note.
  • If you’ve made my creamy broccoli casserole, this one works the same way: an egg-set vegetable filling under a buttery cracker top. It’s a natural partner on a potluck or holiday spread next to the green bean casserole.

Ingredients You’ll Need

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

Yellow squash. Three pounds, sliced. It’s the star of the dish, and because summer squash is about 95 percent water, roasting and then draining it is the step that keeps the casserole thick rather than loose.

Sharp cheddar. Eight ounces. Grate it yourself from a block. Pre-shredded cheese is coated in starch that stops it melting smoothly, and you want this filling silky rather than grainy.

Sour cream and mayonnaise. Eight ounces of sour cream and half a cup of mayonnaise. Together they carry the creaminess through a long bake without thinning out, and the sour cream brings a slight tang against all that cheddar. Sour cream does the same job in my cheesy potato casserole, if you want another use for the tub.

Eggs. Two, whisked in first. They set the filling as it bakes, which is what lets you cut a clean square instead of spooning up a loose scoop.

Ritz crackers and Parmesan. Forty crackers, crushed, with vegetarian Parmesan and melted butter. This is the crust. Use a vegetarian Parmesan, since traditional Parmesan is made with animal rennet.

Fresh thyme and cayenne. A tablespoon of thyme and a quarter teaspoon of cayenne. The cayenne is gentle, more warmth than heat, and it keeps the creamy filling from tasting flat.

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

A complete printable recipe and the measurements in both US customary and metric are available in the recipe card below.

Roast the Squash and Onion

Preheat your oven to 350°F (180°C). On a large rimmed sheet pan, toss the sliced squash and chopped onion with the olive oil, kosher salt, and black pepper until evenly coated, then spread them in a single layer. Roast for 20 to 25 minutes, until the squash gives easily under a fork.

Drain the roasted squash and onion thoroughly in a colander, or pat it dry with paper towels, then let it cool for about 10 minutes. Draining well here is what keeps the finished casserole from turning watery, so don’t rush it.

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.
Roast the seasoned squash and onion at 350°F for 20–25 minutes, then drain well and cool for 10 minutes.
Overhead view of yellow squash casserole filling with sautéed squash and creamy egg mixture in a bowl before mixing.
Whisk the eggs, mix in the remaining ingredients, then gently fold in the cooled squash until just combined.

Mix the Filling

Whisk the two eggs in a large bowl until smooth. Add the mayonnaise, sour cream, shredded cheddar, fresh thyme, and cayenne, then gently fold in the cooled squash until just combined. Fold rather than stir, so the squash keeps its shape, and the filling stays light.

Let the squash cool before it goes in, because folding hot squash into raw egg starts to cook the egg before it reaches the oven.

First Bake

Pour the filling into a prepared baking dish and bake at 350°F for about 20 minutes, until it begins to set and lightly browns. It won’t be fully firm yet, and that’s fine, since it goes back in with the topping.

Squash mixture in a casserole dish.
Bake the filling at 350°F for 20 minutes until lightly browned, then mix the Ritz crumbs, Parmesan, and melted butter.
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.
Scatter the topping over the casserole, bake for 25–30 minutes until golden and bubbling, then rest for 2–3 minutes.

Make the Ritz Topping

While the filling bakes, stir the crushed Ritz crumbs, vegetarian Parmesan, and melted butter together until the crumbs are evenly coated. Pull the dish out after its first 20 minutes and scatter the topping evenly over the surface.

Return it to the oven and bake for another 25 to 30 minutes, until the top is deep golden brown and the filling is bubbling at the edges. Rest it for 2 to 3 minutes before serving so it settles.

Recipe Variations

  • Swap the topping. Crushed cheese crackers or panko stand in for the Ritz and still bake up golden. It’s a straight topping swap that keeps the same second bake, so the timing doesn’t change.
  • Add a little more heat. If you want more than the gentle warmth the cayenne gives, a pinch more works without changing anything else. Adjust it to your own taste.
  • Stir in more cheese. A handful of extra sharp cheddar folded into the filling makes it richer without affecting how it sets. This one’s down to how cheesy you like it.

Recipe Notes and Expert Tips

Drain the squash well. After roasting, press it in a colander or pat it dry. Excess liquid is the most common reason a squash casserole turns out watery, and roasting only helps if you then get the released water off.

Let the squash cool before mixing. Give it at least 10 minutes. Folding hot squash into the egg mixture starts to set the eggs too early and can make the filling grainy.

Grate the cheddar from a block. Bagged shredded cheese carries anti-caking starch that keeps it from melting cleanly. Two minutes with a grater gives you a smoother filling.

Fold, don’t stir. A gentle folding motion keeps the filling light and lets the squash hold its shape rather than breaking down into the cream.

Add the topping after the first bake. Putting the crushed Ritz on partway through, rather than at the start, is what keeps the crust crisp instead of soaking into the filling.

How to Store Leftovers

Let the casserole cool, then cover the dish tightly or move leftovers to an airtight container. Cooked leftovers keep in the refrigerator for 3 to 4 days. To reheat, warm individual portions in the microwave or the whole dish in the oven until it reaches 165°F throughout, which is the safe reheating temperature and also brings the cracker topping back.

To freeze, skip the cracker topping, since it loses its crunch and turns soft once thawed. Wrap portions tightly in plastic wrap and then foil, place them in a freezer-safe container, and freeze for up to 3 months. Thaw overnight in the fridge, then add the topping fresh and reheat in the oven to 165°F.

One thing worth watching, because this is an egg-and-dairy dish: at a potluck or on a holiday table, keep it hot at 140°F or above on a warming tray, or serve it and get the leftovers refrigerated within 2 hours. If the room is above 90°F, that drops to 1 hour. Egg and dairy are why this one needs closer watching than a bread or a fruit dish.

What to Serve With Yellow Squash Casserole

This works as a rich vegetarian main or as a side on a bigger spread. Because it’s on the heavy side, I like something plain and bright next to it rather than another creamy dish.

simple green salad with a sharp vinaigrette is the one I put out most often, since the acid cuts straight through the richness of the cheddar and cream. Warm crusty bread is never a bad idea alongside, for the last of the filling on the plate.

FAQs

Can I make this ahead of time?

You can prep the parts in advance. The roasted and drained squash, the filling, and the crushed cracker topping can each be covered and refrigerated separately, and a raw egg-and-dairy filling is safe to keep chilled for a day as long as it stays covered and cold. From there, a couple of routes are open to you. You can assemble the filling in the dish, chill it, and run the two bakes on the day, adding the topping between them as the recipe directs. Or you can give the filling its first bake now, chill it, then add the topping and finish with the second bake later. This recipe hasn’t been tested either way, so the reliable path is the on-the-day method the recipe card lays out, with anything prepped ahead brought together when you’re ready to bake.

More Easy Recipes

If this one goes down well, here are more casseroles I put on the same kind of table.

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 make Yellow Squash Casserole when summer squash is in season, and I want something more than a plain vegetable. Roasted yellow squash and onion get folded into sharp cheddar, sour cream, and mayo with fresh thyme and a little cayenne, then baked under a crushed Ritz and Parmesan crust that turns golden and crunchy. Roasting the squash first is what keeps it thick instead of watery. It's a side I bring to Thanksgiving, Easter, and summer potlucks.
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 leftovers safely. Refrigerate baked leftovers within 2 hours in an airtight container and eat within 3 to 4 days, reheating to 165°F. To freeze, leave the cracker topping off, freeze up to 3 months, thaw overnight in the fridge, then add the topping 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
Mandy Applegate, recipe developer and vegetarian since the 1980sMandy Applegate

Vegetarian since I was 15, and still cooking this way more than 40 years later. Everything on Splash of Taste comes from a kitchen that has been entirely vegetarian for decades, shaped by years of trial and error and the honest pleasure of cooking food I actually want to eat. Every recipe is triple tested before it lands here.

Tried this recipe?Let us know how it was!

Leave a Reply

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

Recipe Rating




One Comment