Batteries are unsung heroes. While we turn to them to power everything from flashlights to remote controls to cars, we think about them only when they need to be replaced.

If you have batteries that you’re not using, you want to make sure that you know where they are and that they’re in good working condition once you need them.

In order to store your batteries correctly, you should keep them in their original packaging, or place them in a plastic container – NEVER store batteries inside equipment. Keep batteries in a cool location with low humidity and make sure they are aligned in the same direction. If possible, use plastic caps to prevent corrosion. Lastly, be sure to separate old and new batteries from each other.

Keep reading for more tips for storing batteries.

Battery recycling concept. Green energy, Background from battari

Remove Batteries From Equipment.

Any battery-operated item you’re placing in self-storage likely won’t be used for a while. Your batteries stand a better chance of lasting longer if you take them out and store them separately.

Keep the Temperature Down.

“Batteries are like milk—they go bad,” says Leslie Ellis, website manager for Ellis Battery, based in Fredericktown, MO.

If you want a long life for your batteries, avoid extreme heat. If putting in a store unit, opt for a climate-controlled facility.

However, while you may have heard that the best place to store batteries is in the refrigerator or freezer, that’s actually not the case. Not only can condensation from the refrigerator damage batteries, but prolonged exposure to extreme cold also can reduce battery life, according to battery manufacturer Duracell.

Make Sure Batteries Are Contained.

To avoid leaking or rupturing, be sure your batteries don’t come into contact with metal objects. One of the best ways to prevent that from happening is to store them in the original packaging “so they’re buffered and protected,” said Brett Brenner, president of the Electrical Safety Foundation International, which promotes electrical safety in homes and workplaces.

Tie Up Lose Batteries.

If you don’t have the original packaging, bunch together your batteries with a rubber band. However, pay attention to the cathodes and anodes, which are the positive and negative sides at each end of the battery. When keeping loose batteries together, make sure all of the positive ends are going in the same direction.

Separate Old and New Batteries.

If you mix old and new batteries in a device, you could end up with battery leakage or device damage, Duracell warns. To avoid this, store old and new batteries separately.

Know the Rules for Rechargeable Batteries.

There are two types of batteries: those you use once and throw away, and those you can recharge. Rechargeable batteries should be stored at a 40 percent charge, allowing the battery to gradually “discharge.”

Take Valuables Into Account.

Some batteries can harm other items you’re storing. For example, car batteries can leak acid, possibly damaging your grandma’s old rocking chair or your high school letter jacket, according to Ellis. For that reason, make sure batteries are kept away from valuables.

Post updated by SpareFoot, 1/30/2017.