Toripalimab, a humanized anti-PD-1 monoclonal antibody, is widely employed in the treatment of non-small cell lung cancer (NSCLC) and various other malignancies. However, there have been no reported cases linking prolonged administration of toripalimab to immune-mediated hepatitis (IMH). Typically, immune checkpoint inhibitor (ICI)-related IMH manifests within the first few weeks or months following the initiation of therapy. In this report, we presented a case of IMH in a patient with NSCLC following ~ 17 months of toripalimab treatment. IMH induced by toripalimab may occur at any time during treatment, underscoring the need for clinicians to remain vigilant in monitoring for adverse reactions. Throughout toripalimab treatment, careful attention must be paid to the symptoms, diagnosis, and pathological features of IMH. Glucocorticoids, such as methylprednisolone, can effectively reduce liver enzyme markers like aspartate aminotransferase and alanine aminotransferase in patients experiencing toripalimab-induced IMH.