The stem-loop II motif (s2m) is an RNA element present in viruses from divergent viral families, including astroviruses and coronaviruses, but its functional significance is unknown. We created deletions or substitutions of the s2m in astrovirus VA1 (VA1), classic human astrovirus 1 (HAstV1) and severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2). For VA1, recombinant virus could not be rescued upon partial deletion of the s2m or substitutions of G-C base pairs. Compensatory substitutions that restored the G-C base-pair enabled recovery of VA1. For HAstV1, a partial deletion of the s2m resulted in decreased viral titers compared to wild-type virus, and reduced activity in a replicon system. In contrast, deletion or mutation of the SARS-CoV-2 s2m had no effect on the ability to rescue the virus, growth in vitro, or growth in Syrian hamsters. Our study demonstrates the importance of the s2m is virus-dependent.