Updated

If you hosted Thanksgiving this year, it's likely you have some leftovers.

There’s a time limit on how long you can safely store that hearty turkey and cranberry sauce though, according to the U.S. Department of Agriculture (USDA).

Here’s what you need to know as you pack your Thanksgiving favorites away.

THANKSGIVING LEFTOVERS CREATIVELY IMAGINED BY SEN. MARSHA BLACKBURN: 'BECAME A FAVORITE'

Depending on whether you’re planning to stash your food in the fridge or freezer, Thanksgiving leftovers can last anywhere from three to four days to two to six months.

Stuffed Turkey for Thanksgiving Holidays

There’s a time limit on how long you can safely store that hearty turkey and cranberry sauce though, according to the U.S. Department of Agriculture. (iStock)

To ensure your food is stored away before harmful bacteria can form, the USDA recommends dividing up dishes into shallow containers within two hours of cooking. It’s OK if your food is still warm when you pack it up, the national agriculture and food safety authority reports.

Turkey

Cooked and carved turkeys can be kept in a fridge for three or four days if the meat has been placed in shallow containers, according to the USDA's Food Safety and Inspection Service (USDA FSIS). 

Storing leftover turkey in a freezer can provide longer storage periods, the USDA FSIS says.

"When frozen under 0 [degrees Fahrenheit], leftovers will remain safe indefinitely, but quality may change over time," the USDA FSIS wrote in an updated Thanksgiving food safety guide.

Close-up view of someone carving a turkey on a table

Meat carving is a kitchen skill that involves the sectioning and cutting of meat. Many Americans practice this skill on Thanksgiving when they're tasked with carving a whole turkey. (iStock)

The same refrigeration and freezing guidance is true if your family enjoys other meat-based protein sources on Thanksgiving Day, including cooked chicken, cooked pork and cooked beef, according to storage directions outlined on the USDA FoodKeeper App.

Plant-based alternatives like tofu can be stored for up to one week in a fridge if it was served fresh or it can be stored for five months in a freezer, according to the USDA FoodKeeper App.

TSA SHARES THANKSGIVING FOODS YOU CAN AND CAN'T CARRY ON FLIGHTS

Stuffing

The USDA said leftover stuffing should be consumed or frozen within three or four days. When frozen, stuffing can last between two and three months.

Homemade Thanksgiving Stuffing Made with Bread and Herbs

Stuffing is a carb-based side dish that's either placed inside poultry or served separately. It's commonly served with Thanksgiving turkey. (iStock)

Uncooked stuffing can also be frozen, but it will need to be cooked immediately when removed from a freezer, according to the USDA’s "Handling Stuffing with Care Guide." 

The frozen stuffing should be cooked until it reaches 165 degrees Fahrenheit, according to the USDA.

Potatoes, Yams and Green Beans

Mashed potatoes and other Thanksgiving vegetables like yams and green beans can last three or four days when stored in a fridge, according to the USDA FoodKeeper App.

Family praying around the table for Thanksgiving

The USDA said most Thanksgiving leftovers can be stored for three to four day in a fridge. (iStock)

HOW TO MAKE STEVE DOOCY’S THANKSGIVING ‘LEFTOVER TURKEY GALETTE’

Cranberry Sauce

Thanksgiving cranberry sauce can be homemade or come from a can, but both options have a drastically different shelf life.

Homemade cranberry sauce can be refrigerated for seven to 10 days after purchase while canned cranberry sauce can be refrigerated for one to two weeks after opening, according to the USDA FoodKeeper App.

Homemade Turkey Thanksgiving Dinner with Mashed Potatoes, Stuffing, and Corn

Cranberry sauce is commonly served with turkey, stuffing and vegetables on Thanksgiving. (iStock)

Freezing is not recommended because thawing cranberry sauce may make it "become too watery," the USDA FoodKeeper App reports.

Gravy

Leftover gravy can be stored in a fridge for three to four days or in a freezer for four to six months, according to the USDA.

CLICK HERE TO GET THE FOX NEWS APP

People having Thanksgiving dinner

Some Thanksgiving leftovers can be frozen for several months at a time, including stuffing, gravy and pies, according to food safety experts. (iStock)

When reheating gravy, the USDA recommends boiling the liquid to ensure its safety. The same is true for leftover sauces and soups.

Pie

The USDA said homemade pies that contain egg, cream or chiffon can be stored in a fridge for three to four days, including pumpkin, pecan, lemon meringue and custard pies. Fruit-based pies, on the other hand, can be stored at room temperature for one to two days or in a fridge for up to a week. 

PIE QUIZ! TEST YOUR KNOWLEDGE OF PIES IN THIS FUN LIFESTYLE QUIZ

Pumpkin pie on plate

Pumpkin pies are a popular Thanksgiving dessert. The USDA says pumpkin pies should be refrigerated within two hours of serving. (iStock)

Store-bought or bakery pies may contain preservatives, so the USDA recommends consulting the pie's packaging or baker in these instances. 

While the USDA does not have freezing guidelines for baked pies, the Michigan State University Extension school — an economic program in East Lansing, Michigan — reports that baked pies can be frozen for up to six months.

CLICK HERE TO SIGN UP FOR OUR LIFESTYLE NEWSLETTER