We investigate experimentally a Casimir-like effect in a three-dimensional pile of rice, which has a power-law avalanche size distribution. We observe the change in distance between two Plexiglas sheets placed on the pile parallel to each other and parallel to the mean avalanche flow direction, while rice grains are continuously and uniformly falling on top of the pile. The resulting avalanches are fluctuations, confinement of which is found to drive the two plates together. During 25-h experimental runs, for initial intersheet distances ranging from 20.0 to 90.0 mm we observe changes in the range from 6.0 mm to less than 1.0 mm. A similar distance dependence is obtained from a simple analytical model. © 2010 The American Physical Society.