refrigerate caramelized onions in a tightly covered container for up to 1 week. freeze caramelized onions in a freezer safe zip top bag or a freezer safe container for up to 3 months.