DNA is a type of biomacromolecule that can be modified and designed through enzymatic or chemical techniques, and it serves as both a biological reactive entity and a polymer. In recent years, with the rapid development of chemistry, material science, and nanotechnology, researchers began to look at the DNA molecule from another perspective. The exceptional ability of DNA-based materials for selective recognition and structural design has attracted much attention. With the development of nanotechnology, there is an urgent need for smart hydrogel materials with excellent biocompatibility. Among many nanomaterials, DNA is considered to be an excellent smart material, which can spontaneously self-assemble into a precise and ordered structure under optimal conditions. Chemical bonding between DNA molecules or physical entanglement between DNA strands can be prepared from DNA-based smart hydrogels. Compared with traditional hydrogels, DNA-based hydrogels have the characteristics of functional DNA molecular programming and high-precision assembly, multifunctionality, and excellent biocompatibility and retain the excellent mechanical properties and physical properties of hydrogels. It has attracted increasing research interest in various fields, especially in biosensing and biomedical applications. In this review, we highlight the advances in DNA-based hydrogels for bioanalysis and therapeutics. We first summarize the construction methods and basic properties of DNA-based pure and hybrid hydrogels and discuss their research progress and biological applications. Subsequently, the practical applications of various types of DNA-based hydrogels in the fields of bioanalysis and drug delivery are described through some selected examples. Finally, the remaining challenges and prospects of DNA-based hydrogels are discussed in depth.