Plain cooked pasta is good for 3 to 5 days in the refrigerator at 40°F (4°C) or below, according to the USDA FoodKeeper. Pasta mixed with meat, seafood or a cream sauce follows the general leftovers rule of 3 to 4 days, and an opened jar of tomato pasta sauce lasts about 3 to 5 days.
Pasta is one of the most common leftovers in any fridge, and one of the easiest to lose track of, because a container of penne looks the same on day 2 and day 6. This guide covers plain and sauced pasta, opened sauce, fresh pasta, dry pasta past its date, and how to freeze and reheat it.
Pasta Storage Chart
| Pasta | Refrigerator, 40°F (4°C) | Freezer, 0°F (-18°C) |
|---|---|---|
| Plain cooked pasta | 3 to 5 days | 1 to 2 months |
| Pasta with meat, seafood or egg | 3 to 4 days | 2 to 3 months |
| Pasta with vegetable or tomato sauce only | 3 to 4 days | 1 to 2 months |
| Baked pasta dishes (lasagna, baked ziti) | 3 to 4 days | 2 to 3 months |
| Pasta salad | 3 to 5 days | Not recommended |
| Fresh pasta, uncooked (homemade) | 1 to 2 days | 2 months |
| Fresh pasta, uncooked (store-bought) | Package date | 2 months |
| Jarred tomato pasta sauce, opened | 3 to 5 days | Freeze in a container |
| Dry pasta, unopened (pantry) | 2 years from purchase | Not needed |
| Dry pasta, opened (pantry) | 1 year | Not needed |
Sources: the USDA FoodKeeper (cooked pasta, fresh pasta, dry pasta, pasta salad, leftovers with and without meat, and tomato sauce) and the FoodSafety.gov Cold Food Storage Chart (soups, stews and egg casseroles). The FoodKeeper lists opened jarred spaghetti sauce at 4 days in one entry and tomato sauce at 3 to 5 days in another; if you are unsure how long a jar has been open, use it within 4 days. Freezer times are for quality only.
How Long Will Cooked Pasta Last in the Fridge?
Plain cooked pasta, with nothing but a little oil or butter, lasts 3 to 5 days. It is mostly starch and water with no meat or dairy, which gives it slightly more time than typical leftovers. Dried and fresh pasta follow the same rule once cooked.
Once you add other ingredients, the shortest-lived ingredient sets the limit:
- Meat sauce, chicken, sausage or seafood: 3 to 4 days, per the FoodKeeper's entry for leftovers with meat, fish, poultry or egg.
- Cream sauces such as Alfredo or carbonara: 3 to 4 days. Dairy and egg sauces also separate and turn grainy as they age.
- Tomato or vegetable sauce: 3 to 4 days, per the FoodKeeper's entry for leftovers without meat.
- Baked pasta: lasagna, baked ziti and mac and cheese follow the casserole rule of 3 to 4 days.
The clock starts when the pasta was cooked. For takeout, that is usually the day you ordered it.
Pro tip: If you cook pasta for meal prep, store it plain and sauce it when you eat it. Plain pasta gets the longer 3 to 5 day window, reheats better, and does not turn mushy from sitting in sauce.
How to Store Cooked Pasta
- Refrigerate within 2 hours of cooking, or 1 hour above 90°F (32°C), per USDA FSIS.
- Cool it quickly. Spread a large batch in a shallow container instead of leaving it in a deep pot, which stays warm in the middle for a long time.
- Toss plain pasta with a little oil so it does not clump into a solid block.
- Use airtight containers or zip-top bags to keep it from drying out.
- Label it with the date it was cooked.
- Keep it on an interior shelf, where the temperature is more stable than in the door. Our guide on what temperature a freezer and fridge should be explains how to check yours.
How Long Is Pasta Sauce Good After Opening?
An opened jar of tomato-based pasta sauce lasts 3 to 5 days in the refrigerator, according to the USDA FoodKeeper, which lists jarred spaghetti sauce at 4 days after opening. Unopened jars keep about 18 months in the pantry.
That surprises a lot of people, because a jar of marinara looks fine for weeks. Once opened, though, it can grow mold, and tomato sauce is a common place to find it. Keep the jar tightly closed, always use a clean spoon, and do not double-dip with utensils that touched other food.
For cream-based jarred sauces such as Alfredo, follow the label after opening, since the FoodKeeper does not list a separate time for them.
If you will not finish a jar in a few days, freeze the rest. Pour it into a freezer container or bag, leaving room for expansion, rather than freezing it in the glass jar, which can crack. Homemade tomato sauce freezes well too, and our guide on how to freeze soup covers the same container and headspace tips.

Fresh Pasta
Fresh egg pasta has a much shorter life than dry pasta. The FoodKeeper gives uncooked fresh pasta 1 to 2 days in the refrigerator and 2 months in the freezer. That number is best applied to homemade pasta; store-bought fresh pasta comes in a sealed package with its own "use by" date, which you should follow while the package is sealed. Once opened, cook it within a day or two.
Fresh pasta freezes very well uncooked. Dust it with flour, freeze it in loose nests or flat on a tray, then bag it. Cook it straight from frozen, adding a minute or two to the cooking time.
How Long Is Pasta Good After the Expiration Date?
Dry pasta has a long pantry life: the FoodKeeper gives dried pasta without eggs 2 years from purchase unopened and 1 year after opening. Dry egg noodles keep 2 years unopened but only 1 to 2 months once opened.
The date printed on a box of pasta is usually a "best if used by" date. USDA FSIS explains that these dates indicate quality, not safety, and that apart from infant formula, product dating is not required by federal regulation. Dry pasta stored in a cool, dry place in a closed package is generally still safe past that date, though it may lose some flavor or texture. Throw it out if you see signs of pantry pests, moisture, mold or an off smell.
The expiration date logic does not apply to cooked pasta. Once pasta is cooked, the 3 to 5 day fridge window takes over, no matter how far away the box's date was.
Can You Freeze Cooked Pasta?
Yes. The FoodKeeper gives cooked pasta 1 to 2 months in the freezer for best quality. A few tips help it hold up:
- Undercook it slightly if you are cooking specifically to freeze, so it does not turn mushy when reheated.
- Freeze plain pasta in portions, tossed with a little oil, in flat zip-top bags.
- Freeze sauced pasta and baked dishes in freezer-safe containers; they reheat well straight from frozen.
- Skip freezing pasta salad: the FoodKeeper does not recommend it, since dressings and raw vegetables separate and go limp.
Our full guide on how to freeze cooked rice and pasta covers step-by-step methods, and how to freeze casseroles covers lasagna and baked ziti.
Reheating Leftover Pasta
USDA FSIS recommends reheating leftovers to 165°F (74°C).
- Plain pasta: dip it in boiling water for 30 to 60 seconds, or microwave it covered with a splash of water.
- Sauced pasta: reheat in a covered skillet over medium-low heat with a little water or broth, stirring often, or microwave it covered, stirring halfway.
- Baked pasta: cover with foil and heat in a 350°F (177°C) oven until hot in the center.
Cold pasta salad is meant to be eaten cold, so no reheating needed, as long as it stayed refrigerated and is within its window.
How to Tell If Cooked Pasta Has Gone Bad
Discard cooked pasta if you notice mold, a slimy texture, an off or sour smell, or discoloration, or if it is past its storage time. As with cooked rice, some bacteria can grow on starchy foods left at room temperature, so do not eat pasta that sat out for more than 2 hours. Our guide on how long rice lasts in the fridge explains why starchy leftovers need fast cooling.
FAQ
How long is pasta good for in the fridge?
Plain cooked pasta keeps 3 to 5 days at 40°F (4°C) or below, according to the USDA FoodKeeper. Pasta with meat or cream sauce keeps 3 to 4 days.
How long will cooked pasta last in the fridge with sauce?
3 to 4 days. Store pasta and sauce separately if you want the longer 3 to 5 day window for plain pasta.
How long is pasta sauce good after opening?
About 3 to 5 days in the fridge for tomato-based jarred sauce, per the FoodKeeper. Freeze leftovers if you will not use them within 4 days.
Is pasta good after the expiration date?
Dry pasta usually is, because the date marks quality, not safety. Cooked pasta is not: it follows the 3 to 5 day fridge rule.
Can you eat pasta left out overnight?
No. USDA FSIS says perishable cooked food left at room temperature for more than 2 hours should be thrown away.
Keep Leftover Pasta in Rotation
Cooked pasta has a few days of grace, which is exactly why it gets forgotten. Label it, keep it at eye level, and freeze extra portions early. Freezer Inventory Tracker tracks leftovers in the fridge, opened jars of sauce and frozen portions in one list, with a reminder before each one expires. For other leftovers, see our food-by-food guide on how long leftovers last in the fridge.
