DNA sequences that undergo large changes in secondary structure upon binding of small molecules are the basis for molecular switches. Here we report a Zn(2+) complex that promotes the conversion of a fully complementary DNA double helix into DNA hairpins. The conformational switch is promoted by an isolated Zn(2+) complex or by free ZnCl2 and a macrocyclic ligand. The switch is selective for Zn(2+) over biologically relevant transition-metal ions including Cu(2+) and Fe(2+). The dual ligand/DNA switch is an approach that may improve the selectivity for metal-ion-sensing applications.