Molecular valves are nanostructured materials that are becoming popular, due to their potential use in bio-medical applications. However, little is known concerning their performance when dealing with small molecules, which are of interest in energy and environmental areas. It has been observed experimentally that zeolite RHO shows unique pore deformations upon changes in hydration, cation siting, cation type, and/or temperature-pressure conditions. By varying the level of distortion of double 8-rings it is possible to control the adsorption properties, which confers a molecular valve behavior to this material. We have employed interatomic potentials-based simulations to obtain a detailed atomistic view of the structural distortion mechanisms of zeolite RHO, in contrast with the averaged and space group restricted information that can be retrieved from diffraction studies. We have modeled the pure silica zeolite RHO as well as four aluminosilicate structures, containing Li + , Na + , K + , Ca 2+ and Sr 2+ cations. It has been found that the distortions of the three zeolite rings are coupled, although the four-membered rings are rather rigid and both six-and eight-membered rings are largely flexible. A large dependence on the polarizing power of the extra-framework cations and with the loading of water has been found for the minimum aperture of the eight-membered rings that control the nanovalve effect. The energy barriers needed to move the cations across the eightmembered rings are calculated to be very high, which explains the origin of the experimentally observed slow kinetics of the phase transition, as well as the appearance of metastable phases.