Detection of heavy metal contamination in the environment is an on‐going analytical challenge. In effort of developing portable biosensors, deoxyribonucleic acid (DNA)‐based designs have gained much attention for their high affinity and specificity to metals, stability, cost‐efficiency, ease of modification, and batch‐to‐batch reproducibility. Specific sequences of DNA aptamers and DNAzymes provide grounds for rational designs of fluorescent, colorimetric, and electrochemical detection methods. Aptamers exert only a binding function, while DNAzymes can use heavy metals to catalyze specific chemical and biological transformations. This article starts with a brief introduction of heavy metals and their interactions with DNA. Then DNA aptamers and DNAzymes are respectively reviewed from their in vitro selection, representative DNA sequences, and design of biosensors. For signal transduction, various fluorescent, colorimetric, and electrochemical examples are described. Finally, future perspectives are discussed.