basically, homemade pickled onions will last about 2-4 weeks in the fridge, while store-bought ones can last 2-3 months after opening. always make sure to check your expiration dates on store-bought food. and if there's any mold, throw the whole jar away.