Ectopic lymphoid-like structures often develop at sites of inflammation where they influence the course of infection, autoimmune disease, cancer and transplant rejection. These lymphoid aggregates range from tight clusters of B cells and T cells to highly organized structures that comprise functional germinal centres. Although the mechanisms governing ectopic lymphoid neogenesis in human pathology remain poorly defined, the presence of ectopic lymphoid-like structures within inflamed tissues has been linked to both protective and deleterious outcomes in patients. In this Review, we discuss investigations in both experimental model systems and patient cohorts to provide a perspective on the formation and functions of ectopic lymphoid-like structures in human pathology, with particular reference to the clinical implications and the potential for therapeutic targeting.