These data demonstrate that melatonin attenuates lung fibrosis by inhibiting the expression and activation of YAP1 via binding to MT1/MT2. This evidence concerns the gene YAP1 and pulmonary fibrosis.