As one kind of the most important biomolecules, enzymes participate in nearly all biochemical reactions. Dysregulation of enzymes' spatial distributions and activities is often associated with many diseases. In situ imaging of enzymatic activity at the subcellular level is extremely challenging due to the lack of spatiotemporal precision of sensor probes. In this concept, we introduce several recent works in which DNA-based biosensors with controllable localization ability were constructed for imaging of specific enzymatic activities and dynamics in a subcellular compartment of interest. These DNA-based biosensors are classified into two types, in which DNA molecules serve as a subcellular targeting scaffold and an enzyme responsive sensing unit, respectively. We highlight the working principles of these DNA-based biosensors and briefly introduce their biological applications. Finally, we discuss current limitations and future opportunities in this emerging field.