Store coffee beans away from heat, moisture, air, and light. Use an airtight container like a glass jar and place them in the pantry or cupboard where they won’t be exposed to sunlight, humidity, or air. Avoid the freezer as it can affect flavor.