Boiled yam should not be stored at room temperature overnight due to the risk of bacterial growth. It's best to refrigerate it promptly after cooking.
Cooked yam, like many cooked foods, provides a favorable environment for bacteria to multiply at room temperature. The 'danger zone' for bacterial growth is between 40°F (4°C) and 140°F (60°C). Leaving boiled yam at room temperature for more than two hours allows bacteria to proliferate, potentially leading to foodborne illness. To safely store boiled yam, allow it to cool slightly, then refrigerate it in an airtight container as soon as possible. Properly refrigerated boiled yam can typically be stored for 3-4 days. When reheating, ensure it reaches an internal temperature of 165°F (74°C) to kill any bacteria that may have grown during storage.
To cool boiled yam quickly before refrigerating, spread it out in a shallow container. This increases the surface area and allows heat to dissipate faster, minimizing the time it spends in the temperature danger zone.