Heavy metal pollution has become more and more serious with industrial development and resource exploitation. Because heavy metal ions are difficult to be biodegraded, they accumulate in the human body and cause serious threat to human health. However, the conventional methods to detect heavy metal ions are more strictly to the requirements by detection equipment, sample pretreatment, experimental environment, etc. Aptasensor has the advantages of strong specificity, high sensitivity and simple preparation to detect small molecules, which provides a new direction platform in the detection of heavy metal ions. This paper reviews the selection of aptamers as target for heavy metal ions since the 21th century and aptasensors application for detection of heavy metal ions that were reported in the past five years. Firstly, the selection methods for aptamers with high specificity and high affinity are introduced. Construction methods and research progress on sensor based aptamers as recognition element are also introduced systematically. Finally, the challenges and future opportunities of aptasensors in detecting heavy metal ions are discussed.