Yes, ketchup can go bad. If unopened, commercial ketchup “can last for up to a year in your pantry,” says Okegbe, but once opened and refrigerated, it should ideally be consumed within six months. If left in the pantry once opened, use up the ketchup within a month to be safe.