White rice, when stored properly in the refrigerator, can remain safe to eat for about 4 to 6 days. It's essential to refrigerate cooked rice promptly after it has cooled down to room temperature to prevent the growth of harmful bacteria.
If you want to extend its shelf life, you can also consider freezing the rice. When stored in an airtight container or freezer bag, cooked white rice can last for 6 to 12 months in the freezer. Just ensure it is thawed and reheated thoroughly before consuming.
Remember that these timeframes are general guidelines, and factors like the temperature of your refrigerator, the freshness of the rice before cooking, and the cleanliness of your cooking utensils can also influence how long the rice stays good. If you notice any unusual smell, appearance, or texture changes, it's best to discard the rice to avoid any potential foodborne illnesses.