Skip to content
Gunther Heller

How Long Does Cooked Pasta Last?

Fridge, freezer, counter · cooked vs dry · last verified November 2026

  • Perishable
  • Freezes well
Illustration of cooked pasta
Show storage times for
Per USDA FoodKeeper
Counter
2 hours
1 hour if above 90°F
Fridge
3–5 days
at or below 40°F (4°C)
Freezer
1–2 months
at 0°F; quality, not safety
Counter
2 years
cool, dry place
Fridge
Not needed
shelf-stable
Freezer
Not needed
keeps without freezing
Quick answer

Cooked pasta lasts 3–5 days in the fridge, 1–2 months in the freezer, and no more than 2 hours at room temperature. Dry, it keeps 2 years in the pantry.

At a glance

Shelf life at a glance

Counter
2 hours
Fridge
3–5 days
Freezer
1–2 months

Bars show the longest recommended time for each place. Scale runs from 1 hour to 2 years.

How perishable is it?
Use within days
  1. 1
  2. 2
  3. 3
  4. 4

Based on the longest fridge or pantry time.

It's been in the fridge for…
Tap a time to check.
Still good

About 2–4 more days in the fridge.

Still good

About 1–3 more days in the fridge.

Use it today

It's inside the safe window but near the end. Eat it today or freeze it now.

Throw it out

Past the recommended fridge time. Even if it looks and smells fine, throw it out.

Throw it out

Past the recommended fridge time. Even if it looks and smells fine, throw it out.

Counted from the day it was cooked, opened or bought. Assumes a fridge at 4 °C (40 °F) or colder.

Meal prep

Your cooked pasta fridge countdown

Day 0 is the day it was cooked.
  1. Made
    0
  2. Day
    1
  3. Day
    2
  4. Day
    3
  5. Day
    4
  6. Day
    5
  7. Day
    6
  8. Day
    7
● Still good● Use it today● Throw it out

Based on the USDA FoodKeeper fridge window at 4°C (40°F) or colder.

Try it

Check your cooked pasta

It's been out on the counter for…
Tap a time to check.
Refrigerate now

Still inside the 2-hour limit. Put it in the fridge straight away, in a shallow container so it cools quickly.

Refrigerate now

Fine at normal room temperature. On a hot day above 32°C (90°F), 1 hour is already the limit, so refrigerate it immediately.

At the limit

Two hours is the USDA cut-off. If it was warm, or you are not sure exactly how long, throw it out.

Throw it out

Past the 2-hour limit. Bacteria may have multiplied or produced toxins that reheating will not destroy.

Throw it out

Cooked pasta left out overnight has spent many hours in the danger zone (4–60°C / 40–140°F). It may look fine, but it is not safe.

Room temperature means anything above 4°C (40°F). On hot days above 32°C (90°F), the limit is 1 hour.

It's been in the freezer for…
Tap a time to check.
Use it soon

Still safe, and at the end of its best-quality window. Use it in the next few weeks; texture and flavour fade after 1–2 months.

Safe, but past its best

Food kept frozen solid stays safe indefinitely, but after 3 months expect freezer burn and dull flavour. Fine for soups, sauces and baking; trim dry grey patches.

Safe, but past its best

Food kept frozen solid stays safe indefinitely, but after 6 months expect freezer burn and dull flavour. Fine for soups, sauces and baking; trim dry grey patches.

Assumes a freezer at -18°C (0°F) or colder. Frozen food stays safe; these verdicts are about quality.

The basics

About cooked pasta

Cooked pasta belongs to our leftovers & deli category. According to USDA FoodKeeper, it keeps 3–5 days in the fridge and 1–2 months in the freezer. Like all perishable food, it should not sit at room temperature for more than 2 hours. Where to keep it: ready-to-eat and cooked food goes on the upper shelves, above anything raw.

Cooked dishes and leftovers follow the same simple rules: cool them fast, refrigerate within two hours, and eat them within a few days. Cooking kills most bacteria, but some survive as heat-resistant spores, and new bacteria arrive from hands, utensils and air. How you cool and store the food after cooking matters more than how it was cooked.

Every method

Cooked pasta storage times by method

MethodDurationTemperatureContainerNotes
Pantry / counter (cooked)2 hours68–72°FAirtight1 hour if above 90°F
Refrigerator (cooked)3–5 days≤ 40°F / 4°CAirtightat or below 40°F (4°C)
Freezer (cooked)1–2 months0°F / -18°CFreezer bag or wrapat 0°F; quality, not safety
Pantry / counter (dry)2 years68–72°FAirtightcool, dry place
Where to keep it

Where to store cooked pasta

Freezer Top shelf Middle shelf Bottom shelf Crisper drawer Door
Best spot
Top shelf

Ready-to-eat and cooked food goes on the upper shelves, above anything raw.

Question by question

Cooked pasta shelf life, answered

How long does cooked pasta last in the fridge?

3–5 days at 4°C (40°F) or colder (cooked). Count from the day it was cooked, opened or bought.

How long does cooked pasta last in the freezer?

1–2 months for best quality at -18°C (0°F). Frozen food stays safe indefinitely; after that, texture and flavour fade.

How long does cooked pasta last at room temperature?

No more than 2 hours, or 1 hour above 32°C (90°F). Perishable food left out longer should be thrown away.

How long does dry pasta last?

2 years in the pantry.

How long is cooked pasta good for past the expiration date?

For perishable cooked pasta, the storage clock matters more than the label: if it has been in the fridge longer than 3–5 days, discard it even before the printed date.

How can you tell if cooked pasta is bad?

Sour, yeasty or 'off' instead of how it smelled when cooked. Slimy film, or liquid separating where it should not. Dull or darkened patches, or any discoloured spots.

How long can cooked pasta sit out?

2 hours at room temperature, 1 hour on a hot day above 32°C (90°F). Overnight is always too long.

Check before you eat

Signs cooked pasta has gone bad

Smell

Sour, yeasty or 'off' instead of how it smelled when cooked.

Texture

Slimy film, or liquid separating where it should not.

Colour

Dull or darkened patches, or any discoloured spots.

Mould

Any fuzzy growth — discard the whole container, not just the spot.

Check your cooked pasta: tick anything you notice

Nothing ticked? Good sign. Still check how long it has been stored: the bacteria that cause food poisoning are invisible.

Any of these means it has gone bad. Throw it out — don't taste it to check.

Does cooked pasta go bad? Full guide →

The science

Why cooked pasta goes bad

Spores of bacteria such as Bacillus cereus and Clostridium perfringens survive cooking. When cooked food sits warm, the spores germinate and multiply quickly, and some produce toxins that reheating does not destroy. In the fridge they grow slowly, which is why cooked food has a window of a few days rather than weeks.

Avoid these

Common cooked pasta storage mistakes

  • Leaving a big pot to cool on the stove for hours instead of dividing it into shallow containers.
  • Putting a deep, hot container straight into the fridge, which keeps the centre warm for hours.
  • Reheating the same leftovers more than once.
  • Tasting food to check whether it has gone off.
Freezing

Can you freeze cooked pasta?

Yes, short termQuality holds for about 1–2 months at 0°F / -18°C. Frozen food stays safe indefinitely; only quality declines.
  1. 1Step 1

    Cool quickly: shallow containers, into the fridge or freezer within 2 hours.

  2. 2Step 2

    Portion into freezer bags or airtight tubs, leave headspace for liquids, and label with the date.

  3. 3Step 3

    Thaw in the fridge and reheat to 165°F (74°C) until steaming.

How to freeze and thaw cooked pasta →

Thawing

How to thaw cooked pasta

In the fridge

Safest. About 24 hours per 2.3 kg (5 lb); small packs overnight. Raw meat and seafood then keep 1–2 more days.

In cold water

Seal it in a leak-proof bag, submerge, and change the water every 30 minutes. About 30 minutes per 0.5 kg (1 lb). Cook right away.

In the microwave

Use the defrost setting and cook immediately, because parts of the food may start to cook.

Reheating

How to reheat cooked pasta safely

1

Reheat to 74°C (165°F)

Check the thickest part with a food thermometer; it should be steaming hot all the way through.

2

Only once

Reheat just the portion you will eat. Each cool-and-reheat cycle gives bacteria another chance.

3

Cover and stir

In the microwave, cover the dish and stir halfway so there are no cold spots.

4

From the freezer

Thaw in the fridge first, or reheat straight from frozen and allow extra time.

The 2-hour rule

Cooked pasta left out overnight

Cooked pasta left at room temperature for more than 2 hours (1 hour above 90°F / 32°C) should be thrown away. Bacteria multiply fastest between 40°F and 140°F, and reheating does not remove every toxin they make.

Danger zone°C
0 4 32 60 80
← FridgeHot holding →

Bacteria multiply fastest between 4 °C and 60 °C (40–140 °F).

Cooked pasta left out overnight: what to do →

Date labels

Best-by and use-by dates on cooked pasta

Best-by and sell-by

FoodKeeper gives unopened cooked pasta 3–5 days in the fridge, counted from the day you buy it. "Best-by" and "sell-by" describe quality and stock rotation, not safety; only infant formula carries a federally required use-by date.

Past the date

For perishable cooked pasta, the storage clock matters more than the label: if it has been in the fridge longer than 3–5 days, discard it even before the printed date.

Storage tips

How to store cooked pasta

  • Refrigerate within 2 hours of cooking (1 hour above 90°F) in shallow, airtight containers.
  • Keep the fridge at or below 40°F (4°C); the door shelf is the warmest spot.
  • Reheat leftovers to 165°F (74°C) and only reheat what you will eat.
At the store

How to pick fresh cooked pasta

  • For takeaway and deli food, get it home and into the fridge within two hours.
  • Choose hot food that is steaming hot and cold food that feels cold.
  • Check the prepared-on date for store-made dishes and count the fridge days from it.
Less waste

Cooked pasta: use it up in time

  • Freeze portions on day one or two if you will not eat them in time.
  • Turn leftovers into soups, fried rice, frittatas or wraps.
  • Label containers with the date so you know exactly how long they have been in the fridge.
How it compares

Cooked pasta vs similar foods

Longest recommended storage time (fridge, or pantry for shelf-stable foods)

Same scale as the timeline above: 1 hour to 2 years.

Got something else in the fridge?

Check any food in seconds: when your leftovers expire, and whether something left out is still safe.

Keep exploring

Similar foods

All cooked leftovers → Can you freeze… hub → Leftover calculator →Freezer time calculator →Left-out checker →

Quick quiz

True or false? Cooked pasta myths

  1. 1.Cooked pasta is safe to eat after more than 3–5 days in the fridge, as long as it smells fine.
    Correct!
    Not quite.

    False. The bacteria that cause food poisoning rarely change the smell. Stick to the 3–5 days window and throw out anything older.

  2. 2.Freezing cooked pasta kills the bacteria on it.
    Correct!
    Not quite.

    False. Freezing pauses bacteria; it does not kill them. They become active again as the food thaws, so thaw in the fridge and cook or reheat properly.

  3. 3.Cooked pasta freezes well.
    Correct!
    Not quite.

    True. Quality holds for about 1–2 months at 0°F / -18°C. Frozen food stays safe indefinitely; only quality declines.

  4. 4.The fridge door is a good place for cooked pasta.
    Correct!
    Not quite.

    False. The door warms up every time it opens. Ready-to-eat and cooked food goes on the upper shelves, above anything raw.

  5. 5.Cooked pasta left out overnight is fine if you reheat it well.
    Correct!
    Not quite.

    False. Some bacteria make heat-stable toxins. Reheating kills bacteria but not those toxins, so food left out more than 2 hours should be thrown away.

Questions people ask

Cooked pasta FAQ

How long does cooked pasta last in the fridge?
Cooked pasta lasts 3–5 days in the fridge at 40°F (4°C) or below once cooked, according to USDA FoodKeeper.
Can you freeze cooked pasta?
Yes. Quality holds for about 1–2 months at 0°F / -18°C. Frozen food stays safe indefinitely; only quality declines.
How long can cooked pasta sit out?
No more than 2 hours at room temperature, or 1 hour above 90°F (32°C). After that, discard it.
How long does dry pasta last?
2 years in the pantry. Cooked, the clock is shorter: 3–5 days in the fridge.
How can you tell if cooked pasta has gone bad?
Smell: sour, yeasty or 'off' instead of how it smelled when cooked; Texture: slimy film, or liquid separating where it should not; Colour: dull or darkened patches, or any discoloured spots.
Does cooked pasta go bad past the date?
For perishable cooked pasta, the storage clock matters more than the label: if it has been in the fridge longer than 3–5 days, discard it even before the printed date.
What temperature should I keep cooked pasta at?
Keep your fridge at 4°C (40°F) or colder and your freezer at -18°C (0°F). Many fridges run warmer than their dial suggests, so an inexpensive appliance thermometer is worth having. Every few degrees above 4°C noticeably shortens the 3–5 days fridge window for cooked pasta.
What is the best container for cooked pasta?
Use shallow, airtight containers, cooled quickly and labelled with the date. The goal is to keep out air and moisture, stop odours spreading, and make it easy to see how old the food is. Write the date on a label or the lid so you are never guessing how long it has been stored.
Can I keep cooked pasta in the fridge door?
It is better not to. The door is the warmest part of the fridge and warms up every time it opens. Ready-to-eat and cooked food goes on the upper shelves, above anything raw.
Can you refreeze cooked pasta?
Only if it thawed in the fridge and has not been left out. Food thawed in cold water or the microwave should be cooked before freezing again. Each freeze-thaw cycle lowers quality, so freeze in portions you will use at once.
Does freezing kill bacteria in cooked pasta?
No. Freezing at -18°C (0°F) stops bacteria from multiplying but does not kill them. When cooked pasta thaws, any bacteria present become active again, so thaw in the fridge and cook or reheat to a safe temperature where appropriate.
Is cooked pasta safe if it smells fine but is past the storage time?
Not necessarily. The bacteria that cause food poisoning usually do not change the smell, look or taste of food. If cooked pasta has been in the fridge longer than 3–5 days, throw it out even if it seems fine.
Numbers on this page come from USDA FoodKeeper and FSIS guidance. Last verified November 2026. How we verify our data · Report a wrong number