As per official recommendation, you should only leave cooked rice at room temperature for two hours. If the temperature is over 32 degrees Celsius, it can sit out for only an hour.