Star anise should be stored in an airtight container in a cool, dry place, away from direct sunlight. It can be stored for up to two years if properly stored.