I'm not sure how long it lasts in an airtight container. I don't use it that often, so I take some out of the box (about 3 cups or so) put in an airtight container and then freeze the rest until I need to fill up my container again. That way I always have fresh when I need it. Hope this helps.