Nucleic acid sensing by innate receptors initiates immune defences against viruses and other pathogens. A hallmark of this response is the release of interferons (IFNs), which promote protective immunity by inducing IFN-stimulated genes (ISGs). A similar ISG signature is found in autoinflammatory and autoimmune conditions, indicating that chronic activation of nucleic acid-sensing pathways may contribute to these diseases. Here, we review how nucleic acid-sensing pathways are currently being targeted pharmacologically with both agonists and antagonists. We discuss how an improved understanding of the biology of these pathways is leading to novel therapies for infections, cancer, and autoimmune and autoinflammatory disorders, and how new therapeutics will, in turn, generate a deeper understanding of these complex diseases.