Keep roasted coffee beans in airtight containers. Store them away from light, heat, and moisture. Mason jars or coffee storage canisters are good choices.