USDA-based · How this page was made · Last reviewed July 10, 2026 · Sources ↓
Cooked Pasta
Cooked pasta lasts 3–4 days in the fridge and 1–2 months in the freezer.
How long it keeps — Cooked
How to store cooked pasta
Cooked pasta keeps 3–4 days refrigerated and freezes for about 1–2 months. As with rice, cool it quickly and refrigerate promptly rather than leaving the pot on the stove.
Drain it thoroughly and spread it out rather than storing a hot solid mass in a deep container. Toss plain pasta with a little oil to stop it fusing into a block, and store it in a shallow covered container.
Pasta already sauced keeps the same 3–4 days, though the texture suffers as the pasta continues absorbing liquid. If you expect leftovers, store sauce and pasta separately.
Fresh pasta is a different product from dried: it usually contains egg and is far more perishable, following its package date closely. Cooked fresh pasta should be treated at the short end of the 3–4 day range.
Pasta freezes best slightly undercooked, so it finishes in the reheat rather than turning to mush.
By state & packaging
Why cooked pasta goes bad
Cooked pasta carries the same Bacillus cereus risk as rice, for the same reason: it is a cooked starch, and B. cereus spores are common on grains, survive boiling, and germinate once the food cools into the growth range.
Because the toxin those bacteria produce is heat-stable, reheating pasta that spent the night on the counter does not make it safe. The control is cooling it quickly and keeping it cold, not cooking it harder later.
Pasta has one advantage over rice: it is usually drained and served immediately rather than held warm for hours, so the classic abuse pattern is less common. But a large pot of pasta salad left out at a picnic is exactly the same hazard, and the mayonnaise gets blamed when the pasta is the actual problem.
Cooked pasta also picks up moisture as it sits, which encourages surface bacteria. Sauced pasta is more forgiving if the sauce is acidic — a tomato sauce lowers the pH meaningfully — and less forgiving if it is a cream or cheese sauce.
Visible signs of spoiled pasta are a slimy or sticky coating, a sour or yeasty smell, and any mold. Discard on any of these, but do not rely on them: the B. cereus risk arrives silently.
Signs it has gone bad
FAQ
How long is spaghetti with meat sauce good in the fridge?
3–4 days — the meat sauce sets the limit. Freeze it if you won’t finish it by then.