Our research findings suggest that maprotiline enhances the antitumour immune response in mouse melanoma by inhibiting PD-L1 expression. This study may discover a new PD-L1 inhibitor, providing a novel therapeutic option for the clinical treatment of tumours.