Coffee tastes the best when it’s made from freshly roasted beans, but of course we can’t all go out to get a fresh batch of roasted coffee beans every morning. Here are some tips on how to store your coffee beans and keep their flavor fresh. Containers for Storing Coffee When you first get your coffee beans, it usually comes in an opaque, vacuum-sealed bag that keeps out air and moisture. To store coffee, get a container with a tight lid that can keep out both water and air. This will keep your coffee fresh for a longer time.