Here the authors determine the first structure of the human TREX1–DNA complex, and provide a new foundation to explain how patient TREX1 mutations cause autoimmune disease. This evidence concerns the gene TREX1 and autoimmune disease.