How long do coffee beans last?
Properly stored, coffee beans keep fresh for one to two months after roasting. Most often it is stored in bags, jars or plastic containers.
Ziplock bags with a degassing valve are best for storage. They are opaque, protected from moisture and air, and the valve allows you to remove carbon dioxide, which is released by freshly roasted grains.
In second place are ceramic and glass jars with airtight lids. Their advantage is that they, like bags, protect the coffee from moisture and foreign odors. The disadvantage is that there will always be air inside - this means that oxidative processes will continue in the jar and the coffee will lose its freshness.