Our findings indicate that ATG4B protein and autophagy are essential to mitigate ER stress and to prevent tunicamycin-induced epithelial apoptosis and lung fibrosis. Here, ATG4B is linked to pulmonary fibrosis.