To preserve the freshness and quality of rice, store it in an airtight container in a cool, dry place away from direct sunlight. Uncooked white rice can last for several years when stored properly, while whole grain rice varieties, like brown rice, have a shorter shelf life of about 6 months to a year.