PantryWeave
PantryWeave Kitchen screen with items to use first

How long is spaghetti good for in the fridge?

Up to 3 days, says Montana State University Extension; Texas A&M’s Dinner Tonight says 3 to 4 days. Below: the times from each source side by side, freezing and reheating cooked spaghetti, opened spaghetti sauce, fresh pasta and dry spaghetti.

Download on the App Store

Short answer: Montana State University Extension says to store cooked pasta in the refrigerator up to 3 days or freeze it for 2 months. Texas A&M AgriLife’s Dinner Tonight says to keep leftover cooked pasta in the refrigerator for only 3 to 4 days. In the UK, the Food Standards Agency’s advice for all leftovers is to eat them within two days, or freeze them if you think this won’t be possible. Times for other leftovers are in our chart of how long leftovers last.

Chart

Cooked spaghetti in the fridge and freezer, by source

Times for cooked spaghetti and other pasta, each source in its own words; a dash means the source does not say. The last four rows are for leftovers in general, not pasta alone.

Cooked pasta and leftovers in the fridge and freezer: Montana State, Texas A&M, Nebraska Extension, Virginia Cooperative Extension, North Dakota State and the UK Food Standards Agency
SourceFridgeFreezer
Montana State (cooked pasta)Up to 3 days2 months
Texas A&M (leftover cooked pasta)Only 3 to 4 days—
Nebraska (frozen pasta)—Best if used within 6 months
Nebraska (leftovers)3 to 4 days2 to 6 months
Virginia Cooperative Extension (leftovers)Generally discarded after 3 to 4 days—
North Dakota State (leftover or cooked food)Up to four daysFreeze if you will not eat them within four days
UK Food Standards Agency (leftovers)Within two daysFreeze “if you think this won’t be possible”

Storing cooked spaghetti in the fridge

For cooked spaghetti and other pasta, Texas A&M AgriLife’s Dinner Tonight says to portion cooked food into smaller containers immediately, to keep leftover pasta in the refrigerator for only 3 to 4 days, and, when in doubt, to toss it out. Virginia Cooperative Extension (Virginia Tech) recommends portioning leftovers into clean, shallow containers that you cover, label and date, and says leftovers should generally be discarded after 3 to 4 days in the refrigerator.

Can you freeze cooked spaghetti?

Montana State University Extension says cooked pasta can be frozen for 2 months. Nebraska Extension says frozen pasta is best if used within 6 months, and describes how to freeze it:

  • Cook it al dente (slightly undercooked) and drain it.
  • Mix in a small amount of oil to keep the pasta from sticking together.
  • Cool it first, before it goes into a freezer bag or container, to avoid condensation.
  • Seal and label it: remove as much air as possible and label it with the date, type and amount of pasta. For single servings, Nebraska freezes about ½ cup at a time on a baking sheet for about 15 to 20 minutes before bagging it.

The National Center for Home Food Preservation lists cooked macaroni, spaghetti or rice frozen alone for later use among foods that do not freeze well: after thawing they are mushy and taste warmed over. Nebraska Extension says frozen pasta can be added directly to dishes, which works best in soups or stews, where it thaws and heats in the liquid.

Reheating spaghetti

For leftover spaghetti, Montana State University Extension says to reheat cooked pasta in the microwave or place it in boiling water just long enough to heat. Texas A&M’s Dinner Tonight says to always reheat food to 165 °F. North Dakota State University Extension says to reheat sauces to a boil, to reheat leftovers such as mixed dishes until steaming hot and 165 °F (74 °C) on a food thermometer, and in the microwave to cover and rotate or stir the food once or twice.

For frozen pasta, Nebraska Extension says to bring water to a rolling boil, drop the pasta in and heat it only until hot, which for most pasta takes less than 5 minutes. Smaller amounts can be thawed and heated in a microwave, and frozen pasta can also be thawed overnight in the refrigerator.

Spaghetti sauce, fresh pasta and dry spaghetti

  • Opened spaghetti sauce: Nebraska Extension’s home food storage chart gives jars of spaghetti or pizza sauce 4 days in the refrigerator once opened and 18 months at room temperature in the pantry. North Dakota State University Extension’s food storage guide gives canned tomato-based sauce 3 to 5 days in the refrigerator in one table and opened canned tomato sauce 5 to 7 days in another, and says to transfer canned food to glass or plastic containers as soon as it is opened.
  • Fresh pasta: the University of Kentucky’s storage chart gives fresh pasta 1 week in the refrigerator and 1 month in the freezer.
  • Dry spaghetti: the pantry times differ by source. North Dakota State University Extension gives pasta such as spaghetti and macaroni 2 years unopened and 1 year opened, and says to store it in an airtight container once opened. Virginia Cooperative Extension gives pasta 2 years, and 1 year opened. New Mexico State University gives pasta 24 months unopened and 1 year if opened. The University of Kentucky gives pasta 2 years, plain noodles 1 to 2 years and egg noodles 6 months. The Pacific Northwest Extension guide gives spaghetti and macaroni 1 to 2 years and egg noodles 6 months, and says to store them in an airtight container once opened. Nebraska Extension’s chart and Clemson University’s Home & Garden Information Center give pasta 1 to 2 years in the pantry, and Texas A&M’s Dinner Tonight gives dry non-egg pasta 3 years and egg and vegetable pasta noodles 1 to 2 years, depending on the best by date.
In the app

How PantryWeave helps

PantryWeave starts every plan from what is already in your kitchen.

Kitchen

Tracked by freshness

PantryWeave keeps track of what is in your fridge, freezer and pantry: for items with freshness tracking, freshness follows where they are stored, and the Use first shelf shows what to eat before it goes off.

Use first

What needs eating soon

Freshness checks with a Use first shelf show which ingredients need eating soon.

Plan

A week from what you have

You pick the recipes and plan your week; PantryWeave checks what you already have and builds the grocery list.

Good to know

An estimate, not an official date

The app’s freshness check is an estimate, not a guarantee. The official storage times are the ones on this page. Always check the food itself too.

Where the times come from

University guides read on November 17, 2026; the UK Food Standards Agency guidance read on November 16, 2026.

FAQ

Frequently asked questions

How long is cooked spaghetti good for in the fridge?

Montana State University Extension says to store cooked pasta in the refrigerator up to 3 days. Texas A&M AgriLife’s Dinner Tonight says to keep leftover cooked pasta in the refrigerator for only 3 to 4 days. In the UK, the Food Standards Agency’s advice for all leftovers is to eat them within two days, or freeze them if you think this won’t be possible.

How long does cooked pasta last in the fridge?

Montana State University Extension’s time is for cooked pasta in general: store it in the refrigerator up to 3 days. Texas A&M AgriLife’s Dinner Tonight says to keep leftover cooked pasta in the refrigerator for only 3 to 4 days. Neither source gives spaghetti a different time from other cooked pasta.

Can you freeze cooked spaghetti?

Yes. Montana State University Extension says cooked pasta can be frozen for 2 months, and Nebraska Extension says frozen pasta is best if used within 6 months. Nebraska suggests cooking pasta al dente, mixing in a small amount of oil and cooling it before freezing. The National Center for Home Food Preservation lists cooked macaroni, spaghetti or rice frozen alone for later use among foods that do not freeze well: after thawing they are mushy and taste warmed over.

How do you reheat leftover spaghetti?

Montana State University Extension says to reheat cooked pasta in the microwave or place it in boiling water just long enough to heat. Texas A&M’s Dinner Tonight says to always reheat food to 165 °F. For frozen pasta, Nebraska Extension says to drop it into water at a rolling boil and heat it only until hot, or to thaw and heat smaller amounts in the microwave.

How long does an opened jar of spaghetti sauce last?

4 days in the refrigerator once opened, according to Nebraska Extension’s home food storage chart. The same chart gives jars of spaghetti or pizza sauce 18 months at room temperature in the pantry. North Dakota State University Extension gives canned tomato-based sauce 3 to 5 days in the refrigerator in one table of its food storage guide and opened canned tomato sauce 5 to 7 days in another.

How long does dry spaghetti last?

The times differ by source. North Dakota State University Extension gives pasta such as spaghetti and macaroni 2 years unopened and 1 year opened. Virginia Cooperative Extension gives pasta 2 years, and New Mexico State University 24 months unopened; both give 1 year once opened. The Pacific Northwest Extension guide gives spaghetti and macaroni 1 to 2 years, and Nebraska Extension’s chart gives pasta 1 to 2 years. Texas A&M’s Dinner Tonight gives dry non-egg pasta 3 years, depending on the best by date.

PantryWeave

Know what needs eating first

Download PantryWeave and see what is in your fridge, freezer and pantry, and what needs using first.

Download on the App Store
Scan with your iPhone camera

Free to start · iPhone