Next, we determined the structure of DruE, a large dimeric helicase–nuclease. The structure reveals an autoinhibited assembly, while biochemical reconstitution and phage assays show that DruE couples ATP-dependent DNA unwinding to nuclease-mediated DNA degradation both essential for immunity.