How long does your Halloween candy last?

Once Halloween is officially over and the trick-or-treaters have left, you may have a decent amount of leftover candy just sitting around at home. 

But how long can it last?

Christine Venema, a food safety educator at Michigan State University, said that you don’t need to have "nightmares on Elm Street" about most Halloween candy.

She said most Halloween candy, including chocolates, hard candies and even gummies, will last about a year. However, chocolates with nuts will go bad quickly, because the fats will grow rancid.

Halloween candy is pictured during a Halloween party. (Credit: Natalie Kolb/MediaNews Group/Reading Eagle via Getty Images)

Venema said it’s important to check your candy’s "best by" dates and go with that if that information is provided.

She noted if chocolate goes chalky or white, the ingredients are separating, but it’s still safe to eat.

Leftover Halloween candy can also be put in the freezer and saved for a later date. Families can store the candy in an air-tight container, such as a plastic food container or a plastic bag with a zip seal. Label it with the date and type of candy, as recommended by The Spruce Eats, a food and recipe website.

Chocolate candy bars can generally last in the freezer for 10 months to a year, as well as hard candies. 

Where to donate Halloween candy

But if you’re tired of looking at the Halloween candy, there’s always the option to donate it. 

There are multiple organizations that will accept unopened candy. Families can donate their candy surplus to military members, first responders, and even sick children unable to trick-or-treat themselves. 

Treats for Troops is a Halloween candy collection program organized by Soldiers’ Angels, which provides aid, comfort, and resources to the military, veterans, and their families. The collected candy is then sent to service members and veterans.

Halloween Candy Buyback is a group that partners with businesses, especially dentist offices, to get extra candy out of the hands of your little ones in exchange for healthy items such as toothbrushes, hygiene kits and coupons. Use the zip code search to find a buyback location in your area.

Operation Shoebox also accepts "any and all kinds" of candy donations throughout the year, and especially after Halloween. The nonprofit sends a bag of candy inside every care package to deployed troops around the world. Leftover candy can be mailed to Operation Shoebox, 8360 East Highway 25, Belleview, FL 34420.

RELATED: DoorDash reveals the most popular Halloween candy in every state

Ronald McDonald House Charities (RMHC), which provides housing for families who are far from home as their child receives treatment at a hospital as well as other support, doesn’t have a universal Halloween candy donation program. But many local chapters will often accept donations of candy for families. Those interested in donating candy should call their local chapter to confirm. 

Feeding America and FoodPantries.org are other organizations that you can give your leftover candy stash to. Find your local food bank through Feeding America and your nearest food pantry via FoodPantries.org

Local organizations, like schools, churches, homeless shelters, police and fire stations will also often accept leftover candy. Those interested in donating candy should call ahead to confirm. 

Lastly, you can always bring the extra holiday candy into the workplace. Your co-workers will thank you (or complain about not being able to stop eating it). 

Get creative in the kitchen

If you want to keep your candy, another thing families can do with leftover Halloween candy is turn it into desserts.

Mix up the classic chocolate chip cookies by adding chopped-up candy bars, M&Ms, or anything else from trick-or-treat night. You could also do this with Rice Krispies Treats, adding fun Halloween candy flavors. 

One recipe uses leftover Halloween candy on popcorn for a delicious sweet and salty snack. 

LifestyleHolidaysViralU.S.HolidaysNews