Store poppy seeds in an airtight container in the fridge for up to a year if kept in a sealed container. If the poppy seeds become damp from exposure to the air, they will mold quite quickly. So, buying just enough for cooking/baking or keeping them sealed and refrigerated until use is better.