Trastuzumab deruxtecan showed anti-tumour activity and durable responses in heavily pretreated patients across multiple tumour types with activating HER2 mutations, with no new safety signals. Prespecified HER2 mutations might be targeted by HER2-directed antibody–drug conjugates and our findings support further investigation of trastuzumab deruxtecan in the pan-tumour setting.