The transcription factor early growth response protein (EGR)1 orchestrates a plethora of signaling cascades involved in cellular homeostasis, and its downregulation has been implicated in the development of prostate cancer. Herein, using a battery of biophysical tools, we show that the binding of EGR1 to DNA is tightly regulated by solution pH. Importantly, the binding affinity undergoes an enhancement of more than an order of magnitude with an increase in pH from 5 to 8, implying that the deprotonation of an ionizable residue accounts for such behavior. This ionizable residue is identified as His382 by virtue of the fact that its replacement by nonionizable residues abolishes the pH dependence of the binding of EGR1 to DNA. Notably, His382 inserts into the major groove of DNA, and stabilizes the EGR1–DNA interaction via both hydrogen bonding and van der Waals contacts. Remarkably, His382 is mainly conserved across other members of the EGR family, implying that histidine protonation–deprotonation may serve as a molecular switch for modulating the protein–DNA interactions that are central to this family of transcription factors. Collectively, our findings reveal an unexpected but a key step in the molecular recognition of the EGR family of transcription factors, and suggest that they may act as sensors of pH within the intracellular environment.