In the post-genomic era, many genes and regulatory elements remain uncharacterized, including riboswitches — RNA structures that control gene expression by directly binding metabolites. Here, a new type of metal-responsive riboswitch that senses sodium cations expands the bacterial Na+ metabolic repertoire.