Background: In vitro TGF-β-induced myofibroblast differentiation is inhibited in lung fibroblasts by metformin-activation of AMPK and inhibition of TGF-β-induced NOX4 expression.Clinical experience did not prove effect of metformin (M) on IPF coure. This is a post hoc analysis of association of M use and clinically parameters: mortality and progression-free survival (PFS) over a 24-month period in IPF patients (pts) from the EMPIRE registry of IPF. Methods: A total of 3,144pts were categorized by M use. The effect of M on mortality and PFS were assessed by the Kaplan–Meier for survival function, and by the Cox proportional hazards regression analysis. Results: Out of 3,144 pts, 1880pts treated with antifibrotics, 318pts were treated with M. Differences in 1-, 2- and 5-year overall survival and PFS rates regarding M use or not were not significant. In treatment-specific groups (pirfenidone/nintedanib), no significant differences in mortality or PFS observed. The adjusted HR was significant only in pts with nintedanib, where M was associated with mortality (0.5; 0.3–1.0; p = 0.043). In the group of the pts with diabetes-717 pts, the M group had median survival longer irrespective of antifibrotic treatment, PFS was longer in the M group and in those treated with nintedanib, compared to those who were not on M, but no statistical significance. Conclusion: M use is associated with better prognosis in overall mortality in all pts and in those on nintedanib. In diabetes pts similar findings were noted. New prospective studies are needed on the effect of M on the course of IPF.