Question: how long can you keep cooked onions?
Answer: Cooked onions can be stored in the fridge for three to five days. Simply place them in an airtight container or resealable bag within a few hours of cooking. If left outside for long periods, they may harbor bacteria. Better yet, cooked onions can be stored in the freezer for up to three months.