Stem-loop (source code)

= Stem-loop
{wiki}

A <stem-loop> is a nucleic-acid secondary structure in which complementary regions of one strand pair to form a stem, joined by an unpaired loop. RNA commonly forms such structures, and single-stranded DNA can do so as well.

The stem's base pairs and the loop's sequence and length influence stability and recognition. A stem-loop is therefore a local structural motif rather than a claim that an entire RNA molecule has one simple hairpin shape.