The effects of magnesium ions on a 32-mer ribozyme (R32) were examined by high resolution NMR spectroscopy. In solution, R32 (without its substrate) consisted of a GAAA loop, stem II, a non-Watson-Crick 3-base pair duplex and a 4-base pair duplex that included a wobble G:U base pair. When an uncleavable substrate RNA (RdC11) was added to R32 without Mg2+ ions, a complex did not form between R32 and RdC11 because the substrate recognition regions of R32 formed intramolecular base pairs (the recognition arms were closed). By contrast, in the presence of Mg2+ ions, the R32-RdC11 complex was formed. Moreover, titration of mixtures of R32 and RdC11 with Mg2+ ions also induced the ribozyme-substrate interaction. Elevated concentrations (1.0 M) of monovalent Na+ ions could not induce the formation of the R32-RdC11 complex. These data suggest that Mg2+ ions are not only important as the true catalysts in the function of ribozyme-type metalloenzymes, but they also induce the structural change in the R32 hammerhead ribozyme that is necessary for establishment of the active form of the ribozyme-substrate complex.