Leeks will last up to two weeks in the refrigerator if they are purchased fresh. Once cooked, leeks can be kept in the refrigerator and used within two days.