Riboswitches are structured domains that usually reside in the non-coding regions of mRNAs, where they bind metabolites and control gene expression. Like their protein counterparts, these RNA gene control elements form highly specific binding pockets for the target metabolite and undergo allosteric changes in structure. Numerous classes of riboswitches are present in bacteria and they comprise a common and robust metabolite-sensing system.