Both spliceosomal and self-splicing group II introns require the function of similar small, metal binding RNA stem-loop elements located in U6 or U6atac snRNAs of the spliceosome or domain 5 (D5) of group II introns. Here we report that two different D5 elements can functionally replace the U6atac snRNA stem-loop in an in vivo splicing assay. For efficient function in vivo, a single base pair from the upper helical section of the D5 sequence had to be removed. Introducing the equivalent base pair deletion into the D5 element of a group II intron reduced but did not eliminate self-splicing activity. Our results strengthen the case that these RNA elements play similar roles in the catalytic centers of both the spliceosome and a self-splicing ribozyme.