Rice is one of the most dependable foods in any pantry, and plenty of people keep a big bag for months or even years. But not all rice lasts the same amount of time, and cooked rice is a completely different story. Here is how long each type really lasts and how to tell when it is time to throw it out.
Quick answer: Uncooked white rice lasts almost indefinitely (at least 2 years for best quality, and much longer if sealed airtight), but brown rice lasts only about 6 months in the pantry because its natural oils go rancid. Cooked rice lasts 3 to 4 days in the fridge and about 6 months in the freezer.
Does Rice Go Bad? Shelf Life Chart
| Type of rice | Pantry | Refrigerator | Freezer |
|---|---|---|---|
| White rice (dry): long-grain, jasmine, basmati, arborio | 2 years+ (practically indefinite) | — | — |
| Brown rice (dry) | About 6 months | 6–12 months | 12–18 months |
| Wild rice (dry) | Several years | — | — |
| Instant / parboiled rice (dry) | 1–2 years | — | — |
| Cooked rice (any kind) | 2 hours max | 3–4 days | About 6 months |

Why White Rice Lasts Longer Than Brown Rice
Brown rice still has its bran and germ layers, which contain healthy oils. Over time those oils react with oxygen and turn rancid, giving the rice a stale, sour, or oily smell. White rice has had the bran and germ removed, so it is mostly dry starch with very little fat. That makes it extremely stable. Stored in a sealed, oxygen-free container in a cool place, white rice can last for decades, which is why it is a staple in emergency food kits.
How to Tell If Uncooked Rice Has Gone Bad
- Bugs: Weevils, beetles, or small moths are the most common problem. Look for tiny holes in grains, webbing, or live insects.
- Mold: Any fuzzy spots, discoloration, or a musty smell means moisture got in.
- Rancid smell (brown rice): An oily, sour, or paint-like odor means the oils have spoiled.
- Unusual color or texture: Dark, damp, or sticky grains should be discarded.
How to Tell If Cooked Rice Has Gone Bad
Throw cooked rice away if it smells sour or unusual, feels slimy, has hard and dried-out patches with off odors, shows mold, or has been refrigerated for more than 4 days. Do not rely on smell alone, though, because the main bacteria of concern in rice does not always change how it looks or smells.
The Real Risk: Leftover Rice and Bacillus cereus
Uncooked rice can contain spores of a bacterium called Bacillus cereus. Cooking does not always kill these spores. If cooked rice sits at room temperature, the spores can grow and produce toxins that cause vomiting or diarrhea, and reheating will not destroy those toxins. This is sometimes called “fried rice syndrome.”
To stay safe:
- Cool rice quickly. Spread it in a shallow container and refrigerate within 1 hour if you can, and never later than 2 hours after cooking.
- Keep the fridge at 40°F or below.
- Eat leftovers within 3–4 days, or freeze them.
- Reheat until steaming hot (165°F) all the way through.
- Reheat only once. Take out just the portion you plan to eat.
How to Store Rice the Right Way

- Uncooked white rice: Move it from the bag to an airtight glass, plastic, or metal container and keep it in a cool, dry pantry. For long-term storage, use Mylar bags with oxygen absorbers or food-safe buckets.
- Uncooked brown rice: Store in an airtight container in the fridge or freezer if you will not use it within a few months.
- Freeze new rice for a few days to kill any insect eggs before storing it long term (optional but helpful).
- Cooked rice: Refrigerate in a shallow, sealed container. To freeze, pack portions flat in freezer bags so they thaw and reheat quickly.
Many pantry staples follow similar rules. Sugar keeps forever when dry, while chia seeds and brown rice share the same problem with rancid oils.
Can You Eat Expired Rice?
If dry white rice is past its best-by date but has been stored well, with no bugs, mold, or strange smell, it is safe to cook and eat. It may be slightly drier, so you might need a splash of extra water. Brown rice that smells rancid should be thrown out, since it will taste bad even if it will not make you sick.
Planning meals around pantry staples? Rice and potatoes are two of the cheapest, longest-lasting sides you can keep on hand.
Frequently Asked Questions
How long does uncooked rice last?
Uncooked white rice lasts at least 2 years in the pantry and practically indefinitely in an airtight, cool, dry container. Uncooked brown rice lasts about 6 months in the pantry, or up to 12–18 months in the freezer.
How long is cooked rice good for in the fridge?
Cooked rice is good for 3 to 4 days in the fridge if it was cooled and refrigerated within 2 hours of cooking.
Can you eat rice left out overnight?
It is not recommended. Rice left at room temperature for more than 2 hours can grow Bacillus cereus bacteria, which make toxins that reheating does not destroy.
Can you freeze cooked rice?
Yes. Cooked rice freezes well for about 6 months. Freeze it in flat portions, then reheat until steaming hot.
Why does my rice have bugs?
Rice weevils and pantry moths can enter through tiny gaps in bags, or their eggs may already be in the grain. Store rice in airtight containers and freeze new bags for a few days to prevent infestations.