Store coffee beans in an airtight container away from light, heat, and moisture. Keep them at room temperature, preferably in a dark cabinet or pantry.