Refried beans need to be stored in an airtight container. Allow the beans to cool before putting the lid on or putting them in the refrigerator. If you put them in too hot, condensation can form and alter the consistency of the beans.