Leftovers are one of the best things you can do for your grocery budget, right up until you forget about them, they turn, and you toss the whole container. The trick is knowing the real timeline so you use them while they're still good, not after.

The general rule: 3 to 4 days

For most cooked leftovers stored in the fridge at or below 40°F (4°C), the safe window is 3 to 4 days. That covers the majority of what ends up in your containers: cooked meat and poultry, casseroles, soups and stews, cooked vegetables, pasta dishes, and pizza.

A few things are shorter and worth watching:

A few food-safety basics

The freezer buys you more time

If you know you won't get to leftovers within a few days, freeze them while they're still fresh, not on their last day. Most cooked meals freeze well for a couple of months. Future you will be thrilled to find a homemade meal ready to go.

The part that actually saves the food

All of this only helps if you remember the leftovers are in there. The real reason they get wasted isn't the timeline, it's the back of the fridge swallowing them until it's too late. A quick fridge and pantry inventory is the cheapest fix for that.