This post may contain affiliate links. Please read my disclosure and privacy policy.
If you’re not sure what to do with your next spaghetti squash, try making this cheesy spaghetti squash casserole. This healthy comfort food recipe reminds me of the classic hash brown casserole my mom used to make, only this version is made with spaghetti squash, for a lower-calorie twist.
All you need is a few simple ingredients, like Greek yogurt and cheddar cheese, to get started. It also helps if you’ve already baked your spaghetti squash ahead of time, but I’ll walk you through the best ways to cook it. (I’ve tested it in the oven, slow cooker, and Instant Pot.)
Once you taste this spaghetti squash recipe, I think you’ll want to repeat it all season long! It’s naturally gluten-free and makes an easy weeknight casserole idea. Add your favorite protein to make it a complete meal!
⭐⭐⭐⭐⭐ Featured Review
“Just made this. Used sharp white cheddar and sour cream as I didn’t have yogurt. Came out fantastic! Could’ve eaten the whole pan but husband beat me to it. Will definitely make again.” – Fey

Ingredients You’ll Need
- Spaghetti Squash. Cooked spaghetti squash has a surprisingly similar texture to hash browns, and blends seamlessly into this simple casserole, while being low in calories in carbohydrates.
- Greek Yogurt. My mom’s hash brown casserole called for sour cream, so I’ve opted for whole milk Greek yogurt, which has a similar tangy flavor and a lot more protein.
- Cheddar Cheese. I use sharp cheddar cheese for a flavor boost, without needing quite as much as traditional recipes call for.
- Onion and Garlic. Sauteed yellow onion helps add another layer of aromatic flavor, especially when paired with garlic. (Though garlic powder could be used in a pinch, if needed.)

How to Cook Spaghetti Squash
The most time-consuming part of this recipe is baking the spaghetti squash, but you can do this in advance to save time. Cooked spaghetti squash can be stored in an airtight container in the fridge for up to 5 days, so I usually make this casserole when I have some stored already.
To prepare the squash, cut it in half cross-wise (through the hollow center and not the ends) and scoop out the seeds. Then follow one of the cooking methods below. Click on the links below if you’d like to see step-by-step photos.
- In the Oven: Place the squash cut-side-down on a parchment lined pan and bake for 45 to 60 minutes at 400ºF, or until the shell is easily pierced with a fork.
- In the Slow Cooker: Add a 1/2 cup of water to the pot and arrange the squash halves cut-side-down. Cover with a lid and cook on high for at least 2 hours, or on low heat for 4 to 6 hours. When the shell is easily pierced with a fork, it’s ready to use.
- In the Instant Pot: Pour 1 cup of water into the stainless steel bowl of the Instant Pot. Add the trivet that comes with your machine, then arrange the squash halves cut-side down. Secure the lid and cook at high pressure for 7 minutes. When the cooking cycle is complete, quickly release the pressure. When the floating valve in the lid drops, it’s safe to open the lid.
Once the squash is cooked, you can use a fork to pull the spaghetti-like strands away from the shell. Transfer the cooked squash to an airtight container and store it in the fridge until you’re ready to use it.
I usually get approximately 4 cups of noodles from a 3-pound squash. (If it’s a little more or less than that, it’s okay, too.)

How to Make Spaghetti Squash Casserole
Step 1:
Preheat the oven to 400ºF and lightly grease an 8-inch square pan with cooking spray. Then, heat a skillet over medium high heat on the stove top for 1 to 2 minutes. This will make the surface less likely to stick.
Add a drizzle of olive oil to the pan and cook the onion for 5 minutes, stirring often, until it starts to soften. Then add the garlic and stir for one more minute.
Transfer the cooked onion and garlic to a large mixing bowl and add the Greek yogurt, a half teaspoon of fine salt, and a quarter teaspoon of ground black pepper. Stir well.

Step 2:
Add the cooked spaghetti squash to the bowl and approximately 3/4 cup of shredded cheddar cheese. (About 3 ounces). Season with another half teaspoon of salt, then stir well to combine.
Once it looks creamy and well mixed, transfer it to the prepared pan and sprinkle the remaining cheese on top. Bake at 400ºF for 35 to 40 minutes.

Step 3:
When the cheese looks lightly golden on top, remove the pan from the oven and let it cool for at least 10 minutes before serving. You can garnish the top with freshly chopped parsley or chives, if desired.
Use a spoon or spatula to scoop this casserole for serving. It makes a comforting side dish for practically any meal you have planned.


Cheesy Spaghetti Squash Casserole
Ingredients
- 4 cups cooked spaghetti squash (from a 3-pound squash)
- 1 tablespoon olive oil
- 1 yellow onion , chopped
- 1 garlic clove , minced
- 1 cup plain Greek yogurt
- fine sea salt and ground black pepper
- 4 ounces sharp cheddar cheese , shredded and divided
Instructions
- Preheat the oven to 400ºF and lightly grease an 8-inch square pan with cooking spray. Heat a skillet over medium high heat for 1 to 2 minutes. (This will make the surface naturally more non-stick.) Add a drizzle of olive oil to the pan and cook the onion until it starts to soften, about 5 minutes. Then add the garlic and stir for one more minute.
- Transfer the cooked onion and garlic to a large mixing bowl and add in the yogurt. Season with ½ teaspoon of salt and a ¼ teaspoon of ground black pepper, then stir well. Fold in the cooked spaghetti squash strands and ¾ cup of shredded cheese (about 3 ounces). Season with another ½ teaspoon of salt and stir to make sure the spaghetti squash is well seasoned.
- Transfer the mixture to the prepared pan and smooth the top with a spatula. Sprinkle the remaining ¼ cup (1 ounce) of shredded cheddar over the top, then bake at 400ºF until the top is lightly golden, about 35 minutes. Your kitchen will smell fragrant as it gets close to being done, so check on the casserole when it starts to smell good.
- Remove the casserole from the oven and let it cool for at least 10 minutes before serving. You can garnish with fresh parsley or chopped chives, if desired. Leftovers can be stored in an airtight container in the fridge for up to 5 days.
Notes
Nutrition
More Recipes to Try
- Healthier Breakfast Casserole (with spaghetti squash!)
- Roasted Sweet Potatoes
- Healthy Chicken Burgers
- Italian Spaghetti Squash Soup
If you try this recipe, please leave a comment and star rating below to let me know how you like it.













This recipe is so yummy! Even my skeptical husband asked for more. Sometimes I forget to look for the gruyere cheese but have also successfully substituted sharp cheddar. No guilt recipe but lots of flavor!
This was delicious! I did make a few changes, but nothing that fundamentally altered the nature of the dish. Firstly I doubled the amount of onion because no dish can ever have too much onion in my opinion, and then I used regular mature cow’s milk cheddar and increased the qualtity by about 50% since my husband is a cheese-o-holic. Other than that, I followed the recipe and this was a huge success (even with my squash-hating husband).
I just made this with yogurt and a blend of cheddar and mozzarella bc that’s what I had, and added baby spinach and a little dry mustard to the seasoning (my Mac and cheese secret ingredient). Delicious! Will definitely make again
Didnt have goat milk,used coconut milk.and reg 3 cheese blend. Came out good. Will try again with other listed ingrediants.
Made this tonight and it was delicious! I used yogurt and cheddar cheese since I couldn’t find the goat’s milk/cheese. The crunchy top definitely tastes like twice baked potatoes. I wish there I knew how to cut the tang from the yogurt just a bit.. It was a little much for my taste buds. I should have added chili powder like someone suggested. Will make again!
I was so happy when you posted this recipe because I had a spaghetti squash from our local farm stand to use. I replaced the goat cheese with cheddar and used cow’s milk greek yogurt. Because of the size of the spaghetti squash I 1/2 the recipe and used an 8 x 8 casserole dish. Delicious recipe that will be in our rotation-thank you!
Love this! It really satisfies a comfort food need. Delicious!
Do you think the combined casserole could be cooked on the grill?
Just made this. Used sharp white cheddar and sour cream as I didn’t have yogurt. Came out fantastic! Could’ve eaten the whole pan but husband beat me to it. Will definitely make again.
Well, I used plain greek yogurt, 2 oz of cheddar cheese, another half oz of goat cheese (can you tell I like cheese? Haha) I also sauteed green pepper, green onions and tomato with the garlic and butter. I added chives in the mix as well. Then topped with Panko mix and it was AMAZING!