Spaghetti squash is different from other squashes because its fibrous flesh resembles strands of spaghetti when cooked. Because of this, it can be eaten as a gluten-free and low-carbohydrate alternative to pasta or noodles. If left at room temperature, cooked spaghetti squash will spoil quickly, but you can keep it for longer by freezing or refrigerating it.
Keep It Fresh
Cooked spaghetti squash will keep for three to five days in the fridge or 10 to 12 months in the freezer before spoiling. Be aware that it will lose its stringy, spaghetti shape after being frozen and defrosted. Make sure you put it in the fridge or freezer within two hours of cooking it to prevent bacteria from building up. Let it cool to room temperature before freezing or refrigerating it.