To preserve your beans’ fresh roasted flavor it is necessary to store them in an opaque, air-tight container at room temperature.
The main thing to understand is that you want to keep air, moisture, heat, and light away from them.
Leaving them in the bag once it is open is not the best option.
You may ask, what about the freezer or refrigerator?
This is a popular method of storing beans, but rarely is the container truly airtight which results in moisture, and very possibly the absorption of odors from other things in your fridge or freezer.
There are several containers on the market where you can “pump” the air out so it is actually airtight. Ideally, this container would also be opaque. If it is not keeping it in a closed cabinet will help.
There is a range of containers on the market from $15 to $30. If you are truly interested in freshness they are well worth the investment.