The time an avocado can be left out before it needs to be refrigerated depends on its ripeness and the ambient temperature of the environment. Here are some general guidelines:
Unripe avocados: If the avocado is unripe and still firm, it can be left at room temperature for 2-7 days, depending on how unripe it is. The lower end of the range applies to avocados that are already starting to ripen, while the higher end is for very unripe ones.
Ripe avocados: Once an avocado is ripe and yields to gentle pressure, it should be refrigerated to extend its shelf life. At room temperature, a ripe avocado will generally last for 1-2 days before it becomes overripe and starts to spoil.
Cut avocados: If you've cut open an avocado and only used a portion of it, the remaining portion should be refrigerated immediately. When an avocado is cut, its exposure to air accelerates the ripening process and increases the risk of spoilage. To maximize its freshness, store the cut avocado in an airtight container or wrap it tightly with plastic wrap.
Remember that warmer temperatures will speed up the ripening process and spoilage, while cooler temperatures in the refrigerator will slow it down. If you're unsure about an avocado's freshness or whether it's safe to eat, check for any signs of mold, unusual odors, or changes in color and texture. When in doubt, it's better to discard it to avoid the risk of foodborne illnesses.