The HERG voltage-dependent K+ channel plays a role in cardiac electrical excitability, and when defective, it underlies one form of the long QT syndrome. We have determined the crystal structure of the HERG K+ channel N-terminal domain and studied its role as a modifier of gating using electrophysiological methods. The domain is similar in structure to a bacterial light sensor photoactive yellow protein and provides the first three-dimensional model of a eukaryotic PAS domain. Scanning mutagenesis of the domain surface has allowed the identification of a hydrophobic "hot spot" forming a putative interface with the body of the K+ channel to which it tightly binds. The presence of the domain attached to the channel slows the rate of deactivation. Given the roles of PAS domains in biology, we propose that the HERG N-terminal domain has a regulatory function.