Per FoodSafety.gov, leftover rice can be stored in the refrigerator and safely eaten four to six days after being cooked or purchased. However, if you're unsure, you can always perform a sniff test, spoiled rice will have a smell and it can become slimy or discolored, or even moldy when it goes really bad. The best rule of thumb though is “When in doubt, throw it out”.