We report the case of a patient treated with nivolumab (an anti-PD-L1 antibody) for a stage IV resected melanoma who developed recurrence of steroid-refractory liver toxicity that was later discovered to be associated with acute exacerbation of chronic undiagnosed hepatitis B. The patient significantly benefited from antiviral treatment. This evidence concerns the gene CD274 and hepatitis B virus infection.