Coffee beans stored in sealed containers can last up to 9 months (although we don't recommend pushing it), while coffee grounds can last for months.