ObjectiveImmune checkpoint inhibitors (ICIs) targeting programmed cell death-1/ligand-1 (PD-1/PD-L1), cytotoxic T lymphocyte antigen-4 (CTLA-4), and lymphocyte-activation gene-3 (LAG-3) have been widely studied and applied throughout the course of cancer treatment. This study aimed to provide a comprehensive profile of ICI-associated toxicity and elucidate the toxicity patterns of ICIs across different treatment lines. MethodsIn total, 155 cohorts comprising 24 539 eligible patients were included in the safety analysis. Trial name, registration number, cancer type, trial phase, clinical setting, trial design, regimen, dosing schedule, age, sex and ethnicity distributions, number of patients, number of treatment-related adverse events (trAEs), and number of treatment-related death were extracted. We defined a timeline from the neoadjuvant setting to the third-line setting. We also introduced a synthesizing principle for adverse event rates (SPAER) of immunotherapy to ensure the comparability and reliability across different treatment lines. The study protocol was registered and approved by the PROSPERO protocol review committee (CRD42021242368). ResultsAfter excluding the neoadjuvant setting group, we observed a distinct reduction in the incidence of treatment-related adverse events (trAEs) with an advancement of the line of ICI treatment. The incidence of trAEs was negatively correlated with the line of treatment, irrespective of whether monotherapy or dual-ICI combination therapy was administered. Sensitivity analyses also confirmed the coincident negative correlations. ConclusionIn summary, using a timeline-based concept centered around treatment lines, we revealed the dynamic landscape of ICI-associated toxicity and found that patients treated with ICIs during later lines of therapy may have a lower risk of trAEs.