The common elements that damage cooking oils are heat, oxygen and light. Storing cooking oils in a cool, dry, dark place will help prevent them from getting rancid and oxidize.
A helpful hint is to purchase cooking oils and fats in smaller containers. There is a higher probability of the oils and fats becoming rancid and oxidized when buying them in bulk.
Caring for Your Cooking Oils