Pickled onions will last up to two weeks in the refrigerator. For most other vegetables, they will last up to 2 months if refrigerated.