it's best not to freeze or refrigerate coffee beans you're going to use in the next few weeks because that can expose them to dampness and smells from other foods. instead, store coffee beans in an opaque, airtight container and keep it in a dark, cool location, away from the stove or other heat sources.