how long can you keep cooked rice unrefrigerated?
When the cooked rice isn't handled, cooled, stored, or reheated properly, the bacteria can cause food poisoning. So, if you left cooked rice sitting at room temperature for more than two hours before stashing it in the fridge, it might be better to cut your losses and toss it in the compost or trash.