Background: Sarcoma is a heterogeneous group of diseases with few treatment options. Immunotherapy has shown little activity in studies including unselected sarcomas, but immune checkpoint blockers have shown activity in specific histotypes. We evaluated the activity of pembrolizumab in rare and ultra-rare sarcomas., Methods: AcSé Pembrolizumab is an ongoing phase 2, basket, multitumour study investigating the activity of pembrolizumab monotherapy in rare cancers. Here, we report the results obtained in patients with selected histotypes of rare sarcomas (incidence of less than one case per 1 000 000 people per year) recruited at 24 French hospitals. Key inclusion criteria were age 15 years or older, Eastern Cooperative Oncology Group performance status of 0-1, and advanced disease that was untreated and resistant to treatment. Patients were given pembrolizumab 200 mg intravenously on day 1 of every 21-day cycle for a maximum of 24 months. The primary endpoint was objective response rate at week 12 using Response Evaluation Criteria in Solid Tumours version 1.1, assessed by local investigators. The primary endpoint and safety were analysed in the intention-to-treat population. The AcSé Pembrolizumab study is registered with ClinicalTrials.gov, NCT03012620., Findings: Between Sept 4, 2017, and Dec 29, 2020, 98 patients were enrolled, of whom 97 received treatment and were included in analyses (median age 51 years [IQR 35-65]; 53 [55%] were male; 44 [45%] were female; no data were collected on race or ethnicity). 34 (35%) patients had chordomas, 14 (14%) had alveolar soft part sarcomas, 12 (12%) had SMARCA4-deficient sarcomas or malignant rhabdoid tumours, eight (8%) had desmoplastic small round cell tumours, six (6%) had epithelioid sarcomas, four (4%) had dendritic cell sarcomas, three (3%) each had clear cell sarcomas, solitary fibrous tumours, and myxoid liposarcomas, and ten (10%) had other ultra-rare histotypes. As of data cutoff (April 11, 2022), median follow-up was 13·1 months (range 0·1-52·8; IQR 4·3-19·7). At week 12, objective response rate was 6·2% (95% CI 2·3-13·0), with no complete responses and six partial responses in the 97 patients. The most common grade 3-4 adverse events were anaemia (eight [8%] of 97), alanine aminotransferase and aspartate aminotransferase increase (six [6%]), and dyspnoea (five [5%]). 86 serious adverse events were reported in 37 patients. Five deaths due to adverse events were reported, none of which were determined to be related to treatment (two due to disease progression, two due to cancer, and one due to unknown cause)., Interpretation: Our data show the activity and manageable toxicity of pembrolizumab in some rare and ultra-rare sarcoma histotypes, and support the PD-1/PD-L1 pathway as a potential therapeutic target in selected histotypes. The completion of the basket study will provide further evidence regarding the activity and toxicity of pembrolizumab in identified rare types of cancer., Funding: The Ligue contre le cancer, INCa, MSD., Translation: For the French translation of the abstract see Supplementary Materials section., Competing Interests: Declaration of interests J-YB received support for the present research from INCa (Institut National du Cancer; French National Cancer Institute), Unicancer, Fondation ARC, and MSD (drug supply) as well as research support from MSD Avenir Foundation for unrelated research. ALC reports personal fees from Pharmamar and Deciphera. CE received consulting fees from BMS, MSD, Novartis, F Star therapeutics, and Merck Serono, as well as grant support from MSD and Merck Serono. CM was principal investigator or investigator of clinical trials for Abbvie, Aduro, Agios, Amgen, Argen-x, Astex, AstraZeneca, Aveo pharmaceuticals, Bayer, Beigene, Blueprint, BMS, Boeringer Ingelheim, Celgene, Chugai, Clovis, Daiichi Sankyo, Debiopharm, Eisai, Eos, Exelixis, Forma, Gamamabs, Genentech, Gortec, GSK, H3 biomedecine, Incyte, Innate Pharma, Janssen, Kura,Oncology, Kyowa, Lilly, Loxo, Lysarc, Lytix,Biopharma, Medimmune, Menarini, Merus, MSD, Nanobiotix, Nektar Therapeutics, Novartis, Octimet, Oncoethix, Oncopeptides AB, Orion, Pfizer, Pharmamar, Pierre Fabre, Roche, Sanofi, Servier, Sierra Oncology, Taiho, Takeda, Tesaro, and Xencor; received payment or honoraria for lectures, presentations, speakers bureaus, manuscript writing, or educational events from Amgen, Astellas, AstraZeneca, Bayer, BeiGene, BMS, Celgene, Debiopharm, Genentech, Ipsen, Janssen, Lilly, MedImmune, MSD, Novartis, Pfizer, Roche, Sanofi, and Orion; and travel grants from Janssen and AstraZeneca. PBR received consulting fees from Ipsen and travel grants from Pharmamar and Pfizer. MC reported support for attending meetings or travel from Ipsen, Janssen, Pfizer, Amgen, MSD, Biogaran, and Novartis. All other authors declare no competing interests., (Copyright © 2023 Elsevier Ltd. All rights reserved.)