hERG potassium channels are essential for normal electrical activity in the heart. Inherited mutations in the HERG gene cause long QT syndrome, a disorder that predisposes individuals to life-threatening arrhythmias. Arrhythmia can also be induced by a blockage of hERG channels by a surprisingly diverse group of drugs. This side effect is a common reason for drug failure in preclinical safety trials. Insights gained from the crystal structures of other potassium channels have helped our understanding of the block of hERG channels and the mechanisms of gating.