Its shelf life varies, depending on your preferred storage method and whether it's pasteurized or unpasteurized. When unopened, either version of store-bought sauerkraut lasts until its best-by date.