Once rice is cooked, it should be eaten within a few hours. If you plan to keep it longer, transfer it to a sealed container and store it in the refrigerator. Once refrigerated, the starch tends to retrograde and get hard over time, but this can be reversed by reheating the rice. Refrigerated rice should keep for up to 3 days. If you plan to store rice for longer, I recommend storing it in the freezer.