Coffee keeps better in the fridge
Get your coffee out of the refrigerator or freezer. Keeping your coffee cold won't make it last longer. Instead, it can create condensation and that moisture can affect your coffee's taste. The National Coffee Association says the best way to store coffee is in an airtight glass or ceramic container, somewhere dark and cool. A cabinet near your stove or oven is usually too warm.
However, one study found that colder beans make for smaller, more evenly sized particles, which leads to more flavor when the beans are ground. You can put your beans in the freezer, but be sure to keep them sealed air tight to avoid problems with moisture.