Non-tuberculous mycobacteria cause a broad range of clinical disorders, from cutaneous infections, such as cervical or intrathoracic lymphadenitis in children, to disseminated infections at all ages. Recognition of the underlying immune defect is crucial for rational treatment, preventive care, family screening, and, in some cases, transplantation. So far, at least seven autosomal mutations (in IL12B, IL12RB1, ISG15, IFNGR1, IFNGR2, STAT1, and IRF8) and two X-linked mutations (in IKBKG and CYBB), mostly presenting in childhood, have been reported to confer susceptibility to disseminated non-tuberculous mycobacterial infection. GATA2 defi ciency and antiinterferon γ autoantibodies also give rise to disseminated infection, typically in late childhood or adulthood. Furthermore, isolated pulmonary non-tuberculous mycobacterial infection has been increasing in prevalence in people without recognised immune dysfunction. In this Review, we discuss how to detect and diff erentiate host susceptibility factors underlying localised and systemic non-tuberculous mycobacterial infections.