Introduction: Thymic carcinoma (TC) is a rare cancer with a poor prognosis and limited treatment options, especially after relapse. Methods: In this open-label, two-stage, multicentre, single-arm and phase II trial, the main eligibility criteria were unresectable or recurrent TC, an Eastern Cooperative Oncology Groupeperformance status of 0 or 1, progression after at least one chemo(radio)therapy and no history of autoimmune disease. Nivolumab was administered at a dose of 3 mg/kg every 2 weeks. The primary end-point was response rate (RR) as evaluated by central review using Response Evaluation Criteria In Solid Tumours (RECIST), version 1.1. The planned sample size was 15 for each stage, with a threshold RR of 5%, an expected RR of 20%, one-sided