To store any leftover caramelized onions, store in an airtight container in the refrigerator for up to one week. You can also freeze them for up to 2 months! For convenience, store them in ice cube trays or in separate individual baggies so you can use individual portions at a time without thawing all of the onions!