Immune checkpoint inhibitors (ICIs) have significantly improved outcomes in various cancers. ICI treatment is associated with the incidence of immune-related adverse events (irAEs) which can affect any organ. Data on irAEs occurrence in relation to sex- differentiation and their association with gender-specific factors are limited. The primary objective of the G-DEFINER study is to compare the irAEs incidence in female and male patients who undergo ICI treatment. Secondary objectives are: to compare the irAEs incidence in pre- and postmenopausal female patients; to compare the irAEs incidence in female and male patients according to different clinical and gender-related factors (lifestyle, psychosocial, and behavioral factors). Exploratory objectives of the study are to compare and contrast hormonal, gene-expression, SNPs, cytokines, and gut microbiota profiles in relation to irAEs incidence in female and male patients. The patients are recruited from Fondazione IRCCS Istituto Nazionale dei Tumori, Italy, St Vincent's University Hospital, Ireland, Oslo University Hospital, Norway, and Karolinska Insitutet/Karolinska University Hospital, Sweden. The inclusion of patients was delayed due to the Covid pandemic, leading to a total of 250 patients recruited versus a planned number of 400 patients. Clinical and translational data will be analyzed. The expected outcomes are to improve the management of cancer patients treated with ICIs, leading to more personalized clinical approaches that consider potential toxicity profiles. The real world nature of the trial makes it highly applicable for timely irAEs diagnosis.