You can store coffee in a mason jar. However, the main thing to remember when it comes to a coffee canister is that you need an airtight container. Mason jars tend to be used for storing jams, which also need an airtight container for freshness. However, to make sure your coffee stays fresh for long, purchasing a specially-designed coffee storage container always makes the most sense.