Coffee Bean Storage

Help! I store coffee beans in the freezer and grind them as needed. Recently, I've heard that coffee beans should be stored in the cupboard or pantry. Wouldn't the beans become rancid in a short period of time? I would appreciate any advice you may have. —J.M., Lady Lake, Florida

Since coffee quickly loses flavor when exposed to air, it is best to store coffee beans or ground coffee in an airtight container. Store at room temperature in a cool dark place—a cupboard or pantry is ideal. Coffee beans will remain fresh for up to 2 weeks, and ground coffee will remain fresh for about a week. If longer storage is necessary, freeze whole coffee beans in an airtight container for up to 3 months and ground coffee for up to 2 weeks. Storing coffee beans in the refrigerator is not recommended because they are more likely to absorb food odors.