BackgroundTuberculosis (TB) remains prevalent worldwide, and anti-TB drugs are associated with drug-induced liver injury (DILI). Statins have pleiotropic effects which may decrease inflammation and achieve immunomodulation. However, few studies have investigated the pleiotropic effects of statins on the risk of DILI. The purpose of this study was to investigate whether statins prevent anti-tuberculosis DILI among active TB patients on standard anti-TB drug therapy. MethodsWe conducted a hospital-based retrospective cohort study using claims data from the Integrated Medical Database of National Taiwan University Hospital (NTUH-iMD). Patients with a positive TB culture were included. The use of statins was defined as a daily equivalent dose >0.5 mg of pitavastatin. Deterioration in liver function was evaluated according to elevated liver enzyme levels. The primary and secondary endpoints were the DILI and the severe DILI. The prognostic value of statins was evaluated by Kaplan–Meier analysis, and Cox proportional hazards models. ResultsA total of 1312 patients with a diagnosis of TB and receiving anti-TB treatment were included. During the study period, 193 patients had the DILI and 140 patients had the severe DILI. Kaplan–Meier analysis showed a significant difference between the usual statin users and controls in the DILI. In multivariable Cox proportional hazards analysis, statins showed a protective effect against the primary and secondary endpoints. In addition, the protective effect of statins showed a dose–response relationship against the DILI. ConclusionStatin treatment had a protective effect against the risk of anti-TB DILI with a positive dose–response relationship.