Cooked pasta can be a genuine lifesaver on busy days, but it comes with a strict clock. Stored in an airtight container in the fridge at or below 40°F (4°C), plain cooked pasta is generally safe for about 3–5 days. After that, the risk of harmful bacteria like Bacillus cereus rises sharply, even if it still smells and looks fine. Add-ons like cream sauces, meat, or seafood can shorten that window, so mixed dishes should usually be eaten within 3 days.
To stay safe, cool pasta quickly, refrigerate promptly, and label containers with the cooking date. Discard anything with a sour smell, slimy coating, or visible mold—no exceptions. If you need pasta to last longer, freeze it for up to 2 months in well-sealed bags or containers. In the end, saving a few minutes is never worth gambling with your health; when in doubt, throw it out.