Riboswitches are RNA elements that bind specific metabolites in order to regulate the gene expression involved in controlling the cellular concentration of the respective molecule or ion. Ligand recognition is mostly facilitated by Mg(2+) mediated pre-organization of the riboswitch to an active tertiary fold. To predict these specific Mg(2+) induced tertiary interactions of the btuB riboswitch from E. coli, we here report Mg(2+) binding pockets in its aptameric part in both, the ligand-free and the ligand-bound form. An ensemble of weak and strong metal ion binding sites distributed over the entire aptamer was detected by terbium(III) cleavage assays, Tb(3+) being an established Mg(2+) mimic. Interestingly many of the M(n+) (n = 2 or 3) binding sites involve conserved bases within the class of coenzyme B12-binding riboswitches. Comparison with the published crystal structure of the coenzyme B12 riboswitch of S. thermophilum aided in identifying a common set of M(n+) binding sites that might be crucial for tertiary interactions involved in the organization of the aptamer. Our results suggest that M(n+) binding at strategic locations of the btuB riboswitch indeed facilitates the assembly of the binding pocket needed for ligand recognition. Binding of the specific ligand, coenzyme B12 (AdoCbl), to the btuB aptamer does however not lead to drastic alterations of these M(n+) binding cores, indicating the lack of a major rearrangement within the three-dimensional structure of the RNA. This finding is strengthened by Tb(3+) mediated footprints of the riboswitch's structure in its ligand-free and ligand-bound state indicating that AdoCbl indeed induces local changes rather than a global structural rearrangement.