can coffee grounds go bad?
If taste is your concern, your best bet is to store coffee in an airtight container somewhere cool, dry, and dark. Stored this way, ground coffee can be used for a few months past its expiration date, whole bean for up to nine months, and instant coffee for up to twenty years.