USDA-based · How this page was made · Last reviewed July 10, 2026 · Sources ↓

Cooked Pasta

The answer

Cooked pasta lasts 3–4 days in the fridge and 1–2 months in the freezer.

Caution Treat pasta like other leftovers — especially when mixed with meat, cream, or egg-based sauce.

How long it keeps — Cooked

Fridge (40°F) 3–4 days safe window
Freezer (0°F) 1–2 months best quality
Room temp 2 hours max then discard
Discard Discard if held above 40°F for more than 2 hours, or above 90°F for more than 1 hour.

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

State Fridge Freezer Pantry
Plain cooked pasta 3–4 days 1–2 months
Pasta with sauce (meat/cream) 3–4 days 1–2 months
Dry, uncooked pasta 2 years

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

Sour or off smell
Slimy or gummy film
Mold spots (white, green, or black)

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.