Green beans are best for storage. roasted and ground. Is the most volatile form, and isn't good for storage beyond a few days. Use an air-tight and light-proof container. Don't bother trying to freeze ground coffee. With all that extra surface area, it's going to go stale anyway.