Barkley and colleagues conducted single-cell RNA sequencing of almost 20,000 malignant cells and identified cancer cell states that are both common and different across tumour types, and revealed how these states interact with the tumour microenvironment.