A few fine threads of webbing between pieces of dry pasta in an open box

9 min read

Grains and bread

Emilly White

Updated

How to store pasta

There are three ways to store pasta, and only one of them is about the box in the cupboard. Dry pasta is the easy part. It keeps for a year or two, and the worst thing that reaches it is beetles. Cooked pasta is the one that can actually hurt somebody, since it carries a spore that survives boiling water. Fresh pasta from the chilled aisle is the one nobody official has published a number for. So this guide says that plainly. Here is the pantry, the two-hour rule, the freezer, and the bowl left out overnight.

Pantry

1 to 2 years

Dry, airtight, cool; an opened box about 1 year (NDSU, Clemson)

Fridge

3 to 4 days

Cooked, chilled within 2 hours, reheated to 165°F (Illinois Extension)

Freezer

1 to 4 months

Cooked; Illinois says 3 to 4 months, NDSU 1 month for a casserole

The short version: to store pasta well, keep the dry boxes airtight and cool, where they last 1 to 2 years. Then get cooked pasta cold within two hours, and eat it within three or four days. Reheat it to 165°F rather than warming it through. Also check the box for fine webbing before you tip it into the pot. That is the other way pasta goes.

Dry figures here come from NDSU Extension and Clemson Cooperative Extension. The cooked rules, meanwhile, come from Illinois Extension and UF/IFAS Extension. Then the pest figures come from Texas A&M AgriLife and University of Maryland Extension.

What to check before you store pasta

Three questions settle it, and the cupboard is not one of them. Is the pasta dry, fresh or cooked? Is the packet still properly sealed? And how long ago did it come out of the pot? So answer those three first, because each one runs on a different clock.

Dry penne, a nest of fresh pasta and a bowl of cooked pasta side by side on a counter

Three forms, three clocks. The dry box is the easy one.

How to store pasta so it lasts

To store pasta so it lasts, treat the three forms as three different foods. Dry pasta needs air and damp kept out. Cooked pasta needs cold, and it needs it quickly. Fresh pasta needs the date on the packet, since nobody official has published anything better.

How do you store dry pasta?

Dry pasta keeps best in an airtight container in a cool, dry pantry at 65 to 70°F, according to Clemson Cooperative Extension. Its chart also assumes tightly sealed or airtight containers throughout. The container is a pest measure as much as a freshness one. That is because the same page says one thing plainly. Storing food in tightly sealed glass, metal, or rigid plastic containers may help reduce the chances of insect infestation. NDSU Extension agrees on the method, since it tells you to store opened pasta in an airtight container. So decant the box, or clip it shut and keep it dry. Skip the bag it came in, though. University of Maryland Extension warns that insects can chew through plastic bags and cardboard boxes. It also rates glass jars that pressure seal with rubber gaskets as the best.

How to store pasta: dry penne in a sealed glass jar on a cool, dry cupboard shelf

Airtight glass, cool and dry, and away from the stove.

How long does pasta last?

Dry pasta lasts 1 to 2 years in the pantry, while cooked pasta lasts 3 to 4 days in the fridge, according to Clemson Cooperative Extension and Illinois Extension. Clemson Cooperative Extension, for example, gives pasta 1 to 2 years in its pantry chart. Its own food selection factsheet simply says 2 years instead. NDSU Extension then splits the difference by the lid. It gives an unopened box 2 years and an opened one 1 year. Cooked pasta is shorter by a wide margin. Illinois Extension generally gives leftovers 3 to 4 days in the fridge. NDSU also gives a shop-bought macaroni salad the same 3 to 4 days.

There is a much shorter figure out there, though, and it is about pests rather than quality. Texas A&M AgriLife says most pantry pest problems can be prevented one way. Using all dried food within 2 to 4 months of purchase does it. That is a quarter of NDSU's figure for an opened box. So a year-old box is usually fine to eat. A box you turn over every few months, however, is the one that never surprises you.

Does cooked pasta need to be refrigerated?

Cooked pasta does need the fridge, within two hours of serving, according to Illinois Extension. A dry box, however, does not. NDSU Extension, for instance, runs its refrigerator chart at 32 to 40°F. UF/IFAS Extension then puts the line at 41°F or below for cold food. Anything between 41°F and 135°F is what it calls the danger zone for food storage. A dry box has no business in there, however. A fridge is a damp place, and damp is the one thing dry pasta cannot take. So the fridge is for the pot, not the packet.

How long does fresh pasta last?

Fresh pasta has no published shelf life in any university or agency source we opened, so go by the packet date and keep it at 41°F or below. We would rather give you a number here. NDSU Extension, for example, lists only dry pasta and egg noodles. Clemson Cooperative Extension similarly lists pasta in the pantry chart alone. So treat an opened packet as a cooked leftover. That is the nearest published rule: cold, and eaten within a few days. The pages ranking for this question give everything from 24 hours to 7 days. Not one of them names a source.

How do you store cooked pasta?

Cooked pasta has to be in the fridge within two hours, divided into smaller containers, according to Illinois Extension. It also says to cool large quantities faster. Divide them into smaller containers, stir, and add an ice bath. UF/IFAS Extension is stricter again. It asks for 135°F down to 70°F within 2 hours, then 70°F down to 41°F within 4 hours. The whole cooling process should take no more than 6 hours, it adds. A full pot of spaghetti will not manage that in one lump. So split it up, and do not leave the colander on the counter while you eat.

Can you freeze cooked pasta?

Cooked pasta freezes for 3 to 4 months, according to Illinois Extension, while a dry box gains little from the freezer. NDSU Extension gives a casserole only 1 month, however, and a soup or stew 2 to 3 months. That is a three-fold spread for the same tray of baked pasta. So take the shorter figure when there is sauce and cheese in it. The freezer has a second use here as well, because it kills pantry pests.

How do you freeze cooked pasta?

Cooked pasta should be cooled and frozen in portions within the same two-hour window as the fridge, according to Illinois Extension. Its dividing-and-stirring step matters more here, since a deep tub freezes from the outside in. NDSU Extension runs its freezer chart at 0°F. Then reheat it to 165°F. That is the minimum Illinois Extension gives for leftovers. UF/IFAS Extension states it as 165°F for 15 seconds. The rice guide takes the same two steps, for the same reason.

Cooked pasta divided into four shallow containers ready for the freezer

Shallow and portioned, so it cools fast and reheats once.

Does freezing kill bugs in pasta?

Freezing does kill pantry pests in pasta, although the published times run from two to three days to 7 to 14 days. UW-Madison Division of Extension gives the shortest treatment, in fact. Unopened infested packaging can go in a freezer for two to three days. That kills any larvae or eggs. Texas A&M AgriLife asks for 7 to 14 days instead, or an hour in the oven at 130°F. University of Maryland Extension, meanwhile, uses the freezer the other way round. It says many products can be kept in the freezer to prevent infestation. So take the longer figure when you are treating a box you mean to keep. Even so, all three would rather you binned it. Texas A&M says plainly to discard old packages of grain and pasta.

Does frozen pasta get mushy?

Frozen cooked pasta comes out softer, and a sauce hides it, but none of the sources we opened measures how much. So we are not going to put a number on it. The reason is the ordinary one for frozen food, because ice breaks the structure as the water inside freezes. That is why a baked tray freezes better than plain noodles. A thin soup with pasta in it, meanwhile, comes out worst. Dry pasta gains nothing in there apart from pest control. There is almost no water in it to begin with.

How to tell if pasta has gone bad

Pasta splits into two very different questions here. A dry box is nearly always a quality call. Cooked pasta is a safety one, however, and the dangerous version neither smells nor looks wrong. UF/IFAS Extension explains why. The toxin behind the vomiting form of Bacillus cereus is already in the food before you reheat it. Here is what each stage means, then.

Hard, pale gold dry penne loose in an open box on a kitchen counter

Verdict: use it

Fresh dry pasta

Hard, clean-smelling and loose in the box. This is the straightforward case, because NDSU Extension gives an unopened box 2 years and an opened one 1 year. So cook it as written, and tip whatever is left into something airtight.

An opened box of dry spaghetti with a faded printed date panel turned away from the camera

Verdict: still fine

Dry pasta past the date on the box

A date has gone by and nothing else has changed. The charts disagree about dry pasta anyway. Clemson Cooperative Extension gives 1 to 2 years, while its own food selection factsheet gives 2 years. Neither one calls a late box unsafe, however. So smell it, look for webbing, and then cook it. NDSU Extension keeps the last word regardless. Its rule is: when in doubt, throw it out.

Cooked penne in a shallow lidded container, cold from the fridge

Verdict: reheat it properly

Cooked pasta kept cold

Three or four days old, held at 40°F or below, and smelling of very little. Illinois Extension gives leftovers 3 to 4 days. It also asks for a minimum of 165°F on the way back out. UF/IFAS Extension matches that at 165°F for 15 seconds. So heat it right through rather than warming it. A lukewarm bowl otherwise sits inside the 41°F to 135°F danger zone that the same page names.

Cooked pasta in a bowl with a dull, slick film across the surface

Verdict: throw it out

Slimy or sour cooked pasta

A slick film, a sour smell, or a bowl that sat out all night. The smell is the easy case, and the bowl with no smell at all is the dangerous one. UF/IFAS Extension reports a 2003 Belgian outbreak traced to a pasta salad held at 57°F. A seven-year-old child died about 13 hours later. Its instruction leaves no room. Contaminated food should never be knowingly served, even if properly reheated, it says. So bin it. The vomiting toxin survives heating to around 250°F, and reheating will not rescue the bowl.

A few fine threads of webbing between pieces of dry pasta in an open box

Verdict: throw the box out

Pasta with webbing, holes or beetles

Fine threads across the pasta, small holes in the packet, or something moving. University of Maryland Extension names the signs. They are webbing, a large number of caterpillars or worm-like larva, plus sawdust-like droppings called frass. UW-Madison Division of Extension adds that extensive webbing can spoil more food than the larvae can consume. Texas A&M AgriLife names a beetle too. Rice weevils and granary weevils are pests of processed grain foods such as macaroni, it says. Maryland says infested foods should be thrown away and the shelves cleaned thoroughly. So check the neighbours as well, since flour and rice draw the same insects.

Is pasta left out overnight safe to eat?

Cooked pasta left out overnight is not safe to eat, because Illinois Extension allows only two hours from serving. A night on the counter is many hours past that. UF/IFAS Extension explains what happens in between. Bacillus cereus spores survive boiling, and then they grow as the pasta cools. Its figures are specific. The bacteria grow between 39°F and 118°F, and especially fast between 82°F and 95°F. The vomiting toxin forms at around 77°F to 86°F. A kitchen overnight still sits squarely inside that range. So throw it out, then read the food left out overnight hub for the rest of the fridge.

Pasta substitutes

Out of pasta, or did the box turn out to have company in it? Then one of these covers dinner.

Substitute

Works best in

What changes

Rice

Anything with a sauce

NDSU gives it 1 to 2 years, and cooked it runs the same clock.

Egg noodles

Soups and bakes

Quicker to cook, although NDSU gives an opened bag only 1 to 2 months.

Couscous

Salads and stews

Ready in minutes, so it suits a weeknight.

Gnocchi

Butter and sage, or a bake

Sold chilled or shelf-stable, so check which one you bought.

Mistakes people make when they store pasta

These are the ways people store pasta that cost them the most. Every one of them has a quick fix, though.

Sources

Storage times and safety advice on this page come from the sources above. Food safety depends on conditions I cannot see, so read the Disclaimer, and if in doubt, throw it out.

Other ingredient guides

Browse all guides
A bowl of cocktail sauce with shrimp, grated horseradish and lemon wedges on a beech-wood board

How to store cocktail sauce

Read the guide
Does Crisco Go Bad- A white ceramic crock of vegetable shortening on a beech-wood board with flour and pastry dough

How to store vegetable shortening

Read the guide
How to Store Tofu - a block of tofu on a plate and a second block in a glass container of water on a beech-wood board

How to store tofu

Read the guide
How to store milk - A plain carton of milk and a glass of milk on a beech-wood board beside a dial thermometer

How to store milk

Read the guide
How to store corn on the cob - Three ears of corn on the cob, one in the husk and one half-shucked, on a beech board

How to store corn on the cob

Read the guide
How to store mint - Fresh mint sprigs on a beech-wood board beside a damp cloth and a glass of water

How to store mint

Read the guide
An open jar of almond butter on a beech-wood board with whole almonds, a butter knife and a slice of toast

How to store almond butter

Read the guide
How to store lemon extract - small bottle of lemon extract on a beech-wood board with two lemons and a measuring spoon

How to store lemon extract

Read the guide

About the author

Emilly White from foodlarder - sharing food storage guides

Emilly White

Emilly White is a food blogger from Illinois who has been writing about food since 2015. Every guide names the published guidance behind its storage times.

More about Emilly
Scroll to Top