According to StillTasty, the best way to store cooked rice in the refrigerator is by placing it in an airtight container with a lid. Typically, refrigerated rice lasts 4 to 6 days when stored properly.
Before placing rice in the refrigerator, allow it to cool. However, do not leave cooked rice out for more than 2 hours, as rice tends to rapidly grow bacteria when left out for longer. Freezing is another storage option for rice. Place cooked rice in a heavy-duty freezer bag or freezer-safe container, and store it in the freezer. Cooked rice generally lasts around 6 months in the freezer.