Spaghetti squash au gratin is a creamy, cheesy casserole made with tender squash strands, sharp cheddar cheese, sour cream, and sautéed onions, then baked until golden and bubbly.


Notes from my kitchen
This easy casserole is one of my favorite ways to dress up spaghetti squash without a heavy sauce or breadcrumbs.
It’s easier to make than you might think, too. Instead of wrestling with a raw spaghetti squash, I roast it whole and cut it open once it’s tender. That simple shortcut makes this a side dish I’m happy to make any night of the week.
Come holiday time, it’s a delicious lower-carb swap for starchier sides that carb-conscious and gluten-free friends can enjoy. And for something a little more fun, bake the mixture in a muffin pan so everyone gets their own spaghetti squash au gratin cup.
Marjory
Jump to:
Ingredients
Here is what you'll need to make this spaghetti squash au gratin recipe:

Of special note:
- Cooked spaghetti squash - The mild, slightly sweet strands pair especially well with sharp cheddar and creamy sour cream.
- Sour cream adds creaminess and a slight tang. Plain Greek yogurt works well too and adds a little extra protein.
- Eggs bind the spaghetti squash strands and creamy cheese mixture together so the casserole sets instead of becoming loose or watery. They also make it possible to bake the mixture in individual muffin cups.
- Cheddar cheese - Sharp cheddar contrasts nicely with the mild spaghetti squash. For a different flavor, try Gruyère or Swiss. Shredding cheese from a block will give you the smoothest melt.
The recipe card below includes ingredient amounts, step-by-step instructions, and nutritional information.
How to cook spaghetti squash for a casserole
My preferred method is to cook the spaghetti squash whole in the oven.
Simply pierce the squash in several places and roast it whole at 425°F until tender, rolling it over halfway through. Let it cool for about 10 minutes, then cut it open, remove the seeds, and scrape the flesh into strands with a fork.
See my complete guide to cooking spaghetti squash whole for cooking times based on squash size, doneness tips, and the slow cooker method.

How to make spaghetti squash au gratin casserole
Once you have cooked spaghetti squash strands, this cheesy casserole comes together in four easy steps. The complete instructions are located in the recipe card.
Sauté the onion

Sauté the diced onion in olive oil until soft and translucent.
Mix the casserole

Combine the cooked spaghetti squash, sautéed onion, sour cream, eggs, seasonings, and half of the cheddar cheese.
Assemble the casserole

Spread the mixture in the prepared baking dish and sprinkle the remaining cheddar cheese over the top.
Bake

Bake until the casserole is set, then broil briefly until the cheese on top is golden and bubbly.
Make spaghetti squash au gratin in a muffin pan
For individual servings, prepare the spaghetti squash mixture as directed, then divide it among greased muffin cups and top with the remaining cheddar cheese. Bake as directed, then let the cups rest for at least 10 minutes to set.
Run a small silicone or nylon spatula around the edges and gently lift each cup from the pan.

Love spaghetti squash?
Try creamy spaghetti squash alfredo, turn it into a spaghetti squash pizza crust, or warm up with spaghetti squash soup.
Would you like more easy, healthy, carb-conscious recipes?
📋 Recipe

Spaghetti Squash Au Gratin Casserole
As an Amazon Associate, I earn from qualifying purchases.
Ingredients
- 4 cups spaghetti squash strands, cooked 1 medium spaghetti squash
- 1 teaspoon olive oil
- 1 cup onion 1 small onion; diced
- ½ cup sour cream or Greek yogurt
- 1 cup sharp cheddar cheese shredded; divided
- 2 eggs
- ½ teaspoon garlic powder
- ¼ teaspoon salt or to taste
Instructions
- Preheat oven to 350°F.
- Measure out 4 cups of spaghetti squash strands after draining off any excess liquid, and set aside.
- Heat olive oil in a small skillet over medium heat. Add diced onion and saute for about 5 minutes or until tender.
- Add cooked onion, spaghetti squash strands, sour cream, ½ cup of cheddar cheese, eggs, garlic powder, and salt to a large bowl and mix to combine.
- Spread the mixture into an 8 x 10-inch casserole dish sprayed with nonstick cooking spray. For individual servings, divide the mixture among 18 greased muffin cups.
- Sprinkle remaining cheddar cheese over the top of the spaghetti squash mixture.
- Bake for about 25 minutes or until firm.
- Turn the oven to broil and cook for 2-3 minutes more, or until the cheese is golden and bubbly.
- Allow spaghetti squash au gratin to cool for 10 minutes before serving.
Notes
Want to save this recipe?
I'll also send you other recipes I know you'll love. Unsubscribe at any time.







Donna says
Great recipe for the upcoming holidays. Love the idea of cooking them in muffin cups. Much easier for serving.
I do have a question about making it ahead of time and cooking it the next day. Wouldn't the mixture get watery? There are two eggs in the recipe. Isn't that a bit risky? And if you do add the chicken to it with the eggs again risky?
Nonna Donna
Marjory Pilley says
Hi! Assembling the night before cooking is not a problem. Any longer than that, then I would follow the freezing instructions. Enjoy!
Shelley says
Hi
Can these be made a day ahead and reheated?
Marjory Pilley says
Yes they can! For the best result pop them back in the oven. See the storage and reheating section for more details.
Stefanie says
Maybe a dumb question, but how do you cook spaghetti squash strands? Do you boil them the same as regular spaghetti?
Marjory Pilley says
Hi! Check out the link on cooked spaghetti squash in the ingredients section or check out the expert tips and notes below the instructions. Either cook it in a slow cooker (I love this method) or bake in the oven!
Haley says
Hi friend!
Yummiest and looking awesome. Can't wait to try it.
It's looks amazing and I think it made easily. What happen if not add sour cream in it?
Thanks.
Marjory Pilley says
Hi! You can leave the sour cream out! It's a slightly different flavor profile. You can also substitute with cream cheese.