Engineered aptamers for new compounds are typically produced by using in vitro selection methods. However, aptamers that are developed in vitro might not function as expected when introduced into complex cellular environments. One approach that addresses this concern is the design of initial RNA pools for selection that contain structural scaffolds from naturally occurring riboswitch aptamers. Here, we provide guidance on design and experimental principles for developing riboswitch-inspired aptamers for new ligands. The in vitro selection protocol (based on Capture-SELEX) is generalizable to diverse RNA scaffold types and amenable to multiplexing of ligand candidates. We discuss strategies to avoid propagation of selfish sequences that can easily dominate the selection. We also detail the identification of aptamer candidates using next-generation sequencing and bioinformatics, and subsequent biochemical validation of aptamer candidates. Finally, we describe functional testing of aptamer candidates in bacterial cell culture.Key featuresDevelop riboswitch-inspired aptamers for new ligands using in vitro selection.Ligand candidates can be multiplexed to conserve time and resources.Test aptamer candidates in bacterial cells by grafting the aptamer back onto its expression platform.