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.
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.
| Source | Fridge | Freezer |
|---|---|---|
| Montana State (cooked pasta) | Up to 3 days | 2 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 days | 2 to 6 months |
| Virginia Cooperative Extension (leftovers) | Generally discarded after 3 to 4 days | — |
| North Dakota State (leftover or cooked food) | Up to four days | Freeze if you will not eat them within four days |
| UK Food Standards Agency (leftovers) | Within two days | Freeze “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.
How PantryWeave helps
PantryWeave starts every plan from what is already in your 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.
What needs eating soon
Freshness checks with a Use first shelf show which ingredients need eating soon.
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.
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.
- Montana State University Extension: Pastabilities (storing and reheating cooked pasta)
- Texas A&M AgriLife Extension, Dinner Tonight: all about pasta (published September 7, 2017, updated July 23, 2019: leftover pasta, reheating, dry pasta)
- Nebraska Extension: freezing rice and pasta (written in 2022: freezing, frozen pasta time, reheating)
- Nebraska Extension: leftovers (leftovers in the fridge and freezer)
- Nebraska Extension: home food storage chart (updated in 2026: pasta, spaghetti sauce)
- Virginia Cooperative Extension (Virginia Tech): food storage guidelines for consumers (last revised October 2025: leftovers, dry pasta)
- North Dakota State University Extension: food storage guide (FN579, reviewed January 2023: dry pasta, tomato sauce)
- North Dakota State University Extension: questions and answers about storing food in the refrigerator (FN1466, reviewed June 2025: leftovers, reheating)
- Clemson University Home & Garden Information Center: food storage in the pantry (HGIC 3525, revised March 27, 2020: dry pasta)
- New Mexico State University Extension: guide E-118 on storing food (revised April 2025: dry pasta)
- Pacific Northwest Extension: guide PNW612 on storing food (revised March 2023: spaghetti, macaroni and egg noodles in the cupboard)
- University of Kentucky Cooperative Extension: recommended food storage times (FCS3-595, revised September 2026: fresh and dry pasta, noodles)
- National Center for Home Food Preservation: foods that do not freeze well (cooked spaghetti frozen alone)
- UK Food Standards Agency: how to chill, freeze and defrost (leftovers)
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.


