Metal-organic frameworks (MOFs), as a class of crystalline organic-inorganic hybrid materials, have demonstrated excellent performance in many fields, resulting in attracting more and more attention. Recently, MOFs have been widely used as functional materials to immobilize aptamers via various interaction forces. The MOF-based aptasensors exhibit outstanding sensing performance, including high sensitivity, excellent selectivity, and good designability, by utilizing the advantages of MOFs and aptamers. Developing MOF-based aptasensors is gradually becoming one of the important research hotspots. Herein, a comprehensive review of aptasensors based on MOFs is provided to summarize recent advancements in this field. Some representative examples are discussed in detail. Furthermore, opportunities and challenges in this field are proposed in this review.