Rice grains in a salt shaker act as a simple moisture absorber, soaking up humidity inside the container so the salt stays dry and flows freely. It’s a low-tech trick that’s been used in restaurants and home kitchens for generations, and it works because of a straightforward bit of chemistry: salt attracts water from the air, and rice gets to it first.
Why Salt Clumps in the First Place
Table salt (sodium chloride) is hygroscopic, meaning it pulls moisture from the surrounding air. The critical threshold is around 75% relative humidity at room temperature. Below that level, salt crystals stay dry and separate. Above it, something called deliquescence kicks in: the surface of each crystal starts dissolving into a thin film of salty water. That liquid forms tiny bridges between neighboring grains, and as the moisture eventually evaporates, those bridges solidify into hard clumps.
You don’t need to hit 75% humidity for problems to start, though. Even at lower humidity levels, water can condense in the microscopic gaps where salt crystals touch each other. This capillary condensation is more pronounced with finer grains because smaller particles have more contact points relative to their size. That’s why fine table salt clumps more stubbornly than coarse sea salt or kosher salt. Larger particles flow more easily and absorb less moisture overall.
How Rice Absorbs Moisture
Uncooked rice grains are starchy, porous, and naturally good at trapping water vapor. When you drop a few grains into a salt shaker, the rice competes with the salt for any humidity that sneaks inside. Because the rice kernels are porous and have a large internal surface area, they absorb ambient moisture before it has a chance to coat the salt crystals and form those sticky liquid bridges. The rice essentially acts as a sacrificial sponge.
The standard recommendation is about a teaspoon of dry rice in a standard salt shaker. Long-grain rice works best because the grains are large enough that they won’t fall through the shaker holes when you pour. The rice won’t prevent clumping forever, since it eventually saturates, but in a typical kitchen it lasts weeks or months before needing to be swapped out.
Why Commercial Salt Already Has Anti-Caking Agents
If you check the label on most store-bought table salt, you’ll see an ingredient like calcium silicate, sodium ferrocyanide (sometimes listed as yellow prussiate of soda), or iron ammonium citrate. These are industrial anti-caking agents that do the same job as rice but far more efficiently at a microscopic scale. Calcium silicate, for instance, can absorb up to 2.5 times its own weight in liquid while still remaining a free-flowing powder.
U.S. food regulations cap these additives at tiny concentrations. Yellow prussiate of soda is limited to 13 parts per million, and iron ammonium citrate to 25 parts per million. At those levels, you can’t taste or see them, but they coat each salt crystal just enough to block moisture from forming bridges between grains. If your salt already contains these additives, rice in the shaker is redundant. It still works as extra insurance in very humid climates, but it’s not strictly necessary.
Where rice really earns its place is with salts that skip the additives: kosher salt, sea salt, Himalayan pink salt, or any “natural” salt that lists only sodium chloride on the label. These products have no built-in moisture protection, so a few grains of rice can make a noticeable difference.
Is Rice in the Salt Shaker Safe?
Raw rice commonly carries spores of Bacillus cereus, a bacterium that can cause food poisoning. That sounds alarming, but context matters. B. cereus spores survive on dry rice for long periods (at least 48 weeks in storage studies), yet the bacteria need a water activity of at least 0.91 to grow. Inside a salt shaker, the environment is extremely dry, and the salt itself further lowers water activity. The spores sit dormant. There’s no meaningful risk from a few grains of rice in dry salt, and the rice never touches your food in any significant quantity.
The risk with B. cereus comes from cooked rice that’s been left at room temperature, where high moisture and available starch let the bacteria multiply rapidly. That’s a different scenario entirely from dry grains sealed inside a shaker.
Other Ways to Keep Salt Flowing
Rice is the most common trick, but it’s not the only option. Whole coffee beans absorb moisture effectively and are large enough to stay out of the shaker holes. They can add a faint aroma, though they typically don’t affect the salt’s taste. Dried kidney beans work the same way with no scent at all. Whole cloves and dried parsley also absorb moisture, though both will impart some flavor to the salt over time.
Soda crackers are a short-term fix. You bury a cracker in the salt and replace it every 10 to 15 days as it saturates. It works, but it’s more maintenance than most people want.
Beyond what you put inside the shaker, storage matters. Keeping salt in an airtight container rather than an open dish dramatically reduces moisture exposure. If you live somewhere humid, storing the salt shaker away from the stove (where steam spikes humidity) helps too. And choosing coarser salt over fine-ground gives you a natural advantage, since larger crystals have fewer contact points and resist clumping on their own.

