Let’s start with coffee beans. Roasted whole coffee beans stay fresh for up to 3-4 weeks from roasting if stored in an air-tight bag. Technically the beans don’t expire if store l like this, but they lose potency as all the aromatics and compounds that are volatile evaporate. consume your coffee beans within a month of roasting. You can even have it 3-4 months after roasting.